https://wiki.bitcraze.io/projects:crazy ... itude_hold
this site describes about hover mode in Crazyflie2.0
So, I want to know where code about hover mode is.
I expect to help by anyone
Crazyflie2.0 Hovering code
Re: Crazyflie2.0 Hovering code
What part are you interested in, the client side or the crazyflie side? There is a quite long chain of code involved in altitude hold from the gamepad handling down to the position controller in the Crazyflie.
Re: Crazyflie2.0 Hovering code
Thanks for the answer. I uploaded the px4 firmware to Crazy Fly.
And I succeeded in putting the motion capturing data in the local position pose.
So, I tried to find the hovering mode in qgc, but I could not find hovering mode even if I tried all flight modes.
I'll be waiting for your help.
And I succeeded in putting the motion capturing data in the local position pose.
So, I tried to find the hovering mode in qgc, but I could not find hovering mode even if I tried all flight modes.
I'll be waiting for your help.
Re: Crazyflie2.0 Hovering code
The PX4 firmware port was contributed and I have no idea how it is implemented so I am not going to be able to help.
The altitude hold described in our wiki is implemented in the Bitcraze crazyflie-firmware (the stock one) and the stock Crazyflie-client. Maybe someone passing-by will know about PX4, otherwise I suggest you try asking the PX4 project or the person responsible for the port.
By the way, out of curiosity, what is the reason that made you use the PX4 firmware instead of the stock one?
The altitude hold described in our wiki is implemented in the Bitcraze crazyflie-firmware (the stock one) and the stock Crazyflie-client. Maybe someone passing-by will know about PX4, otherwise I suggest you try asking the PX4 project or the person responsible for the port.
By the way, out of curiosity, what is the reason that made you use the PX4 firmware instead of the stock one?
Re: Crazyflie2.0 Hovering code
Thank you so much . I use px4 because px4 is widely used.
So, Crazyflie is going to expand to start.
So, Crazyflie is going to expand to start.
Re: Crazyflie2.0 Hovering code
Depending on what you are trying to do you might want to have a look at the Bitcraze firmware as well. As far as I understand the PX4 firmware has much more advanced functionality but the Bitcraze firmware is simpler and so might be easier to expand for specific needs.
Good luck with your project!
Good luck with your project!
-
- Beginner
- Posts: 26
- Joined: Mon Apr 11, 2016 4:33 pm
Re: Crazyflie2.0 Hovering code
Just to piggyback on this question is it possible to create a version of the firmware where the altitude hold is always enabled? Setting a value to TRUE in the commander.c? This is not my area at all, and I know you said it is in multiple places, but it would be nice to have a version where it is enabled or at the very least not momentary - toggling it on and off with the controller rather than having to hold the button down to keep it engaged.
Thanks!
Thanks!