README updates

This commit is contained in:
cesar 2022-03-04 14:33:03 -04:00
parent 099c1991b0
commit bc9b0207a4
1 changed files with 12 additions and 12 deletions

View File

@ -107,25 +107,25 @@ Initilize rosdep:
### MAVROS ### MAVROS
- in px4.launch, replace: - in px4.launch, replace:
arg name="fcu_url" default="/dev/ttyACM0:57600" arg name="fcu_url" default="/dev/ttyACM0:57600"
arg name="gcs_url" default="udp-b://127.0.0.1:14555@14550" arg name="gcs_url" default="udp-b://127.0.0.1:14555@14550"
- with: - with:
arg name="fcu_url" default="udp://:14551@192.168.1.91:14556" arg name="fcu_url" default="udp://:14551@192.168.1.91:14556"
arg name="gcs_url" default="udp-b://127.0.0.1:14555@14550" arg name="gcs_url" default="udp-b://127.0.0.1:14555@14550"
#### CHANGE DEVEL/SETUP.BASH #### CHANGE DEVEL/SETUP.BASH
In catkin_ws (or any working directory) add to devel/setup.bash: In catkin_ws (or any working directory) add to devel/setup.bash:
'''
CURRENT_DIR=$(pwd)
cd ~/PX4-Autopilot
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo
cd $CURRENT_DIR CURRENT_DIR=$(pwd)
''' cd ~/PX4-Autopilot
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo
cd $CURRENT_DIR
## JINJA TETHER FILE ## JINJA TETHER FILE
- spiri_with_tether.sdf.jinja can be altered to create desired tether model - spiri_with_tether.sdf.jinja can be altered to create desired tether model
- changes nede to be made in px4 directory and will only take effect and - changes nede to be made in px4 directory and will only take effect and