Skip to content

Commit

Permalink
changed simuation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanine-gi committed Mar 15, 2021
1 parent a117599 commit 9b12d64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_all.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# A simple and naive BVT :)

cd algorithms&&source devel/setup.bash&&catkin build && cd ../simulation&&source ./devel/setup.bash&&catkin build
cd algorithms&&source devel/setup.bash&&catkin_make && cd ../simulation&&source ./devel/setup.bash&&catkin_make
6 changes: 5 additions & 1 deletion simulation/scripts/prepare_simulation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:${PX4_ENV_PATH}/devel/lib/
export LAUNCH_FILE="mavros_posix_sitl.launch"
#export LAUNCH_FILE="posix_sitl.launch"
export DRONE_ITEM="iris_stereo_rgb_lidar_gps" # can be "iris" "iris_stereo_rgb_gps" "iris_stereo_gray_gps".
export WORLD_ITEM=$PX4_ENV_PATH$SF/Tools/sitl_gazebo/worlds/obstacle_avoidance.world
#export DRONE_ITEM="rover"
#export WORLD_ITEM=$PX4_ENV_PATH$SF/Tools/sitl_gazebo/worlds/obstacle_avoidance.world
export WORLD_ITEM=$PX4_ENV_PATH$SF/Tools/sitl_gazebo/worlds/obstacle_avoidance_without_iris.world
#export WORLD_ITEM=$PX4_ENV_PATH$SF/Tools/sitl_gazebo/worlds/park_large.world
#export WORLD_ITEM=$PX4_ENV_PATH$SF/Tools/sitl_gazebo/worlds/park_large_without_iris.world
#To use iris_vision, you need to copy files from GAAS. See Readme.md.

echo "COMMAND: roslaunch px4 $LAUNCH_FILE vehicle:=$DRONE_ITEM"
Expand Down

0 comments on commit 9b12d64

Please sign in to comment.