Skip to content

pacificlion/ardrone_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ardrone

Run the following code

mkdir -p ~/catkin_ws/src
cd catkin_ws/src
git clone https://github.com/pacificlion/ardrone_test.git
git clone https://github.com/ethz-asl/vicon_bridge.git
git clone https://github.com/pacificlion/ardrone_autonomy.git
git clone https://github.com/pacificlion/ardrone_gazebo.git
cd ~/catkin_ws

Build catkin

catkin build

Running a simulation of AR.Drone 2.0 traversing along predefined trajectory (8 shape) on Gazebo

Run the following code lines in different terminals

roscore
roslaunch ardrone_gazebo single_ardrone.launch
rosrun ardrone_test ardrone_test_node

Now, press w to takeoff

rosrun ardrone_test ardrone_test_node

Press t to start trajectory tracking. (data of desired and actual positions can be saved and plotted)

Making an AR.Drone 2.0 traverse along a predefined trajectory (8 shape) IRL with the help of Vicon Motion Capture system

Run the following code lines in different terminals Make sure your computer is connected to same LAN as Vicon's rig and wifi is connected to ardrone

roscore
roslaunch vicon_bridge vicon.launch
rosrun ardrone_autonomy ardrone_driver
rosrun ardrone_test ardrone_test_node

Now, press w to takeoff

rosrun ardrone_test ardrone_test_node

Press v to start trajectory tracking. (data of desired and actual positions can be saved and plotted)

About

Simulation and path planning for ARDrone 2.0 drone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published