Page 1 of 1

Using the LPS with ROS

Posted: Mon Feb 11, 2019 8:03 pm
by al_cf_uom
Hi

We are using a crazyflie 2.0 (latest firmware) and wish to integrate it with ROS.

The system works fine with cfclient but we are having some issues with the ROS.

We have managed to connect to the crazyflie via ROS (latest release of the crazyflie ROS packages), and can access data such as pressure, imu readings, that is, data found on the standard crazyflie with no extra decks added.

We can't seem to access the LPS data though.

We do have some LPS specific ROS code however reading indicates that in newer builds this is all included in the standard crazyflie ROS package.

What messages should we look for?

What commands should we use to read the LPS postion (x,y,z).

Re: Using the LPS with ROS

Posted: Fri Mar 15, 2019 6:08 pm
by toni
Hello,

Have you taken a look to lps-ros (https://github.com/bitcraze/lps-ros ). In the launch files if you modify this file (https://github.com/bitcraze/lps-ros/blo ... ver.launch) and you launch it directly with your Crazyflie's adress you should see your rangings (in TWR mode) in /crazyflie/log_ranges topic.

Hope that this helps.

Kind regards