Page 1 of 1

LPS node set up ROS

Posted: Fri Feb 14, 2020 11:04 pm
by artistofcannae
Hello All!

So I am trying to use the LPS nodes and ROS to control the crazyflie drones.
I am using this guide: ... aster/ros/

but I am having an issue. In step Run rosdep install bitcraze_lps_estimator to install dependencies

I am having this error

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource bitcraze_lps_estimator
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/edwin/crazyflie_ws/src
ROS path [2]=/opt/ros/melodic/share

Would anyone know why?

Re: LPS node set up ROS

Posted: Mon Feb 17, 2020 1:56 pm
by kimberly
Hi. This repository and documentation you mentione is just for an off board estimation and is quite old and not useful in most cases. Please follow this tutorial instead: ... ng-system/

Re: LPS node set up ROS

Posted: Mon Feb 17, 2020 8:31 pm
by artistofcannae
Awesome Thanks!

I just have one more question on the subject matter. So to control the drones autonomously like with the flowdeck can I reuse the same script?
I am asking since I was reading up on the documentation that you linked and it brought me back to here: ... r/examples

So can any of those be used with the LPS system?

Thank you again!

Re: LPS node set up ROS

Posted: Tue Feb 18, 2020 7:48 am
by kristoffer
Yes in most cases. The scripts that require positioning support can be used with any positioning system as long as it provides the properties needed by the script. If you are using the LPS for positioning, the Mellinger controller will most likely not work (LPS is a bit too noisy) for instance, but most of the scripts should be OK with LPS.
Also note that the Flow deck is a "relative positioning system", that is it sets the origin to the point where it is started, while LPS has an absolute coordinate system fixed in space.