Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes

Why URDF is preferred for ROS and SDF is preferred for Gazebo ? What is the full detail reasoning behind it?

If you compare the specifications, you'll see that SDF is a richer and much more general format that has support for more types of physical interaction: https://wiki.ros.org/urdf/XML https://sdformat....
danzimmerman's user avatar
3 votes

ROS Planner Trajectory Sampling Rate

include/pilz_industrial_motion_planner/trajectory_generator.h: planning_interface::MotionPlanResponse& res, double sampling_time = 0.1); https://github....
AndyZe's user avatar
  • 873
3 votes
Accepted

How do you publish on a ROS topic when the message type is not known?

You can use AnyMsg to subscribe to the topic, then use this to acquire information about the topic which can be used to construct a publisher and a new message ...
cst0's user avatar
  • 888
3 votes

How to determine which direction is the forward direction of the car in ROS´╝č

You should model your robot such that the front of the robot would align with the +X direction of the frame displayed.You can take a look at REP-105 for more inspiration about what conventions you ...
ssarkar's user avatar
  • 586
3 votes
Accepted

Correct use of transformations while using coordinate frames

You're missing a couple key aspects: baselink -> odom transform is the location of the robot (where the robot thinks it is) relative to where it started as calculated by tracking the wheel encoders....
billy's user avatar
  • 336
2 votes

ROS Installaion on Windows - Please provide credentials for: http://aka.ms/ros/public

Answering my own question - for anyone that stumbles on this problem.It appears that this was a temporary bug of some sort. It failed to work for a few days, then rectified on its own. ...
mediums's user avatar
  • 21
2 votes
Accepted

Segmentation fault in interactive_slam

In the end, the issue was happening in catkin_ws\src\interactive_slam\src\guik\gl_canvas.cpp. Went to the file, removed the line ...
SLAMenjoyer's user avatar
2 votes
Accepted

Custom Message header file does not generated during build and gives an error

Have you added the new interfaces package to your ament_target_dependencies? This is how my CMakeLists.txt looks like for a cpp ...
mink4sure's user avatar
2 votes

I am building a path planning and obstacle avoidance bot using ros, lidar, etc . Can someone please provide a python program to implement?

Use navigation stack of ROS. You will probably need to learn more stuff, but otherwise you would reimplement massive amount of parts, which is imo loss of time. Doing this from ground up in python is ...
Martin's user avatar
  • 198
2 votes
Accepted

ROS Planner Trajectory Sampling Rate

In case of ROS2 Moveit2 planners inherit the planning_interface::PlanningContext and planning_interface::PlannerManager classes ...
bcn's user avatar
  • 116
2 votes
Accepted

Is it possible to use the Zenoh Rust Api on embedded rust?

It's not possible at this stage. Zenoh currently requires libstd via some dependencies. Porting Zenoh to no_std is something that have been discussed and an experiment was even started. But it's a big ...
JEnoch's user avatar
  • 56
2 votes
Accepted

KeyError:'unique_identifier_msgs' and KeyError:'service_msgs' when compiling interface package

Soooo, apparantly the reason for the errors was simply because I had an action in the folder actions, and it appears that ROS2 does not like that. They want ...
highjeans 's user avatar
2 votes

Does rostest/gtest (ROS , CPP) provide any conditional compilaton flag?

Adding the following line in the CMakeLists.txt does the work: if(CATKIN_ENABLE_TESTING) add_compile_options(-DROSTEST) ... endif()
ACristea's user avatar
2 votes
Accepted

What is the ROS2 equivalent of rospy.AnyMsg?

rospy.AnyMsg was generally used to subscribe to serialized messages in ROS 1. These would come to the user-specified callback as an array of bytes that the user ...
mjcarroll's user avatar
  • 1,781
2 votes

Which ROS for Ubuntu 23.10 on RPI5

I believe that the current ros2 binary releases are for ubuntu 22. So yes, you'll have to build from source (or use a docker image.)
Mike973's user avatar
  • 946
2 votes
Accepted

Rviz crash when adding topic

You need to set orientation.w = 1 for every quaternion in the message if you don't have another orientation you want them to have. It's unfortunate that ...
Lucas Walter's user avatar
  • 3,347
2 votes

ROS1 or ROS2? in Autonomous Navigation

You would need to provide much, much more information for anyone to make any kind of reasonable suggestion. But in general, ROS 2's navigation system is far more sophisticated than ROS 1's. If you ...
Steve Macenski's user avatar
2 votes
Accepted

How to add parameters to a node via a yaml file using a python launch file in ROS2?

So answering my own question, To make the parameters available to the node, they first need to be declared inside the node. Hence, the node should be something like: ...
S07's user avatar
  • 21
2 votes

waitForTransform kills node after changing static tf

I found the problem! A prefix was missing in the StaticTransformBroadcaster. The frame_id should be just footprint (the masters ...
Ryuneke's user avatar
  • 21
2 votes

bloom-release fails to open a PR on rosdistro with token error related to workflow scope

No you should not add more scope to your token! Bloom opens this pull request using your personal fork of rosdistro https://github.com/$USER/rosdistro.git It will ...
Tully's user avatar
  • 25.1k
2 votes

catkin build fails because PythonInterp cannot be found

"FindPythonInterp.cmake" has been deprecated for a long time, and is removed in more recent cmake versions: https://cmake.org/cmake/help/v3.16/module/FindPythonInterp.html The page ...
Mike973's user avatar
  • 946
2 votes
Accepted

unable to locate package ros-humble-desktop ubuntu 22.04

(copying my comment on the issue you opened over at github.com/ros2/ros here for visibility) The screenshot shows you're running ...
gvdhoorn-rse's user avatar
  • 39.1k
2 votes

#include error using ROS in VS Code

You should have .vscode folder in your location which is opened from VSCode. If you have this folder and c_cpp_properties.json, settings.json, you should configure your json files. In this case, you ...
furkansariyildiz's user avatar
2 votes

Robot exploration algorithm

Is the room/environment fully unknown to you in advance? Or do you have some information about the shape of the room for example. Assuming that the room is rectangular, you could use something like a ...
SilviS's user avatar
  • 21
2 votes

Trouble trying to implement Gazebo's plowing model

The plowing effect is currently only supported in gazebo-classic starting with version 11.12; it is not yet supported in gz-sim. Can you confirm that the version of gazebo you are using is at or newer ...
Steven Peters's user avatar
2 votes

Semantic Segmentation Camera in Gazebo

Is this tutorial what you are looking for?
JRTG's user avatar
  • 2,039
2 votes
Accepted

How can you start gazebo with a non-0 simulated clock time?

Generally speaking, best practice would be to set the use_sim_time parameter in any ROS nodes that rely on timing in the simulation. Making sure everything is ...
shonigmann's user avatar
2 votes

How can you start gazebo with a non-0 simulated clock time?

As an alternative: Gazebo Harmonic has just been released and supports to set the initial simulation time through a command line argument, see this pull request.
JRTG's user avatar
  • 2,039
2 votes
Accepted

In ROS, is it possible to do dynamic reconfigure with "nested" parameters?

Yes, multiple sets of dynamic_reconfigure parameters are supported for a single ros node. You need to create a Server for each path that has this kind of parameter. You can reuse a .cfg class name for ...
Mike973's user avatar
  • 946
1 vote

Competitions for show innovations and gain visibility

Here are some small competitions I know of. But the might be too small for companies, or mainly focused around students and companies might be forbidden. Field Robot Event The international Field ...
Darkproduct's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible