ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After using another computer I realized it was some kind of path problem. The first time I used the binary installation for the driver but the GPS branch is intalled from source. Therefore when we ran the package, the path /opt/ros/indigo/share/ardrone_autonomy was followed instead of using the files from the catkin workspace.

What I did is to unistall the ardrone_autonomy driver with the command "$ sudo apt-get --purge remove ros-indigo-ardrone-autonomy".
At this point (after running the driver again), I was able to see "/ardrone/navdata_gps" between the list of topics but when we typed "rostopic echo /ardrone/navdata_gps" we got the message "Cannot load message class for [/ardrone/navdata_gps]. Are your messages built?". The solution to this is to clean the workspace (catkin_make clean),then build it (catkin_make) and finally source the path (source devel/setup.bash).

Hopefully this is helpful.