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
catkin build
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)