Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You still have the package that you downloaded from GitHub in your workspace which is why when you run rospack find ardrone_autonomy you see that it's located in ~/catkin_ws/src/ardrone_autonomy.

Follow these steps:

  1. Delete this package along with the ~/catkin_ws/build, ~/catkin_ws/devel, and ~/catkin_ws/install directories (as noted by @clyde)
  2. Compile your workspace again.
  3. Now, source (ROS if you're not doing that already and) your workspace:

    $ source /opt/ros/<distro>/setup.bash
    $ source ~/catkin_ws/devel/setup.bash
    

You should be good to go at this point. Please update your question if this still doesn't fix your issue.

Note: I've moved the question's comments into this answer.

You still have the package that you downloaded from GitHub in your workspace which is why when you run rospack find ardrone_autonomy you see that it's located in ~/catkin_ws/src/ardrone_autonomy.

Follow these steps:

  1. Delete this package along with the ~/catkin_ws/build, ~/catkin_ws/devel, and ~/catkin_ws/install directories (as noted by @clyde)
  2. Compile your workspace again.
  3. Now, source (ROS if you're not doing that already and) your workspace:

    $ source /opt/ros/<distro>/setup.bash
    $ source ~/catkin_ws/devel/setup.bash
    

You

  • Run

    $ roslaunch ardrone_tutorials keyboard_controller_outdoor.launch
    

    again and roslaunch should be good to go at this point. able to find the ardrone_driver node. Note that to find and launch the node you don't have to be connected to your drone. But, to use it you do need to be connected to the drone.

  • Please update your question if this still doesn't fix your issue.

    Note: I've moved the question's comments into this answer.

    You still have the package that you downloaded from GitHub in your workspace which is why when you run rospack find ardrone_autonomy you see that it's located in ~/catkin_ws/src/ardrone_autonomy.

    Follow these steps:

    1. Delete this package along with the ~/catkin_ws/build, ~/catkin_ws/devel, and ~/catkin_ws/install directories (as noted by @clyde)@clyde )
    2. Compile your workspace again.
    3. Now, source (ROS if you're not doing that already and) your workspace:

      $ source /opt/ros/<distro>/setup.bash
      $ source ~/catkin_ws/devel/setup.bash
      
    4. Run

      $ roslaunch ardrone_tutorials keyboard_controller_outdoor.launch
      

      again and roslaunch should be able to find the ardrone_driver node. Note that to find and launch the node you don't have to be connected to your drone. But, to use it you do need to be connected to the drone.

    Please update your question if this still doesn't fix your issue.

    Note: I've moved the question's comments into this answer.