pxmlw6n2f/Gazebo_Distributed_MPI/mpi_run/mygzserver

11 lines
411 B
Plaintext
Raw Normal View History

#!/bin/bash
#echo ++++++++$1
source /opt/ros/kinetic/setup.bash
2019-05-27 15:21:55 +08:00
source $2/devel/setup.bash
export DISPLAY=:0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib/gazebo-7/plugins:/opt/ros/kinetic/lib:/opt/ros/kinetic/lib/x86_64-linux-gnu
/usr/local/bin/gzserver -u -e ode --verbose $1 -s /opt/ros/kinetic/lib/libgazebo_ros_paths_plugin.so -s /opt/ros/kinetic/lib/libgazebo_ros_api_plugin.so