So I just got my quad together today and after futzing with the motor arming (and never getting them to disarm) I remembered that the many videos by the grasp labs show the quad being thrown into the air not running and it will spin up the motors and auto level and wait for commands (in their case the commands are built in the programming)
Has this same sort of setup been done with the MultiWii code? I searched but wasn't finding what I was looking for. If it hasn't, would it be something anyone other than me would want? I think I could probably do the code as it should just be a measure of a freefall from the accelerometers and then trigger a routine to level. But coding isn't my strong point although I am much better than I used to be
Auto arming motors and leveling when thrown
Re: Auto arming motors and leveling when thrown
Yeah, this would be cool. But I fear other priorities will be set. Anyway: +1!
Re: Auto arming motors and leveling when thrown
If it hasn't been done, I will work on it when I can. I've got a lot of IMU experience with a motorcycle datalogging project and should be able to do this in between work on my ARM based project. Anyone willing to help would be great though
Re: Auto arming motors and leveling when thrown
The code is in MultiWii Controller already, you have to define one option witch allows to arm copter with motors stopped and they will spin only when you rise throttle. If i remember the code is #define motors_stop . I tested the throwing and somewhere on yaw code is an overflow. Here is the video:
http://www.youtube.com/watch?v=bCrAMUykk1o
http://www.youtube.com/watch?v=bCrAMUykk1o
Re: Auto arming motors and leveling when thrown
jemmicat wrote:So I just got my quad together today and after futzing with the motor arming (and never getting them to disarm) I remembered that the many videos by the grasp labs show the quad being thrown into the air not running and it will spin up the motors and auto level and wait for commands (in their case the commands are built in the programming)
Has this same sort of setup been done with the MultiWii code? I searched but wasn't finding what I was looking for. If it hasn't, would it be something anyone other than me would want? I think I could probably do the code as it should just be a measure of a freefall from the accelerometers and then trigger a routine to level. But coding isn't my strong point although I am much better than I used to be
inertial measurement of the z axe aka double integration of the accelerometer values (in earth frame)
when you see the rel. height starts to decline arm the motors and set the throotle to a pre-defined value.
the value will be overwritten when the user moves the throttle...
pretty simple - but you accurate acc values
