Autonomous flight wiith Flow Deck V2 only

Discussions about autonomous flight in general, regardless of positioning method
Post Reply
akarapet
Beginner
Posts: 1
Joined: Mon Aug 26, 2019 6:14 pm

Autonomous flight wiith Flow Deck V2 only

Post by akarapet » Thu Sep 12, 2019 11:11 am

Hi,

I am a research student working with Crazyflie 2.0 and FlowDeck V2. I am achieving smooth and stable flight when i control the quadcopter using the high level position controller, such as flowSequence.py. However, what I am aiming to achieve is to do my own position control with crazyflie's full state as my input and motor and attitude rates as my output.

I have the structure in place, by getting data from the quadcopter using the method in basiclog.c and then sending the data via ROS to my cpp controller. The output of my controller is then sent to the python software and via crtp to the crazyflie itself. I am getting the flowdeck information through the "stateEstimate.x", ..., "stateEstimate.vx", ... and "stateEstimate.roll", ... . I have noticed that upon startup the values of x and y start at some random coordinates, like (0.4, 0.2) and then diverge to 0 slowly . I understand that this may be due to how the EKF works on the firmware, but I would like to know if there is any way I can fix the coordinates when the crazyflie is static, because it is causing the controller to output wrong controls.

The idea is to achieve autonomous flight with positioning information coming only from the onboard sensor, for which the flowdeck is ideal.

Thanks in advance,
Aren



Post Reply