git clone https://github.com/uf-reef-avl/reef_estimator_sim_bundle
cd reef_estimator_sim_bundle
git submodule update --init --recursive
cd ../..
catkin_make-
To adjust the number of simulated vehicles modify the
./launch/launch_sim.launchfile inside the sim_helper repository. Changing thespawn_turtlesargument inside the launch file enables/disables the list of turtlebots. -
To switch between the two basic modes of flying (basic waypoints and Dubins path), change the
waypointmodeargument inside the./launch/sim_estimator.launch(inside sim_helper repository). Default behavior isTruewhich starts the basic waypoints algorithm.
-
In one terminal run
python ./sim_helper/scripts/Master.py. -
Wait a few seconds until Autopilot ARMED and RC override active are printed and then in another terminal run
roslaunch sim_helper sim_estimator.launchfrom the launch directory. -
If the simulation is set to run the setpoint generator code, wait until Takeoff! is printed in the second terminal and then use
rosparam set /setpoint_publisher/active trueif you are using the setpoint_generator to start the simulated quadcopter. Userosparam set /setpoint_publisher/active falseto signal the quadcopter to head back to the origin. Otherwise, if you are using dubins path, userosparam set /setpoint_publisher/activaction falseto launch it.