Skip to content

Commit

Permalink
Merge pull request ros-simulation#390 from peci1/issue_387_remove_ros…
Browse files Browse the repository at this point in the history
…_remappings

[gazebo_ros] Remove ROS remapping arguments from gazebo_ros launch scripts.
  • Loading branch information
j-rivero committed Mar 10, 2016
2 parents 554a0e4 + 5a9e5f1 commit c190bf6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gazebo_ros/scripts/debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh
final="$@"

# remove ros remapping arguments like "__name:=node_name"; otherwise, they'd
# be interpreted as a world name by gzserver, and it'd crash while loading it
final=`echo "$final" | sed 's/[^ ]*:=[^ ]* \?//g'`

EXT=so
if [ $(uname) == "Darwin" ]; then
EXT=dylib
Expand Down
4 changes: 4 additions & 0 deletions gazebo_ros/scripts/gazebo
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh
final="$@"

# remove ros remapping arguments like "__name:=node_name"; otherwise, they'd
# be interpreted as a world name by gzserver, and it'd crash while loading it
final=`echo "$final" | sed 's/[^ ]*:=[^ ]* \?//g'`

EXT=so
SIGNAL=SIGINT
if [ $(uname) = "Darwin" ]; then
Expand Down
4 changes: 4 additions & 0 deletions gazebo_ros/scripts/gzclient
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh
final="$@"

# remove ros remapping arguments like "__name:=node_name"; otherwise, they'd
# be interpreted as a world name by gzserver, and it'd crash while loading it
final=`echo "$final" | sed 's/[^ ]*:=[^ ]* \?//g'`

EXT=so
if [ $(uname) = "Darwin" ]; then
EXT=dylib
Expand Down
4 changes: 4 additions & 0 deletions gazebo_ros/scripts/gzserver
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh
final="$@"

# remove ros remapping arguments like "__name:=node_name"; otherwise, they'd
# be interpreted as a world name by gzserver, and it'd crash while loading it
final=`echo "$final" | sed 's/[^ ]*:=[^ ]* \?//g'`

EXT=so
if [ $(uname) = "Darwin" ]; then
EXT=dylib
Expand Down
4 changes: 4 additions & 0 deletions gazebo_ros/scripts/perf
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh
final="$@"

# remove ros remapping arguments like "__name:=node_name"; otherwise, they'd
# be interpreted as a world name by gzserver, and it'd crash while loading it
final=`echo "$final" | sed 's/[^ ]*:=[^ ]* \?//g'`

EXT=so
if [ $(uname) = "Darwin" ]; then
EXT=dylib
Expand Down

0 comments on commit c190bf6

Please sign in to comment.