Need Help to control crazyflie 2.0 polling pitch,yaw,roll

Firmware/software/electronics/mechanics
sicaria
Beginner
Posts: 8
Joined: Wed Sep 07, 2016 10:14 am

Re: Need Help to control crazyflie 2.0 polling pitch,yaw,roll

Post by sicaria »

Thank you. Really the Kalman filter seems like what I need. Is there an example of sending data to the crazyflie 2.0 with a mocap system and not the nodes.

Thanks!
sicaria
Beginner
Posts: 8
Joined: Wed Sep 07, 2016 10:14 am

Re: Need Help to control crazyflie 2.0 polling pitch,yaw,roll

Post by sicaria »

Also I'm not using ROS even though I probably should be.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Need Help to control crazyflie 2.0 polling pitch,yaw,roll

Post by arnaud »

Unfortunately, while I know that sending external position to the kalman filter has been tested and is working, I do not think it has been pushed anywhere public yet (and we do not have a Mocap system at Bitcraze so I cannot test myself).

If you are not using ROS you can always send position setpoint directly from python: https://wiki.bitcraze.io/doc:lps:index# ... ithout_ros. You can build and send the external position packet directly from python too.
sicaria
Beginner
Posts: 8
Joined: Wed Sep 07, 2016 10:14 am

Re: Need Help to control crazyflie 2.0 polling pitch,yaw,roll

Post by sicaria »

Thanks! I'm still a bit lost with that but that's not unusual.

I was just wondering what command you would send to the crazyflie to read the battery voltage?

Also is there a list of commands that you have posted that you can send to the crazyflie?


Thank you!
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Need Help to control crazyflie 2.0 polling pitch,yaw,roll

Post by arnaud »

Hi,

We have 2 subsystems in the Crazyflie, Log and Param, we are using these two as much as possible. Most of the setting and telemetry uses them.

If you want to get the battery voltage you need to use the Log subsystem to setup a log block containing the battery voltage, the Crazyflie will then send it at regular interval.

There is a page on the wiki explaining the different subsytem of the Crazyflie: https://wiki.bitcraze.io/doc:crazyflie:crtp:index

/Arnaud
Post Reply