Hey everyone.  I recently finished a new AHRS (see the picture below).  The firmware is open-source, and I thought it might be interesting to you guys.  The firmware supports EKF-based Euler Angle and Quaternion estimation, depending on what you want to use (you can estimate using euler angles if you want to limit the magnetometer so that it only affects yaw).  For anyone who wants to write their own estimation code, the UM6 firmware might be a good starting place.

 

Sourceforge project: https://sourceforge.net/projects/um6firmware/


The source code can be checked out using SVN with:

svn co https://um6firmware.svn.sourceforge.net/svnroot/um6firmware/trunk

 

UM6_quarter_small.JPG

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Is the source code for the most recent firmware (UM3?) and version 3.0.x of the CHR Serial interface program available anywhere?  Seems like the Sourceforge repositories are a bit out of date.

  • Attitude estimation ONLY 3axis ACCELEROMETERS.

     

    Dear DIYdrones friends,

    I'm looking for an Attitude Estimation algorithm, and only have 3 axis accelerometers. I know this will may not be optimal, and will be slow. But, if you know an algorithm, forum topic, or wiki how to set this up for my limited arduino hardware please tell me. 

     

    Thanks!

     

  • I'm probably going to be working on something similar over the next few months. Maybe even with the 6DM that I bought. If I ever have something to show for my efforts, will let you know. :)

  • I noticed your firmware was developed with Raisonance Ride7?  The produced hex file appears to be greater than 32KB, the limit for their low cost R-Link Standard for debugging.  Is it true that you may not be able to debug programs greater than 32KB, but program uploading with rlink std does not have that limitation?  Are you using the R-Link Pro?  BTW, thank you for posting your code, real operational EKF code like this (especially with your selection of sensors...which I'm fond of) can be a great learning tool for innumberable students/hobbyists/professionals.
  • As an added note, the UM6 doesn't do anything to compensate for centripetal acceleration right now.  There are a bunch of extra pins routed out through two 2x6 2mm headers on the bottom of the sensor, so GPS and airspeed could easily be brought in.  If anyone wants to work on centripetal compensation code, I'll give you a UM6 and create a SVN branch for you.  Let me know if you are interested.
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @DanielChiaJH: @a1k0n @diyrobocars @circuitlaunch And here's the final showdown! Video courtesy of @chr1sa I think I was a little faste…
22 hours ago
DIY Robocars via Twitter
RT @DanielChiaJH: @a1k0n @armand_dpl @SmallpixelCar @diyrobocars @circuitlaunch I use @foxglovedev Foxglove Studio for my visualization nee…
22 hours ago
DIY Robocars via Twitter
22 hours ago
DIY Robocars via Twitter
RT @a1k0n: @DanielChiaJH @diyrobocars @circuitlaunch Here's my car's view of that race. About 8.4 second lap times for laps 2 and 3... both…
Monday
DIY Robocars via Twitter
RT @DanielChiaJH: Great racing against @a1k0n today at @diyrobocars! Pretty cool to both break sun-9s at the track today I think I got very…
Sunday
DIY Robocars via Twitter
Broadcasting the @circuitlaunch race live now at https://m.twitch.tv/diyrobocars Races begin around 2:00pm PT
Oct 1
DIY Robocars via Twitter
RT @a1k0n: ran a huge number of hyperparameter tuning experiments yesterday; now I can train a new policy, far with better quality, in 15 m…
Oct 1
DIY Robocars via Twitter
RT @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Sep 26
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Sep 26
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Sep 26
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
More…