Hot answers tagged

2 votes

Installing ROS2 Humble on Ubuntu Mantic

ROS 2 Humble is not supported as a binary distribution on Ubuntu Mantic (23.10) In general, when you run into issues like this, it is important to check what the supported platforms are for a given ...
mjcarroll's user avatar
  • 1,746
2 votes

How do ROS2 nodes find each other on the same computer?

I will try to answer it in steps : As you might know the middleware used in ROS2 for communication is DDS which creates different logical networks to share a Physical network. These different logical ...
nitish's user avatar
  • 61
2 votes

Problem resolution needed for building ROS2 from source

On Raspberry Pi, you should install Ubuntu 22.04, as that is the current Tier 1 supported OS. Ubuntu 23 is not supported. You can see a bunch more context on all the challenges on this ticket: [Meta-...
Ryan Friedman's user avatar
1 vote

How do ROS2 nodes find each other on the same computer?

The exact discover protocol/mechanism depends on the used DDS. For Fast DDS the default mechanism is called Simple Discovery: From the Fast DDS docs: "[...] each RTPSParticipant [ROS2 node] must ...
bcn's user avatar
  • 31
1 vote
Accepted

how to get node graph like rqt_graph with command line?

I was looking into this recently and came across https://github.com/kiwicampus/ros2_graph. This allows you to generate a ROS graph in Mermaid (a markdown language) on the CLI which can then be ...
Joshua Whitley's user avatar
1 vote

Where to find a circular robot, diameter < 45cm, load bearing >= 30Kg with ROS (1 or 2) installed?

That is a very small footprint for such a high payload - I'm not aware of anything commercially available with those specifications. For reference, the Freight-100 from Fetch Robotics (now Zebra) is ...
Mike Ferguson's user avatar
1 vote
Accepted

How to use ros2_control with actual hardware communicating via etherCAT?

Have you seen this EtherCAT driver?
Christoph Froehlich's user avatar
1 vote

How to add custom messages and services to ros_gz_bridge

if you are fine with the "Embedding ROS 2 in Gazebo" approach mentioned in the given talk, then you could create a gazebo system-plugin to bridge the messages/topics by adapting the ...
bcn's user avatar
  • 31
1 vote

ROS 2 Package Executable Not Found by ros2 run

Check the output of ros2 pkg prefix robot --share. If ros2 can't find it, the problem might be with where the package is built.
Bhooshan Deshpande's user avatar
1 vote

Ubuntu packages: gazebo vs gz-harmonic

I strongly suggest you to read the official Gazebo installation instruction here. It basically says that gz-garden and ...
Biagio Trimarchi's user avatar
1 vote
Accepted

Reading a ros2_control xacro file in a regular node

Have a look at the component parser used within the controller_manager of ros2_control. It should be possible to use that in your node.
Christoph Froehlich's user avatar
1 vote
Accepted

Multiple discovery servers on the same network

The missing piece was my ip route table. I needed to change the route to the Create in order to "switch" Turtlebots. sudo ip route del 192.168.186.0/24 <...
Sterling Mcleod's user avatar
1 vote

Error: Loader for controller 'asc' not found

Please be aware that Foxy is EOL and not maintained any more. Have you tested the demos shipped with gazebo_ros2_control, do they launch?
Christoph Froehlich's user avatar
1 vote
Accepted

Subscriber in Hardware Interface (ros2_control)

Have a look at this implementation of topic_based_ros2_control here. Note that in general, it is not recommended to use a node inside the hardware interface if you have realtime requirements. Write ...
Christoph Froehlich's user avatar
1 vote
Accepted

"No module named roslaunch" for ROS 2

I have found the solution. The problem was that I didn't installed ros2 properly. I figured out the solution by uninstall ros2 from the system when my launch file was working and reinstalling ros2 ...
Pratham's user avatar
  • 25
1 vote

"No module named roslaunch" for ROS 2

Well unfortunately I can't comment (as the stupid rule is to have more than 50 rep) so here I am commenting in answer. Can you share the result of the ...
aarsht7's user avatar
  • 75
1 vote
Accepted

ROS2 Launch file is not found

As you can see, no files from your package seem to be installed in the install folder. This is because your package.xml ...
oKermorgant's user avatar
1 vote
Accepted

Is it possible to run ROS2 Humble and Ubuntu 22.04 on a Jetson Nano Orin (other than through Docker)?

You can build from source, I have a video about this actually https://www.youtube.com/watch?v=kQLPupPkQiU
Steve Macenski's user avatar
1 vote
Accepted

How to solve the ERROR Cannot locate rosdep definition for [PCL] in ROS2 Humble?

I'll explain the error first and then get to further details. ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: lidar_odometry: Cannot locate ...
ssarkar's user avatar
  • 500
1 vote

How to get select ROS2 network interface with xml working

The problem seems to consist of multiple parts: I put the interface name under the 'address' field ROS foxy does not seem to support whitelisting per interface ...
Bart B's user avatar
  • 11
1 vote

How to set the value of a specific element of parameter array

I do not believe so, they're taken in whole. Perhaps an option would be to use the parameter client to get the current parameter setting, then take that structure, make your change, and submit the ...
Steve Macenski's user avatar
1 vote
Accepted

Robotic arm moves on loading inside Gazebo

Include gazebo_ros2_control plugin as ...
Anubhav Singh's user avatar
1 vote

Robotic arm moves on loading inside Gazebo

Why you want to use gazebo if you take the hardware component from example_8? How do you interface gazebo at all if you use the hardware component? Use gazebo_ros2_control, because this loads the ...
Christoph Froehlich's user avatar
1 vote
Accepted

Nav2: Migrate from nav_msg::getPlan

Ok, after trying I ended up with an implementation that works. I was almost there, actually. The solution summarizes as: Multithreaded executor. Two callback groups ...
joanvallve's user avatar
1 vote
Accepted

Ros2 Dictionary srv/msg type

Dictionaries are not a natively supported type. And we actually encourage things to be strongly typed, where a dictionary is not because it can contain approximately arbitrary data. When you receive a ...
Tully's user avatar
  • 24.9k
1 vote

Not able to use usb_cam package

Try installing the earlier version of pydantic: pip install pydantic==1.10.9
patsyuk's user avatar
  • 11
1 vote
Accepted

How to make tagged union (aka sum type) in ROS message?

rosidl doesn't have a native way to support that. The pattern most commonly used is to do variable length arrays of each data type. It doesn't enforce the one part but you can gather a few different ...
Tully's user avatar
  • 24.9k
1 vote
Accepted

Viewing laser scan data coming from Raspberry pi using Laptop

I was able to set it up after setting x11 server and x11 forwarding. Thank you for all of your support as well.
Dinoj's user avatar
  • 11
1 vote

How to speed up colcon build (notably slower than catkin/cmake) and or debug causes?

It may happen that there are cases where your files are not setup correctly or there are some dependencies issues. In my case I just had to change the Nvidia Graphics driver. Below I have provided ...
Avisheet Srivastava's user avatar
1 vote

ROS2 Docker: Node/topics not showing up in list

I got into the same issue. Turns out in my .bashrc I've set the ROS_LOCALHOST_ONLY variable as 1. Switched it back to 0 (By ...
George Fransua's user avatar

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