Page 3 of 3

Re: Flying Crazyflie to a specific position setpoint

Posted: Mon Feb 03, 2020 12:46 pm
by kimberly
Alright, keep us up to date with the process.

About the gyro, if you want you can make an issue on the crazyflie-firmware github about this? We use the github-issues as a guide line to fix bugs and add new features, and this seems like something that can enhance the firmware.

Re: Flying Crazyflie to a specific position setpoint

Posted: Mon Feb 03, 2020 3:55 pm
by nicuvlad94
kimberly wrote: Mon Feb 03, 2020 11:09 am Yes, if x, y, z is set to disabled and roll/pitch is set to modeAbs and yaw to modeVel, that is equivalent to attitude mode.
Are you sure this is enough? Because I am commanding a setpoint (with the same config you suggested) in a loop and the motors don't start at all. I would expect that motors start and drone tries to keep its roll/pitch. Should I modify something else in the setpoint?

Re: Flying Crazyflie to a specific position setpoint

Posted: Tue Feb 04, 2020 8:52 am
by kimberly
Hi!

Have you send a zero setpoint first ? So here in the ramp.py example, it says you need to send a zero setpoint first to unluck thrust protection (https://github.com/bitcraze/crazyflie-l ... amp.py#L89).

Let us know if this works!

Re: Flying Crazyflie to a specific position setpoint

Posted: Thu Feb 06, 2020 12:21 pm
by nicuvlad94
I will definitely do, but these days I am busy with acquiring some data (Crazyflie + Vicon). For that, I would need to log some data from the Crazyflie and I want to ask what is the difference between the acceleration in "stateEstimate" and the acceleration in the "sensorData". What is the benefit of having the acceleration in the state space, given that it is a measured parameter? Is the acceleration in the state space represented in the body frame of the drone or in the world frame?
Thank you!

Re: Flying Crazyflie to a specific position setpoint

Posted: Mon Feb 10, 2020 11:23 am
by kristoffer
Please start a new topic for this question since it is no longer about "Flying Crazyflie to a specific position setpoint"