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

pratledge's profile - activity

2017-04-05 10:28:30 -0500 received badge  Famous Question (source)
2017-03-29 19:37:15 -0500 received badge  Notable Question (source)
2017-03-29 17:56:48 -0500 commented question "Getting AR.Drone version..."

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.

2017-03-28 11:02:00 -0500 commented answer "Getting AR.Drone version..."

Hi, I have updated the question with the relevant information, please do let me know if I missed out on anything.

2017-03-28 11:01:38 -0500 received badge  Editor (source)
2017-03-27 07:42:36 -0500 received badge  Popular Question (source)
2017-03-27 03:34:42 -0500 commented answer "Getting AR.Drone version..."

I have also attempted to use the comments such as rostopic pub -1 /ardrone/takeoff std_msgs/Empty which says it will send the message in 3 seconds and then stops. It doesn't produce an error or get stuck but it doesn't seem to get the drone moving either. Source: http://wiki.ros.org/tum_simulator

2017-03-27 03:32:43 -0500 commented answer "Getting AR.Drone version..."

I am simulating the drone using the package tum_simulator, and I have this simulation running on the first terminal while I attempt to control said drone simulation from a second terminal by running the tum_ardrone package's launch files.

2017-03-26 17:57:20 -0500 commented question "Getting AR.Drone version..."

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...

2017-03-26 17:28:59 -0500 asked a question "Getting AR.Drone version..."

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/Installati... , 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.i... .