Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 35448

Use this tag for questions related to ROS (Robot Operating System) version 2.

0 votes
1 answer
448 views

Passing parameters to Node() and LaunchDescription()

I am lost :) Here is the problem (ROS2). … declare_params_file_cmd = DeclareLaunchArgument( 'params_file', default_value=def_nav2_params_path if robots[0]['name']=='' else def_nav2_params_path_multi, description='Full path to the ROS2
Steve Brown's user avatar
1 vote

Passing parameters to Node() and LaunchDescription()

I have figured it all out. A fully functional example at https://robotics.snowcron.com, in the "multiple robots" section.
Steve Brown's user avatar
0 votes
1 answer
67 views

Closing everything while using ExecuteProcess in Gazebo

I use ROS 2, Python, Gazebo project. So far, I had the following code snippet to close everything (like RViz) when Gazebo was closed: gazebo_exit_event_handler = RegisterEventHandler( event_handler= …
Steve Brown's user avatar
1 vote

Closing everything while using ExecuteProcess in Gazebo

Figured out. It works like that: ExecuteProcess( cmd=['gzclient'], #cwd=[def_worlds_dir], on_exit=EmitEvent(event=Shutdown(reason='gazebo client exited')), output='screen') Full pr …
Steve Brown's user avatar
1 vote
0 answers
46 views

Dynamic textures in Gazebo

I use ROS2/Python/Gazebo Classic project with Galactic. I am looking for a way to dynamically change textures of objects. Any ideas how to do it? …
Steve Brown's user avatar
0 votes
0 answers
20 views

Different trajectory in Gazebo vs RViz

I found some strange Gazebo behavior that might contribute to my inability to perform fusion. If my robot is programmed to run in a circle, and according to independent (from Gazebo) test, it IS a cir …
Steve Brown's user avatar
0 votes
1 answer
169 views

imu vs imu/data

I use ROS2/Python/Gazebo project. In online examples, I see robot_localization node using (usually in nav2_params.yaml) the "imu/data" as imu source. …
Steve Brown's user avatar
0 votes
2 answers
304 views

ekf_node doesn't work when use_sim_time is set to True

I have ROS2/Python/Gazebo project, and I use robot localization like this: robot_localization_node = Node( package='robot_localization', executable='ekf_node', name='ekf_filter_node … cmd=['gazebo', '--verbose', world, '-s', 'libgazebo_ros_factory.so', '-r' '-sim-time'], output='screen') arrNodes.append(gazebo_node) # ros2_node = ExecuteProcess( # cmd=['ros2
Steve Brown's user avatar
0 votes

ekf_node doesn't work when use_sim_time is set to True

Funny error. In lidar, base frame was set to base_footprint, instead of base_link. No idea why it blocks publishing /clock, but... The working project can be downloaded at robotics.snowcron.com
Steve Brown's user avatar
0 votes
1 answer
202 views

Gazebo doesn't publish /clock

gazebo_node = ExecuteProcess( cmd=['gazebo', '--verbose', world, '-s', 'libgazebo_ros_factory.so', '-r' '-sim-time'], output='screen') # ros2_node = ExecuteProcess( # cmd=['ros2
Steve Brown's user avatar
-1 votes

Gazebo doesn't publish /clock

First of all, it looks like the answer is "you can not". You have to start Gazebo client and server separately. The working project can be downloaded at robotics.snowcron.com
Steve Brown's user avatar
-1 votes

How to approach a target pose via the XY surface normal?

Take a look at my example of docking to aruco at robotics.snowcron.com Important note to people who are going to block this post based on "you have to provide answer here": we are talking about 16 pag …
Steve Brown's user avatar
2 votes
1 answer
131 views

Gazebo vacuum_gripper setup

I am trying to add a vacuum gripper to my ROS2/Gazebo/Python project. I have the following: grip.xacro (note the plugin for gripper): <?xml version="1.0"? … However, when I run $ ros2 service list I do not see any new services showing after I add the plugin, accordingly, it all stops at infinite Service not available, waiting... …
Steve Brown's user avatar
3 votes

Gazebo vacuum_gripper setup

Quite intimidating, really. The plugin has to be inside the <gazebo> tag...
Steve Brown's user avatar
0 votes

ROS2 Gazebo vacuum_gripper doesn't grip

After 3 weeks of research :) I have created a workaround. A fully working gripper example here P.S. It is a long example, with couple of sub-workarounds, so I am not going to post it here.
Steve Brown's user avatar

15 30 50 per page