Position hold using Accelerometer and Gyro
Position hold using Accelerometer and Gyro
Is it possible to lock copter position using accelerometer and gyro ?
Re: Position hold using Accelerometer and Gyro
???
yes - but not with 8 bit.
you need an fpu.
yes - but not with 8 bit.
you need an fpu.
Re: Position hold using Accelerometer and Gyro
no, because you don't have an "absolute" reference.
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: Position hold using Accelerometer and Gyro
Personally, I believe it depends upon how Position hold or Position holding is defined. If we are talking about Autonomous holding, then no. That would require GPS however, if we are talking pilot assisted, then that is a totally difference story.
Re: Position hold using Accelerometer and Gyro
alll wrote:no, because you don't have an "absolute" reference.
questionable.
their is no need for absolute referencing.
all is relative.
doing sw only accelerometer integration is like creating a flyaway copter.
the drift needs to be corrected with another source.
-
- Posts: 6
- Joined: Wed Apr 17, 2013 1:03 pm
Re: Position hold using Accelerometer and Gyro
The answer is: No you can't.
You can integrate the acceleration over time to get velocity and integrate the velocity over time to get position. The problem is that there is always error involved and you are integrating the error as well. So after a few seconds, the error grows to an unacceptable level. Since we are double integrating, it's even worse.
You can integrate the acceleration over time to get velocity and integrate the velocity over time to get position. The problem is that there is always error involved and you are integrating the error as well. So after a few seconds, the error grows to an unacceptable level. Since we are double integrating, it's even worse.
Re: Position hold using Accelerometer and Gyro
Yes, it's possible
but you need to apply corrections from absolute position sensor (gps) to remove drift after integration...
viewtopic.php?f=8&t=2503&start=80
And I can confirm that is also possible to do on atmega chips and I have already done it some months ago, but still need some tuning weight of acc/gps complementary filters...
cycleTime in peak no more than 5-6ms...
Also probably you know that Ardu 3.0 released with their own INS based on acc+gps+baro (works on atmega also, i.e. APM 2.5 board) and according to video demo it works great!
http://www.youtube.com/watch?feature=pl ... yPqHeg2v0Y

viewtopic.php?f=8&t=2503&start=80
And I can confirm that is also possible to do on atmega chips and I have already done it some months ago, but still need some tuning weight of acc/gps complementary filters...
cycleTime in peak no more than 5-6ms...
Also probably you know that Ardu 3.0 released with their own INS based on acc+gps+baro (works on atmega also, i.e. APM 2.5 board) and according to video demo it works great!
http://www.youtube.com/watch?feature=pl ... yPqHeg2v0Y
-
- Posts: 244
- Joined: Sat Mar 23, 2013 12:34 am
- Location: Australia
Re: Position hold using Accelerometer and Gyro
Dude, that looks awesome! Just wondering when those nice MegaPirateNG guys are going to get porting again.. unless you are saying ArduCopter now supports Mega2560 out of the box?
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: Position hold using Accelerometer and Gyro
felixrising wrote:Dude, that looks awesome! Just wondering when those nice MegaPirateNG guys are going to get porting again.. unless you are saying ArduCopter now supports Mega2560 out of the box?
Yes, there has not been an update since Apr 30, 2013, wonder what is happening?