Skip to content

Instantly share code, notes, and snippets.

@tik0
Last active April 24, 2020 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tik0/0c6d1598d9dbcac66d4203dcfff6041d to your computer and use it in GitHub Desktop.
Save tik0/0c6d1598d9dbcac66d4203dcfff6041d to your computer and use it in GitHub Desktop.
ASE .bashrc Ergänzung
########################### ASE CONFIG START ###########################
# Setup for pool PC (optional if you work on your own PC)
# Tested with Xubuntu 16.04 and ROS Kinetic
# Global ROS environment
source /opt/ros/kinetic/setup.bash
# Workspace realted ROS environment
source /media/localdisk/data/$(whoami)/catkin_ws/devel/setup.bash
# Simulator URI (Please use the assigned port than 11345 if you work on a pool PC)
export GAZEBO_MASTER_URI="http://127.0.0.1:11345"
# ROS URI (Please use another port than 11311 if you work on a pool PC)
export ROS_MASTER_URI="http://$(hostname):11311"
# Shortcut command for the eclipse programming environment
alias eclipse="/media/localdisk/data/$(whoami)/eclipse/eclipse"
# Shortcut command for creating eclipse project files in a ROS workspace
alias create_project='catkin_make -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=debug -DCMAKE_CXX_FLAGS="-std=c++11"'
# Gazebo model path, if gzclient is running stand-alone
export GAZEBO_MODEL_PATH="$(rospack find amiro_gazebo)/models"
########################### ASE CONFIG END ###########################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment