ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

artifactz's profile - activity

2023-04-19 11:00:43 -0500 received badge  Great Question (source)
2023-03-03 03:11:19 -0500 received badge  Nice Answer (source)
2022-07-29 10:00:59 -0500 received badge  Good Answer (source)
2022-02-07 07:43:55 -0500 received badge  Necromancer (source)
2021-01-10 21:03:15 -0500 received badge  Nice Answer (source)
2020-04-30 08:07:58 -0500 answered a question Initial view after gazebo starts

In Gazebo 9 you do: <world> <gui> <camera name="user_camera"> <pose>x y z roll pitc

2019-11-14 14:19:30 -0500 received badge  Favorite Question (source)
2019-08-07 11:59:07 -0500 received badge  Good Question (source)
2019-03-25 07:18:24 -0500 received badge  Self-Learner (source)
2019-03-25 07:18:24 -0500 received badge  Necromancer (source)
2019-03-01 09:23:38 -0500 received badge  Scholar (source)
2019-03-01 09:23:33 -0500 answered a question Provide empty string as roslaunch argument substitution

A friendly GitHub user reminded me, that in bash you use quotation marks to group space-separated strings as a single ar

2019-01-11 12:44:15 -0500 marked best answer Provide empty string as roslaunch argument substitution

I have a default.launch file with some arguments and default values (strings).

I would like to substitute a default value with an empty string while launching, e.g.

roslaunch pkg default.launch arg1:=""

But the substitution is ignored. Also ignored are:

roslaunch pkg default.launch arg1:=''
roslaunch pkg default.launch arg1:=" "

etc.

Working substitutions are:

roslaunch pkg default.launch arg1:="!"
roslaunch pkg default.launch arg1:='test'

etc.

How can I provide an empty string as an argument substitution?

2019-01-09 13:23:29 -0500 received badge  Enthusiast
2018-11-26 15:28:37 -0500 received badge  Nice Answer (source)
2018-11-06 12:29:59 -0500 received badge  Necromancer (source)
2018-11-06 12:29:59 -0500 received badge  Teacher (source)
2018-11-06 11:26:07 -0500 answered a question tf::TransformListener gets wrong tf

I think you need to swap target and source frames in lookupTransform. I know it is confusing, but I guess the way to th

2018-08-13 02:20:54 -0500 received badge  Famous Question (source)
2018-07-05 09:42:09 -0500 commented question Provide empty string as roslaunch argument substitution

I opened an issue at GitHub.

2018-07-05 08:02:04 -0500 commented answer Provide empty string as roslaunch argument substitution

Thank you for your idea and your feedback. I guess I'm just going to create a simple launch file including default.launc

2018-07-05 07:59:18 -0500 commented question Provide empty string as roslaunch argument substitution

Thank you for your feedback. E.g. I have an argument which defaults to /sonar, because that's the default sonar topic. A

2018-07-03 14:41:35 -0500 received badge  Notable Question (source)
2018-07-03 14:38:14 -0500 received badge  Nice Question (source)
2018-07-03 14:32:07 -0500 received badge  Student (source)
2018-07-03 13:26:05 -0500 received badge  Popular Question (source)
2018-07-03 10:16:28 -0500 asked a question Provide empty string as roslaunch argument substitution

Provide empty string as roslaunch argument substitution I have a default.launch file with some arguments and default val

2017-05-30 09:56:59 -0500 commented question CvBridgeError: [8SC1] is not a color format. but [mono8] is. The conversion does not make sense

I had the same issue and fixed it by specifying the desired output format of the conversion to ROS format: cv_bridge.cv2

2015-09-09 19:32:29 -0500 received badge  Supporter (source)