oscillation_ctrl/px4_setup/px4_bash.sh

10 lines
608 B
Bash
Raw Permalink Normal View History

echo "Copying model files to px4 directory..."
cp -R ~/catkin_ws/src/oscillation_ctrl/models/* ~/PX4-Autopilot/Tools/sitl_gazebo/models
echo "Copying world files to px4 directory..."
cp -R ~/catkin_ws/src/oscillation_ctrl/worlds/* ~/PX4-Autopilot/Tools/sitl_gazebo/worlds
echo "Copying airframes files to px4 directory..."
cp -R ~/catkin_ws/src/oscillation_ctrl/airframes/18.04/* ~/PX4-Autopilot/ROMFS/px4fmu_common/init.d-posix/airframes
echo "Adding airframe names to px4_sitl make targets..."
cp -R ~/catkin_ws/src/oscillation_ctrl/px4_setup/CMakeLists.txt ~/PX4-Autopilot/Tools/sitl_gazebo/
echo "Done!"