Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Yesterday, 08:20 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Don. Go ahead and give it a try. Use the version that Tim posted, that the version that works. But remember to change the serial_rx_buffer for the serial port that you have the GPS attached to. See...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    Yesterday, 02:17 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Ran a little longer test with SRD at 9 (100 hz): but the data looks strange for qModel = 1: utcText, tsIMUText, tsGPSText, latText, lonText, altText, pk1xText, pk1yText, pk1zText, nuk1xText, nuk1yText,...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    Yesterday, 01:09 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Nice - just loaded it up and have it running now. Agreed - don't need the debugGPS1 now - left it there - just in case :) Did leave in the other serial prints though. There are other filters to deal with. Oh, here...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    Yesterday, 03:43 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    As Tim said. Looks like in terms of timing doesn't seem to have any problem. The only issue seem to be in v3 is the kfUpdate. The data is wrong. If I run the same code as threaded it looks better. Here is a...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 11:24 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Yep - it has the correct GPS tests incorporated. My _X should have had the #9 Above #10: nope - didn't see it. I make the wrapper to imu - match yours. Also reminds me that setSRD() doesn't work as expected! -...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 10:51 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Dtime( 9, 0, 0 );" - don't see it there is Dtime(10,0,0) around it now. I updated your debug gps routine but .... Anyway here is what I got, made it v3. Can we make any changes going forward using this version? The...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 10:27 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Found it. Think you are referring to this post: https://forum.pjrc.com/threads/38533-HOWTO-Store-Projects-settings-(like-F_CPU-USB-Keyboard-layout)?highlight=DEFS.H, now I have to read it :) Think there is an...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 10:14 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    By the way I edited my v2 that I posted as an updated with the serial1 rx buffer change. I removed all the extra readGPS's :) so far its running fine. Have to take just replace your Dtime routine. Maybe I missed...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 09:10 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I'll take a look at the changes and up my serial buffer. You know with all the posts talking about serial buffer changes wish there was a way to programmatically change the buffer. I'll have to look at it after this...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 08:33 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Don't know I am too close to this now. I think it flows right. Going to play with the threaded version and see what happens.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 08:18 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Tim; Just sent an updated v2 in post 550? Did you see that one? I know I been missing posts in between typing them:)
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 07:54 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Tim. Updated to v2: 1. deleted the extra utcTime calculation 2. added back in the GPS_PORT.available test 3. Fixed your INT_PIN and printRate (not really sure how they changed). 4. My Dtimes are printing to Serial1...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 07:32 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    " IMU_RX_time = tsIMU;" tsIMU comes from the elapsedMicros timer that never gets reset which I am using just for printouts on when IMU time was received. Thought this would be the same as setting tsIMU = micros()...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 07:13 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Tim: "You posted MPU9250_INS9State_V1.zip - prior name was MPU9250_INS9State__V5? " - the MPU9250_INS9State_V1.zip should be the combined changes from the MPU9250_INS9State_V5 and the changes I made to the 6State for...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 05:55 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Thanks for the update Brian. Good luck with your grant writing :).
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 03:59 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Funny, it works if you do that in the 6-state version. Unfortunately, when you do that it misses more gps updates.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 02:43 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don, First I was going to ask you about whether the data was any good. It didn't look right to me. If you take out the rtk.updated test before the kfUpdate it works. Wanted to do a little more debugging on that...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 01:30 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Things are changing fast. Was real easy to incorporate the 9-state into the 6-state version :). However, while it looks like we got the 6-state working the 9-state is failing. When I say failing, its loosing GPS...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 12:32 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Ok. Had a little coffee in me now so here goes some answers. Don: " noticed that it's printing 5 times for each 5Hz time-stamp" - don't worry - that's on purpose and easy to change. The first is the updated gps...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 11:23 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Tim you been busy.... going to take awhile to absorb everything here. But in answer to your question - yes I merge into a an updated version later today. I did some more cleanup last night and pre-9state version. Will...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-22-2018, 01:35 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don. No go ahead and release it as version 5. I'm working on a new version right now. Ran out of ideas on how to skipped GPS updates. Seems to work ok with threaded since the GPS updates work at its own...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-21-2018, 03:25 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Morning Tim. As for your questions here goes: "what issues are you seeing that is driving you nuts? Slowdowns from output again? Or lag from the filters running too long? " - yes to all the above but I did some more...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-21-2018, 03:31 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Tim: "It does not have onboard MAG unit like the one I got - but that would just be another i2c device to connect and track - not sure if twin MAG's gives a better impression?" - all mine GPS's have a mag on board...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 11:37 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Thanks guys - still working the issues but at least its something to do. I just order a GPS with the PPS signal broken out from EBay - coming from China so probably won't be here for a month. Right now there is an...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 10:11 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Been working through the running. GPS is,nope getIMU was run anytime data was ready. Was working moving the all imu stuff of the print loop and just leave the serialportprints in. Also trying to resolve the final...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 07:38 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don-Tim Attached is version 4 to your ins6state sketch. I merged version 11 with your version 3 so they should work. Please take a look and let me know if its working ok. Just a quick question, for the update...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 03:23 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don, nice work. Just ran it and saw things changing. Unfortunately I ran v1 and then only updated the kfINS6State tab. Everything is working but I did make a couple of changes. I changed the lat/long to 10,6 in...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 01:27 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    It finally registered in my foggy head that the times are really per second, DOH!!!!! Have to stop looking at code before my second cup of coffee So the data makes sense to me now. I made a slight modification to...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 12:15 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I updated the code based on your changes. Seeing close to what I saw before in terms of Hz at 168Mhz oc'd. Our tsp are very similar and am seeing a about 40ms in tos vs. your 31ms. I had run a test with and without...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 05:45 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Interesting. I incorporated your print timings and saw almost no difference between printRates of 25 and 10 milliseconds. The only real difference I saw was between timing between serialDataOut and serialPortOut:...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-20-2018, 01:28 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Tim. I made a few minor revisions to Version 11. I put back in the IMU timestamp :) (code is actually still there for the GPS timestamp if we need it, I changed the SRD to 4 for the 9250 which is 200 hz, and I...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-19-2018, 03:38 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Took a look at changing to i2c_t3 but looks like would also have to change the MPU9250 library as well. Oh well.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-19-2018, 12:32 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I'm leaving in timestamp in for now, using it as part of the serial prints as a time stamp on IMU data from when GPS was updated - check in SerialDataOut. Just deleted GPSshows, since everything is tuned up no real...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-19-2018, 06:00 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I updated the Filters sketch to version 11 doing some code cleanup and incorporating the change to the debug routine in post 479. I did leave this piece in until with the changes to that Don is working on. Cheers...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 11:38 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I'll take care of the cleaning up the code and posting an updated working version (11). I'll work on that tomorrow. Eyes are half closed right now. Probably when Don gets his filter working we should just focus on...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 10:58 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Nice. Almost makes me want to move. Here my whole life so little change I will be moving soon. Although I've small wood burning stoves that I might be tempted at some point. With the changes haven't seen a missed...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 10:30 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    :) yes it is. I was compiled and let it run and just looked and started laughing. You beat me too it. Woodstove - man that must be nice. Anyway gave your latest version a try and it looks like you broke the code. ...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 08:31 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I will give it a try later - kind of have a three person birthday celebration today myself (3 people in family have birthdays on the 14th, 21st and the 28th). No yield in the main ino - will add that in. "As...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 06:54 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    First wish your wife a very happy birthday for me. Tell me about the snow -- turned out to be mostly a layer of ice on top of water. Still sore :) I noticed that GPS_newData wasn't reset but just wanted to be sure...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 04:23 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    If you want to give the updated threaded version a try for curiosity purposes I am attaching it. PS. No matter what I tried can't get the gps misses down. To use the ISR we just have to test on gps_newData correct -...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 12:03 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Sorry if I implied you were going to do the things in post #467 now. I was still half asleep when I wrote #468. I agree with the threading, you have to be careful. Would rather stick with the non-threaded version...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 10:48 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Wow you been busy. Don't know how you do it. Here is another test point. I made some changes to the threaded version just as a test and fell asleep so it ran over night. While I still got some misses the error rate...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-18-2018, 02:01 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Tim. Sorry about my tirade but getting frustrated with getting to work. I did some more work and ran a couple of test cases. The first was without the !rtk.updated on the imu serialPortOut (figured this would be...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 10:45 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    You are right about it never missing anymore. Was just interesting that when it did in the last version you posted was when the data was off. I was looking a the latest version in post #460, compiled and ran fine but...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 08:46 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    "This is why I was saying stopping filter updates (prints?) when GPS_newData=1; is set would help." - Agree that would probably help, i.e., prints. "the send_now() assures integrity of THAT string - but can halt the...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 08:15 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Just compiled and ran your updated version. Interesting changes you made to serial debug. Shows exactly whats going on. Noticed with the sincePrint there are more missPairs that show up that would be equivalent to...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 06:59 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Tim. As for sleep - me either, am shot. Anyway back to point. > "Using the Threaded at 96 MHz it ran no trouble?: "120355.00==120355 | 0.246000, 61720.800700 ..." - made a few other changes to match what I did...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 12:11 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Tim. Hope you got a good night sleep. I updated revb to revc that incorporates your changes. Like you said works like a charm :) Now have a better way to determine when GPS is available. Will have to get that change...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 04:51 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Ok Here is version that kinda of works same issue as before. I saw your post and looks like Chris O. has a solution. Did find a new serial command not sure it applies Serial.send_now(). Think you put it after the...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 01:34 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Ok, I think I used the right version 10 that Don posted that I updated - but I don't think lat and long are updating correctly. Also there is no test if GPS data is ready. by the way if I try and change it, I start...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-17-2018, 12:22 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Tim = working on it now. Give me about 30 minutes to test it out.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-16-2018, 10:14 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I think building up to the max speed would be the approach to take. You get to see what breaks when :). Think the faster you go the more noise you are going have to deal with from the IMU, just a guess here.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-16-2018, 09:48 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Going to give this a try and see how it goes on the T3.5. Curiosity always gets me. Agreed. Going to back to the non-threaded version and work with that version. Can't wait to see what Don comes up with. Going...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-16-2018, 09:39 PM
    Paul. Thanks for the data dump. Really interesting your discussions with Massimo Banzi. You really do need to be cloned with everything on your plate. Anyway, StreamEvent sounds interesting but not really a...
    116 replies | 25736 view(s)
  • mjs513's Avatar
    02-16-2018, 07:03 PM
    Was wondering if and when Hardware serial would be updated to make use of eventresponder, or if there is a moded version to give a try for. It is relation to defragster's last post and whats going on in the uNavAHRS...
    116 replies | 25736 view(s)
  • mjs513's Avatar
    02-16-2018, 06:32 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    To be honest - I agree with you. Right now it has become an academic exercise, and spending way too much time on it. May continue to play with it on and off but going back to the unthreaded version is the better...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-16-2018, 06:09 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi defragster. I have to mull over what you posted for a while. I did a little rearranging of code (still what to do some more) but here is some results in about 23000 hits there was 14 missed pairs and 37 times the...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-16-2018, 03:20 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Think I figured out why the prints don't always show the GPS updates. It boils down to serialportdata or for tviewer just simply takes too long, so periodically the loop thread misses the updated from the GPS thread. ...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-15-2018, 01:43 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I made one change to your pairsmissed print. I commented out the pairs missed coutd statements and used this instead: coutD.print( rtk.heading ); coutD.print( "==" ); coutD.print( GPSrxs ); ...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-15-2018, 12:37 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    "Did you catch that I upped this #30 to 100?" no I missed that one. I recopied your updated code so the change is in there anyway. I can tell you that I do see the skip in the data once in while but not like it was...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 11:58 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    "I keep picking 'Fastest' for optimization - You?" - I am on Faster. I will have to give Fastest a try. " 'PROXY_SER Serial1'" - ok learned something new. Will have to give this a try on with the serial pass...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 11:36 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Don, like Tim said. Great news you making such progress. Can't wait to see what you came up with. Tim - I am not seeing any string anomalies but I am running from Serial4 to the PC and using a small python script...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 09:38 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    defragster. First test results: 14963.00==14965 with 3 misses early on. This is with timeslice 1ms for all threads. Going to run it now with your settings. I am doing something a little different than you are to...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 08:43 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Didn't have time to solder one up, so I took the lazy way out, been busy painting. On breaks doing this :). No problem with changing the thread ID will take care of. Wonder if its the difference in the speeds we are...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 07:54 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    See we are back at it. Just went through the other thread since I've was on that one a lot. Anyway, I changed the timeslices to 1ms and things got significantly better - I implemented atomics (avoid locking) and...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 07:47 PM
    Can't resist jumping in here. No problem with moving it into its own thread. The thing that I am sure of is we will have data from two threads being consumed by the third thread. Thread locks? Atomics? Atomics not...
    359 replies | 50821 view(s)
  • mjs513's Avatar
    02-14-2018, 05:03 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don, For now I would stick with Ver10. Threaded version still needs debugging, it should be easy enough to incorporate - had a lot of experience doing that :) Mike
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 09:11 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    As usual I am wrong, the gcc compiler is at 5.7.4 (forgot copy the exact number) and there is atomic library support. After awhile it finally sunk in that load/save and other functions are not supported for double - it...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 04:04 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Caught me a good time was about to pack it in. {just wrote too much here, rambling again} I think I know what the problem is but not quite sure out to fix it. The thread is updating faster than that data is...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 01:28 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    As a test I just pulled out GPS from the threading and just read the gps with the same function (I commented out the while loop of course :) ). It ran without an over/under messages that I could see. Once in long...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-14-2018, 12:55 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    One thing I was reading was that if you have SBAS enabled it can impact the rate that data is sent. I turned it off and didn't get any more under 5hz messages. I updated with your changes just in case and didn't see...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-13-2018, 09:51 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi defragster, Thanks for helping debug this. I incorporated the changes and sure enough I am getting messages that the GPS is under 5hz periodically, not consistently just periodically (no rhyme or reason that I can...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-13-2018, 06:37 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    There was something that was bothering with the serialprintout function in the current implementation of what I last posted, i.e., lat and long would remain the same for long period of times. In printing them out...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-13-2018, 02:32 PM
    Without seeing a picture of you wiring try connecting vin to the 5v pin just as a test. I have used this sensor without a problem with a teensy 3.5 with the only difference being that I connected vin to 5v. If you are...
    2 replies | 121 view(s)
  • mjs513's Avatar
    02-13-2018, 12:59 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    I took your suggestion and changed the GPS thread to read: void readGPS(){ while(1){ if(GPS_PORT.available() && gps.read(&uBloxData)) { showGPS(); } else { hideGPS(); } ...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-13-2018, 02:57 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Actually, right now the GPS is set to continually transmit the Long/lat solution at the rate specified (5hz, 10hz, etc.). In GPS terms nothing is sent from the GPS until you send a command requesting data to be...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-13-2018, 12:50 AM
    Did you follow the link in the first post of this thread - its available on Tindie.
    30 replies | 6228 view(s)
  • mjs513's Avatar
    02-13-2018, 12:47 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    defragster. As always it is fun reading your posts - they always contain a wealth of information. Think now that I have it working and understand a little more about whats going on I am going to go back and put...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-12-2018, 01:48 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Morning Don Not sure about the way most of it was just rearranging some code. The tough part for me was figuring out the reason for the dups in lat/long and what to do about it - that took me all day. But then...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-12-2018, 01:16 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    defragster. A lot of info to absorb on no coffee but all great. By the way call me mike don't worry about he mjs. The #ifdefs grew on me so I started to make I put it back in the sketches. That was the...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-12-2018, 04:28 AM
    Thanks Greg, didn't notice that I could order them pre-flashed. Will have to add this to my list. Mike
    4 replies | 211 view(s)
  • mjs513's Avatar
    02-12-2018, 04:27 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don, Glad things are looking good with your filter, can't wait to see what you come up with. Your going to make me finish the rc car test bed I was putting together for rtk and waypoint nav testing to do this...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-12-2018, 01:07 AM
    I think this is the add-on board you are using from onehorse - https://www.tindie.com/products/onehorse/nrf52-add-on-for-butterfly-and-teensy/. This is a neat project. It overcomes the major issue I always had with...
    4 replies | 211 view(s)
  • mjs513's Avatar
    02-12-2018, 12:51 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Don. Will have to take a look at the scripts tomorrow. Spent the day in getting fiterv10 converted to a threaded version (GPS thread and IMU thread). Finally got it working the way I wanted (at least to a point). ...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-10-2018, 10:31 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Defragster. Did and changed the int pin and gps port (actually put it back to GPS_Start) which is 1. Debugged to point that I am getting IMU data but no GPS data - utcTime and lat are always zero. Also test with...
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-10-2018, 09:54 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Ok, I am stuck. Not sure what happened but I am not getting any updates with the new sketch. Can't figure it out - going to take a break.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-10-2018, 03:57 PM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Don If you look in the PVT message there is a field for nano seconds.
    572 replies | 25460 view(s)
  • mjs513's Avatar
    02-10-2018, 02:42 AM
    mjs513 replied to a thread uNav AHRS in General Discussion
    Hi Don, Don't think iTOW goes down to fractions of a second. Had the same experience. Here is something that may help. Its from the ublox m8n receiver spec. I have a test built in to avoid the duplicates and...
    572 replies | 25460 view(s)
More Activity
About mjs513

Basic Information

About mjs513
Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

Statistics


Total Posts
Total Posts
709
Posts Per Day
0.53
Last Post
uNav AHRS Yesterday 08:20 PM
General Information
Last Activity
Today 03:01 PM
Join Date
07-01-2014