diff --git a/README.md b/README.md index 2af0fe0..8867c58 100644 --- a/README.md +++ b/README.md @@ -94,16 +94,21 @@ Initilize rosdep: catkin build source ~/catkin_ws/devel/setup.bash #####Troubleshooting: https://github.com/Jaeyoung-Lim/mavros_controllers - +### CLONE OSCILLATION_CTRL + cd ~catkin_ws/src + git clone https://git.spirirobotics.com/cesar.alejandro/oscillation_ctrl.git ### TOOLS/SITL_GAZEBO - copy (or add) files in _oscillation_ctrl/models_ and _oscillation_ctrl/worlds_ to _PX4-Autopilot/Tools/sitl_gazebo/models_ and _PX4-Autopilot/Tools/sitl_gazebo/worlds_ respectively + cp -R ~catkin_ws/src/oscillation_ctrl/models/* ~/PX4-Autopilot/Tools/sitl_gazebo/models + cp -R ~catkin_ws/src/oscillation_ctrl/worlds/* ~/PX4-Autopilot/Tools/sitl_gazebo/worlds ### ROMFS/PX4FMU_COMMON - copy (or add) files in _oscillation_ctrl/airframes_ to _PX4-Autopilot/ROMFS/px4fmu_common/init.d-posix/airframes_ + cp -R ~catkin_ws/src/oscillation_ctrl/airframes/* PX4-Autopilot/ROMFS/px4fmu_common/init.d-posix/airframes - add file name to _CmakeLists.txt_ in same 'airframe' folder (with number) - add airframe name in _~/PX4-Autopilot/platforms/posix/cmake/sitl_target.cmake_ (no number!) ### LAUNCH FILES - copy (or add) files from px4_launch directory to '~/PX4-Autopilot/launch' - + cp -R ~catkin_ws/src/oscillation_ctrl/px4_launch/* ~/PX4-Autopilot/launch #### CHANGE DEVEL/SETUP.BASH In catkin_ws (or any working directory) add to devel/setup.bash: