Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • defragster's Avatar
    Today, 07:43 AM
    I've not seen a compendium PDF and there is no WiKi or other over view. Depending on ability to read code, or interest in learning, there are header and source files installed locally by TeensyDuino. With a...
    4 replies | 81 view(s)
  • defragster's Avatar
    Today, 12:07 AM
    defragster replied to a thread Teensy Qt in General Discussion
    I wasn't sure how to read that part - I thought that was referring to the " has no 'PortName' registry property" items. Very Odd - I got one each of the 3 Beta units for T_3.6 and T_3.5 before KS units shipped and used...
    407 replies | 97960 view(s)
  • defragster's Avatar
    Yesterday, 08:02 PM
    defragster replied to a thread Teensy Qt in General Discussion
    Koromix: BTW the next release of TD_1.42 b4 is expected to have the FULL RAM on the T_3.5 enabled up to 256 KB from the current value. Will that require a change in TyCommander to allow that to work?
    407 replies | 97960 view(s)
  • defragster's Avatar
    Yesterday, 08:00 PM
    defragster replied to a thread Teensy Qt in General Discussion
    Just for reference on my Win 10 Pro x64 machine. I started TyCommander without the K66 Proto Teensy 3.6 plugged in. I opened the app log - Full view. There was some noise about 'Portname'. I hit CLEAR because I...
    407 replies | 97960 view(s)
  • defragster's Avatar
    Yesterday, 09:31 AM
    Not sure what a 4051 is - but feeding it 5V? Is everything touching the T_3.6 at or under 3.3V? If the Teensy is leaving it may not have enough supply ? ... what if a second set of PWR and GND wires were run...
    5 replies | 128 view(s)
  • defragster's Avatar
    Yesterday, 09:14 AM
    Indeed - when specified the T_IRQ disables touch until the INT fires to enable a transfer. So rather than some bytes of SPI transfer to read the touch Pressure is < MIN and reporting no touch { though I did drop a few...
    101 replies | 3602 view(s)
  • defragster's Avatar
    04-24-2018, 07:34 PM
    defragster replied to a thread Teensy Qt in General Discussion
    Under tools menu is show application log - copy the text from that to a text file and post that. There is a write once spot in CPU memory that PJRC puts a serial number - unless you find out how to set that to a...
    407 replies | 97960 view(s)
  • defragster's Avatar
    04-24-2018, 05:33 PM
    That generally works and is similar to how the uBlox system in use works. Only problem is when loop() is busy too long, that is where inadvertent calls to delay()/yield() can help serialEvent(). That can happen if...
    11 replies | 205 view(s)
  • defragster's Avatar
    04-24-2018, 05:15 PM
    defragster replied to a thread Teensy Qt in General Discussion
    Odd - does it report a serial#? I'm running TyCommander 0.8.8-11, not sure if a newer has posted. Useful info for Koromix if posted a Text copy of :: View / Show Application Log. It will give some indication of...
    407 replies | 97960 view(s)
  • defragster's Avatar
    04-24-2018, 05:09 PM
    Odd with this: #include <XPT2046_Touchscreen.h> and this: #define TIRQ_PIN 2 as a param here: XPT2046_Touchscreen ts(TOUCH_CS, TIRQ_PIN); It should set up to work - as long as that pin is not used or controlled by...
    101 replies | 3602 view(s)
  • defragster's Avatar
    04-24-2018, 08:31 AM
    Off topic - but perhaps useful: With GPS messages only 5-10 Hz and perhaps ~100 bytes - increasing the default receive size allows a full incoming message to be buffered without intermediate reads. Message can take...
    11 replies | 205 view(s)
  • defragster's Avatar
    04-24-2018, 07:19 AM
    Cool - I should order one of those SFun MPU9250's and connect up a display and give it a try. ... if only to give a fully functional map function done a cool array way :) The view I saw of your UI was very nice -...
    101 replies | 3602 view(s)
  • defragster's Avatar
    04-24-2018, 02:48 AM
    Don't ignore the T_IRQ code - it is awesome ... I did that ...
    101 replies | 3602 view(s)
  • defragster's Avatar
    04-23-2018, 09:25 PM
    serialEvent() is not magic - it is not interrupt driven, it is just called more often - I know of these:: Exiting each loop() iteration, every call of delay() or yield() . If those events don't happen - serialEvent()...
    11 replies | 205 view(s)
  • defragster's Avatar
    04-23-2018, 09:18 PM
    defragster replied to a thread uNav INS in General Discussion
    Saw that - not sure how that would help having 1000 or 1000000 processor interrupts each second - if they are triggering the inbuilt timer it is hardware and not bad - but that give freq. With more information comes...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-23-2018, 09:10 PM
    Looking at the table - higher frequencies require fewer counts between triggering. I just did a quick web search and found that those selected pins are unique. Not sure if that is better or worse, but noteworthy. It...
    5 replies | 84 view(s)
  • defragster's Avatar
    04-23-2018, 09:00 PM
    On the page linked below TABLE :: PWM Resolution (Teensy LC, 3.0 - 3.6) I see this:: On Teensy 3.6, pins 16 & 17 operate from a fixed 16 MHz clock. For these pins, the ideal frequency is one third of the ideal PWM...
    5 replies | 84 view(s)
  • defragster's Avatar
    04-23-2018, 12:09 PM
    defragster replied to a thread Fried Audioboard in Audio Projects
    Others can confirm - but reading: https://www.pjrc.com/store/teensy3_audio.html It notes that: "It supports stereo headphone and stereo line-level output" and "output high quality audio to the headphones or line out...
    4 replies | 96 view(s)
  • defragster's Avatar
    04-23-2018, 11:31 AM
    It might also be that USB port saw overcurrent and disabled it. Shutdown and restart will restore functionality of that port if that is the case. Toward the note from Thierry ... tapping Program Button too much in...
    12 replies | 186 view(s)
  • defragster's Avatar
    04-23-2018, 11:20 AM
    defragster replied to a thread Fried Audioboard in Audio Projects
    Would be helpful to know if any other pins were used - or parts connected, and perhaps some photos showing how it was attached. Connections to audio out jack, or other in/out signal pads on Audio board? Any use of any...
    4 replies | 96 view(s)
  • defragster's Avatar
    04-22-2018, 08:23 AM
    Audio moves SCLK to pin_14 for SPI :: SD Card USED::7, 10, 12, 14 Shareable::7, 12, 14 (other SPI chips) It does use PIN_13 for RX of ?? - but if that 'RX' isn't running the light won't indicate. My guess was a...
    5 replies | 97 view(s)
  • defragster's Avatar
    04-22-2018, 07:20 AM
    Please re-read prior post. ... No, only if a sketch is programmed to power the LED will it light (unless the pin is connected and powered externally). When new from package until re-programmed it will power up and...
    5 replies | 97 view(s)
  • defragster's Avatar
    04-22-2018, 07:04 AM
    There is no default LED lit on a T_3.6. Please show your code - unless the program enables the pin 13 output and sets it high the LED is expected to stay off. Please try a simple blink program to confirm the program...
    5 replies | 97 view(s)
  • defragster's Avatar
    04-21-2018, 10:53 PM
    That was the results of two separate compile and uploads. I put a while(1); to stop it at the end of loop() - ran at 96 then 180. I didn't look at the math involved - just wanted to compare the FPU results. ...
    16 replies | 262 view(s)
  • defragster's Avatar
    04-21-2018, 09:03 AM
    Nice - the sketch ran as posted! Yes, the T_3.6 will be faster ... Here is what a T_3.6 looks like with Native FPU first at 96 MHz then again at 180 MHz: Removed Result values that were all the same. Note: a...
    16 replies | 262 view(s)
  • defragster's Avatar
    04-21-2018, 06:27 AM
    Thanks GremlinWrangler - that measurement thought occurred to me ... but didn't want to imply I knew why to say that.
    10 replies | 158 view(s)
  • defragster's Avatar
    208 replies | 66760 view(s)
  • defragster's Avatar
    04-21-2018, 06:05 AM
    AFAIK- yes for data transfer lines to have usable value the devices need to have a common ground. What other havoc might result I can't address should power paths cross - but data only lines and shared GND seem the...
    10 replies | 158 view(s)
  • defragster's Avatar
    04-21-2018, 02:03 AM
    Yeah - casting can be necessary - still a bummer to have to hack them in - especially when it gets involved with so many.
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-21-2018, 01:09 AM
    Bummer on added forcing (casts). That is all I can see as useful - other than maybe allocated size of the CB - too much gets in the way and slows down - but when something is working funny - it just takes that one...
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-21-2018, 01:04 AM
    Interesting the PPS is triggered 90 ns after the true start of the second - but it is busy doing a lot of math and then has to hit the mark. The messages used on the other thread come out with a timestamp and have a...
    6 replies | 149 view(s)
  • defragster's Avatar
    04-21-2018, 12:51 AM
    Is all the SPI R/W in the _isr() ? If so an alternate LC::spi0_isr() would need everything rewritten. But just one #ifdef :)
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-21-2018, 12:48 AM
    It this with T_3.2 as Master? At what F_CPU? For F_CPU at 96 then F_BUS is 48 and it won't work over 24 - per the spec. It might hit SPI of 30 MHz with OC to F_CPU==120 and F_BUS==60?
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-21-2018, 12:46 AM
    H:# would be H:3 for Head at 3 and T:# would be T:1 for Tail at 1. That would show it wraps over the end
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-21-2018, 12:44 AM
    LC with less RAM and speed would run at slower speeds and the RAM hit would be higher % - so maybe not worth too much trouble? It would work for Master as you use standard SPI# routines right? It would "just"...
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-21-2018, 12:32 AM
    Good. For debug it might be fun to show H&T vals? Assume this won't be used much unless somebody wants to see why their numbers aren't making sense.
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-20-2018, 08:38 PM
    That's the errata issue thread I was referring to. That only affects when multiple devices are on SPI bus with alternate polarity setup between access. Might be interesting to do a test with alternate 'mode'...
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-20-2018, 08:34 PM
    That looks close enough to what I put out. Is that printed HEAD>Tail or 'as stored'? Might be FUN to know current Head/Tail up with the count? That would allow seeing the stored order?
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-20-2018, 08:19 PM
    There is another issue changing polarity between devices - but with a fixed working polarity setup between the devices - those should not be issues here? <edit> Unless the current polarity is not being compatible -...
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-20-2018, 08:16 PM
    On another thread I've been using an isr() on the PPS output from uBlox - most 'affordable' models don't have a TXCO, including the M8N used there. But AFAIK the PPS is driven by the GPS system not a local clock for...
    6 replies | 149 view(s)
  • defragster's Avatar
    04-20-2018, 08:00 PM
    I figured it was released - but as Paul noted the other parts didn't seem right and I figured that was the first step in getting that sorted out. This sounds not unlike like the T_3.6 I swapped with PJRC. My unit had...
    6 replies | 149 view(s)
  • defragster's Avatar
    04-20-2018, 07:01 AM
    Just updated the posted text :: T_3.6 has a built in reset -Power up then Press and hold the Program button for a timed 15 seconds - THEN RELEASE the button. The release was implied by 'timed' - was the 15 second...
    6 replies | 149 view(s)
  • defragster's Avatar
    04-20-2018, 03:04 AM
    Assuming nothing in this post is new or untried and none of it works? Is everything unplugged that can be? T_3.6 has a built in reset -Power up then Press and hold the Program button for a timed 15 seconds - THEN...
    6 replies | 149 view(s)
  • defragster's Avatar
    04-19-2018, 07:22 PM
    defragster replied to a thread uNav INS in General Discussion
    The posted description as I scanned it made it seems like it had some element of it so mentioned it. As far as 'dt' - think using a constant for that would be best - of course that constant changes with SRD...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-19-2018, 07:53 AM
    defragster replied to a thread uNav INS in General Discussion
    Here was a post today on onehorse github: If there is a Gimbal lock in RPY(Roll, Pitch, Yaw)? issues/267 Yeah - some time back my stationary unit was showing crazy heading updates - and Don made note for me.
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-18-2018, 10:56 PM
    ... always room for adjustment - take first from whichever is more filled? isr() can go secondary if first is .
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-18-2018, 10:28 PM
    defragster replied to a thread uNav INS in General Discussion
    Mike: stationary GPS is no help for heading Don will confirm. As far as the 'weird coupling' - indeed this may be what was noted on the PJRC PropShield thread in beta. Not sure if it offers an clues? I ran into...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-18-2018, 10:20 PM
    I don't see this since I always install IDE with unzip to a version specific directory on a secondary drive - so I can't say for sure where it is being blocked. "C:\Program Files ..." is a protected folder to keep...
    5 replies | 194 view(s)
  • defragster's Avatar
    04-18-2018, 09:56 PM
    Okay so that the <edit> was the wrong read ... indeed SPI write should be fast - though at 12 Mbit USB won't be slow - and that incoming data won't be stopped unless speed is controlled by sender? The incoming data...
    117 replies | 4483 view(s)
  • defragster's Avatar
    04-18-2018, 07:32 PM
    If your loop() is running not doing much else an elapsedMillis variable could be used - at least as a test to not use the interrupt. It is possible the interrupt is doing too much - taking too long in preparing the...
    4 replies | 85 view(s)
  • defragster's Avatar
    04-18-2018, 06:22 PM
    Not having read anything other than what led to what I posted ... speculation ... Could be comingling the SPI writes and COM5 transfers? They likely don't run at the same speed - and the overhead of incoming USB...
    117 replies | 4483 view(s)
  • defragster's Avatar
    04-18-2018, 05:14 PM
    Cool - seems clean and fast and robust. Will be interesting when the loop() code is trying to do something productive or useful with that data or for creating the data to send. That would test the timing of the flow a...
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-18-2018, 04:27 PM
    Without some 'atomic' overhead - best to assume nothing is really atomic, but write of constant int32_t would be closest for a simple write in one instruction, but if testing then writing or reading setting/changing,...
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-18-2018, 04:09 PM
    defragster replied to a thread uNav INS in General Discussion
    Don: Did a change get made to skip integrating IMU data when (-1 == readSensor()) ? Maybe add a { qBlink(); delay(75); qBlink(); delay(50); qBlink(); delay(75); } in that case for visual trouble indicator. Would be...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-18-2018, 03:38 PM
    That seems good and useful tonton81 if the 'sketch' callback takes ownership _active=1 before the isr() fires it will push isr() to the second CA, if not then the isr() will get in and update first CA and leave before...
    1464 replies | 31301 view(s)
  • defragster's Avatar
    04-18-2018, 03:28 PM
    It seems your post 79 dialog is normal and good. To support USB the Teensy needs to be running USB code, unlike UNO it doesn't have a USB hardware interface chip that survives reboot and is always present. When any...
    117 replies | 4483 view(s)
  • defragster's Avatar
    04-18-2018, 01:38 AM
    defragster replied to a thread uNav INS in General Discussion
    Interesting - I wonder if "Imu.readSensor();" returned an error? Noted the other day it returns -1 on failure to read - it returns before altering stored values. But checking that return would be the first step before...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-17-2018, 11:31 PM
    programmed as NO_USB should only work with a BUTTON push to program? USB battery bank will work - with programmed delay using the provided && millis() cod. My use is generally USB_Type Serial - - HID usage was...
    117 replies | 4483 view(s)
  • defragster's Avatar
    04-17-2018, 10:16 PM
    If USB connection not made then "while(!Serial)" will cause it to sit waiting until it is made. I typically use something like :: while(!Serial && millis()<2000); That will wait 2 seconds for Serial to connect...
    117 replies | 4483 view(s)
  • defragster's Avatar
    04-17-2018, 07:19 AM
    buf ... Makes sense ... 14% RAM left seems like it should work. With a delay(10) the LED should be dimmer than always on - if the intensity is not changing then I suspect it is not HUNG - but running 'silent' -...
    9 replies | 209 view(s)
  • defragster's Avatar
    04-17-2018, 06:21 AM
    Code can be pasted directly and usably with the "#" CODE tag wrapper on the reply bar. Is 'buf;' this large on purpose to trigger the problem? Interesting 2 bytes larger and it fails on first use - does it ever hang...
    9 replies | 209 view(s)
  • defragster's Avatar
    04-16-2018, 09:11 PM
    defragster replied to a thread uNav INS in General Discussion
    I meant "details in a quick scan" of this thread to confirm if it is i2c? - didn't look at the library. This would be a place TeensyThreads could help - but only if it is on a separate i2c bus? ... same with the i2c_t3...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-16-2018, 06:25 PM
    defragster replied to a thread uNav INS in General Discussion
    Such long delays won't work - Ick. Don't see details in a quick scan . . . Assuming that is i2c? Would be a great test for the i2c_t3 Interrupt/DMA callback on completion code. Or put it on Slave and get reports when...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-16-2018, 07:16 AM
    Paul: Any timeline idea for a Beta 4 update to TD 1.42? I've been seeing a 'blip' in Teensy timing SerMon goes away ( TyComm or the 1.42:teensy_sermon repros. ) I need to make a simple sketch where I can reproduce...
    42 replies | 6003 view(s)
  • defragster's Avatar
    04-16-2018, 06:54 AM
    defragster replied to a thread uNav INS in General Discussion
    Just closed IDE w/1.41 and went to Beta 1.42 - had to bump 180 MHz CPU to F_BUS 90 to run with my selected i2c speed of 2400000. So then MPU9250 came up running - closing the IDE - TeensySerMon in the beta indeed...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-16-2018, 03:40 AM
    Andy - with a simple Blink programmed as USB_Serial it should work - with a single Teensy online connected should always work with a clean Arduino IDE and proper TeensyDuino install in place. The sketch at this post...
    16 replies | 280 view(s)
  • defragster's Avatar
    04-16-2018, 02:35 AM
    defragster replied to a thread uNav INS in General Discussion
    First set shows IMU# coming up short which explains the DOUBLED's - the second keeps up as it should. For 168 MHz - it should be keeping up better? Something is dragging it down doing too much - that on my 180 MHz...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-15-2018, 06:27 PM
    I did that graphic output to see how it works - apparently that is not how it is stored though. Would have been ice to just write the code once and be able to PASS IN a CB and have it show the results - I still don't...
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-15-2018, 05:31 PM
    defragster replied to a thread uNav INS in General Discussion
    Mike - My T-3.6 is running at 180 MHz and keeping up with 500 Hz IMU. What speed is your T_3.5 running at? Only processing 100 Hz IMU safely is a big drop! I'd say it is time to get a T_3.6 running there so you have...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-15-2018, 05:22 PM
    defragster replied to a thread uNav INS in General Discussion
    200 Hz is way too fast for the setup in use. On prior - I knew it was not running at 100 given the printed values. This will compromise the Filter results as the data coming in is not all being processed, some large...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-15-2018, 05:05 PM
    That was a demonstration AND a question. Indeed it demonstrates the type limits the average value as would be expected, and it would be nice to have a way to DUMP the LIST for simple CB. Safe for ISR using what...
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-15-2018, 07:51 AM
    I was wondering what push_front .vs. push_back did to the stored data. So below find a sample sketch showing the effect. I wasn't sure if one might overwrite values opposite of the other. Looking at the code it...
    65 replies | 1910 view(s)
  • defragster's Avatar
    04-15-2018, 06:13 AM
    defragster replied to a thread uNav INS in General Discussion
    Mike - if interested - here is the code behind the update with the count in the IMU_isr() { that func should really have _isr in the name } I closed TyCommander a bit - machine being sluggish - 42 Browser pages...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-15-2018, 04:13 AM
    defragster replied to a thread uNav INS in General Discussion
    I put the IMU Counter in. I see what is happening with the NEW isr based dt! Not on the start of EVERY GPS second - but it seems ONLY on the start of the GPS second. A second IMU interrupt is triggering before...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-15-2018, 01:40 AM
    defragster replied to a thread uNav INS in General Discussion
    SRD==9? That post was showing funny #'s? Something wasn't right. Found the count issue - copy paste error - here are good one - except I caught another DOUBLE MAX on NEW dt??? That needs to be checked!: I...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-15-2018, 12:09 AM
    defragster replied to a thread uNav INS in General Discussion
    That is shown in the Master Debug output as noted - the IMU is coming in too fast to be processed sequentially and it overwhelming the Teensy. Indeed the IMU# should be STEADY and should closely match what the SRD...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-14-2018, 10:24 PM
    defragster replied to a thread uNav INS in General Discussion
    My unit is just online to provide a data stream for the - sitting stable. So I've not ever monitored YPR. If referring to the "IMUdt:0.20594513" on the Loop# line - that was just for example purposes - it is...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-14-2018, 04:35 PM
    defragster replied to a thread uNav INS in General Discussion
    Here is what I got from Don with my various changes - including the core MPU9250 files as I have them: File names unchanged so you could do a DIFF. One thing I did not do was add the counter to IMU int code to...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-14-2018, 07:13 AM
    WMXZ mentions a valid way that I used when using multiple of the same device T_3.1 or T_3.2: Verify and Button on the desired Teensy. But if doing mixed Teensy - Extra "instances" allows each IDE to maintain separate...
    5 replies | 130 view(s)
  • defragster's Avatar
    04-14-2018, 04:39 AM
    defragster replied to a thread uNav INS in General Discussion
    I should have posted my whole _Ver6.001 - ... who knows what kind of a monster you have created . . . from the crumbs I left. Not sure why it would alter anything - unless you picked up the new dt and the prior dt...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-14-2018, 12:52 AM
    defragster replied to a thread uNav INS in General Discussion
    No - just that quick edit from where I was to confirm the time Mag data was changed.
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-14-2018, 12:51 AM
    For unique code on two Teensy's - start the IDE TWICE - don't use File OPEN from a single IDE to get the second sketch is another key factor. Then the Beta 1.42 works okay - but not as nice as TyCommander - as noted.
    5 replies | 130 view(s)
  • defragster's Avatar
    04-14-2018, 12:46 AM
    defragster replied to a thread uNav INS in General Discussion
    With these present before loop(): uint32_t Mcnt = 0; uint32_t McntN = 0; Here is the gpsDebug() code: void debugGPS( ) { static uint32_t cctLast = 0;
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-13-2018, 04:30 PM
    defragster replied to a thread uNav INS in General Discussion
    Cool - glad I posted a complete working update of the diffs! Are you watching your Loop#? Per my posts it is a good ready reference for catching time cost/value of changes - esp. on your T_3.5. Calling...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-13-2018, 09:26 AM
    defragster replied to a thread uNav INS in General Discussion
    I have a change for MPU9250 - saves a few cycles and provides MagD=> i.e. MagDelta true or false. This:: -----Loop#:595207 IMU#:502 >> 1Sec:100272072 >> IMUcc:127208 >> Mcnt:93 & !Mcnt:409 .vs. :: -----Loop#:487220...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-13-2018, 06:58 AM
    tonton81 - I already posted the LC cannot be Slave with its alternate register layout differing from the T_3.x hardcoding as done.
    16 replies | 2141 view(s)
  • defragster's Avatar
    04-13-2018, 06:43 AM
    defragster replied to a thread uNav INS in General Discussion
    Did a quick test on MAG changes - it is returned each time and updated at 95 Hz { this is with my unit sitting stationary }. -----Loop#:487220 IMU#:500 >> 1Sec:99924712 >> IMUcc:137661 >> Mcnt:95 & !Mcnt:405 This...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-13-2018, 05:51 AM
    defragster replied to a thread uNav INS in General Discussion
    It looks like this gets all the device values each time in a single read: /* reads the most current data from MPU9250 and stores in buffer */ int MPU9250::readSensor() { It gets 10 values from 20 bytes. ...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-12-2018, 10:15 PM
    defragster replied to a thread uNav INS in General Discussion
    I was wondering when lower freq MAG data was read ... but had not looked Easiest compare to do would be a counter on IMU data int's. Record time and do IMU_iCnt++. Back in loop():: if (1+IMU_iCnt_last !=...
    621 replies | 13101 view(s)
  • defragster's Avatar
    04-12-2018, 03:57 PM
    defragster replied to a thread uNav INS in General Discussion
    Correcting or catching oversized dt is possible - meant to post that before heading to bed. If that long many samples missed probably better to skip and start fresh as something went wrong?
    621 replies | 13101 view(s)
More Activity
About defragster

Basic Information

Statistics


Total Posts
Total Posts
6,110
Posts Per Day
5.24
Last Post
Is there a reference for Teensy routines that aren't part of Arduino? Today 07:43 AM
General Information
Last Activity
Today 07:52 AM
Join Date
02-15-2015