Hi everyone!
I installed Ubuntu Trusty 14.04.5 along with the full version of ROS Indigo named Desktop-Full Install as per http://wiki.ros.org/indigo/Installation/Ubuntu, which uses Gazebo 2.
I then proceeded to add the packages: tum_ardrone, tum_simulator, ardrone_autonomy and ardrone_helpers.
I opened two terminals. In terminal 1 I ran:
source workspace/devel/setup.bash
roscd
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/ardrone_autonomy
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/ardrone_helpers
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/tum_simulator
roslaunch cvg_sim_gazebo ardrone_testworld.launch
In terminal 2 I ran:
source workspace/devel/setup.bash
roscd
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/ardrone_autonomy
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/ardrone_helpers
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/tum_simulator
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`/tum_ardrone
Now there are two situations
1. When I run roslaunch tum_ardrone tum_ardrone.launch
ROS outputs:
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://peterhr:43605/
SUMMARY
========
PARAMETERS
* /rosdistro: indigo
* /rosversion: 1.11.20
NODES
/
drone_autopilot (tum_ardrone/drone_autopilot)
drone_gui (tum_ardrone/drone_gui)
drone_stateestimation (tum_ardrone/drone_stateestimation)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
ERROR: cannot launch node of type [tum_ardrone/drone_stateestimation]: can't locate node [drone_stateestimation] in package [tum_ardrone]
ERROR: cannot launch node of type [tum_ardrone/drone_autopilot]: can't locate node [drone_autopilot] in package [tum_ardrone]
ERROR: cannot launch node of type [tum_ardrone/drone_gui]: can't locate node [drone_gui] in package [tum_ardrone]
No processes to monitor
shutting down processing monitor...
... shutting down processing monitor complete
It creates those 3 Errors that I am not sure how to fix.
2. Once that failed I tried running "rosrun ardrone_autonomy ardrone_driver
" instead which returned the following output on the command line:
Wait authentification
Wait authentification
Wait authentification
===================+> 192.168.1.81
Getting AR.Drone version ...
Getting AR.Drone version ...
Getting AR.Drone version ...
at which point it continuously loops through "Getting AR.Drone version". Anyone has any idea on how to fix this? I have had a read through a few forums but none of the fixes seemed to work.
I have also tried to run the usual takeoff (rostopic pub -1 /ardrone/takeoff std_msgs/Empty
), land, flyfoward, etc commands as specified in section 3.3.2 of the following wiki: http://wiki.ros.org/tum_simulator. But that seems to produce no change on my drone simulation whatsoever.
For those whom may think this is helpful for this issue, when I try to run "telnet 192.168.1.81
", I get the following output:
Trying 192.168.1.81...
telnet: Unable to connect to remote host: Connection refused
Please help me out with this, I can't seem to move past this point. Thanks!
tum_ardrone was cloned from https://github.com/dougvk/tum_simulator (indigo-devel branch). tum simulator was retrieved from https://github.com/dougvk/tum_simulator. ardrone_autonomy was installed using the following instructions: http://ardrone-autonomy.readthedocs.io/en/latest/installation.html.
Originally posted by pratledge on ROS Answers with karma: 1 on 2017-03-26
Post score: 0
Original comments
Comment by jayess on 2017-03-26:
Are you connected to the AR.Drone's WiFi?
Comment by pratledge on 2017-03-26:
Hi,
No I don't think so, as I'm not entirely sure how to do that.
But it might be worth pointing out that I'm testing this on a ROS / Gazebo simulation not a physical drone. As that potentially makes a difference...
Comment by jayess on 2017-03-26:
What are using to simulate the drone? ardrone_autonomy
will provide you with a means of connecting and controlling the drone but it won't simulate one for you.
Comment by jayess on 2017-03-28:
Exactly what commands did you run? It's really hard to navigate through slideshare on a phone. Also, note that that slide deck states that it's for ROS Fuerte which was released in 2012.
Comment by pratledge on 2017-03-29:
Hi, I have updated the question hope this time I have provided enough details! I'm sorry for how slow this is going, it's the first time I've tried to write a question on a Q&A Forum.
Comment by jayess on 2017-03-29:
Did you run catkin_make
from the root of your workspace after tum_ardrone
, tum_simulator
, ardrone_autonomy
, and ardrone_helpers
were added to it? It looks like ROS can't find the executables for the nodes in tum_ardrone
.