This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| intranet:projects:robot:iis_robot_sw [2018/07/27 09:40] c7031258 | intranet:projects:robot:iis_robot_sw [2018/09/03 19:35] (current) | ||
|---|---|---|---|
| Line 70: | Line 70: | ||
| ROSVERSION=melodic | ROSVERSION=melodic | ||
| WS_DIR=$HOME | WS_DIR=$HOME | ||
| - | WORKSPACE=iis_ws | + | DEFAULT_WS=iis_ws | 
| #ROSVERSION=kinetic | #ROSVERSION=kinetic | ||
| - | #WORKSPACE=robot_sw/iis_catkin_ws | + | #DEFAULT_WS=robot_sw/iis_catkin_ws | 
| function getmyip() { | function getmyip() { | ||
| Line 97: | Line 97: | ||
| then | then | ||
| WORKSPACE=$1 | WORKSPACE=$1 | ||
| + | else | ||
| + | WORKSPACE=$DEFAULT_WS | ||
| fi | fi | ||
| Line 123: | Line 125: | ||
| </code> | </code> | ||
| - | Adapt `ROS_VERSION`, `WS_DIR`, `WS` to you system. `WS_DIR` can be used when all workspaces are stored in the same directory, e.g. `$HOME/Repos`. The `WS` variable specifies the default workspace to be used when no argument is specified. An argument can be specified for initializing a different workspace, e.g. `ROS_LOCAL robot_sw/catkin_iis_ws`. | + | Adapt ''ROS_VERSION'', ''WS_DIR'', ''DEFAULT_WS'' to you system. ''WS_DIR'' can be used when all workspaces are stored in the same directory, e.g. ''$HOME/Repos''. The ''DEFAULT_WS'' variable specifies the default workspace to be used when no argument is specified. An argument can be specified for initializing a different workspace, e.g. ''ROS_LOCAL robot_sw/catkin_iis_ws''. | 
| ===Build=== | ===Build=== | ||