New answers tagged ros-humble
0
votes
How to Run ROS2 Humble natively on Beagle Bone Blue?
Install ROS 2 Humble in Docker - it will surprise you how easy
1_setup_docker_apt_repo.sh
2_install_docker_packages.sh
3_clone_ros_docker_images.sh
4_build_humble_desktop_container.sh
...
0
votes
Nav2 Stack's Behavior tree (BT.CPP) version
We use v3.8 in Nav2 since its been stable and v4 has been under active development and bug fixing the last few months. Things are largely stable now and we do plan to move to v4.4 in January-February ...
1
vote
Is there a workaround to set QoS at launch time?
Actually, yes! The code just has to provide the QoS override as a valid option:
...
1
vote
How can i show on my browser what i see on Rviz?
I assume it is not your intention to use third party tools but these worth giving a try:
Foxglove
webviz
If you don't want to deal with these, then by using rosbridge_suite you can do so:
...
0
votes
How can i show on my browser what i see on Rviz?
https://github.com/dheera/rosboard
I have not tried this, but it could help.
0
votes
Accepted
Who has gotten WiringPi working in a ROS 2 C++ node? Want to control GPIO on Raspberry Pi 4 running Ubuntu 22
Put the wiringPiSetup() inside main and before spinning the node (rclcpp::spin(node)). It ...
0
votes
How can i show on my browser what i see on Rviz?
I guess you are looking for something similar to the RobotWebTools I haven't used it with ROS 2 but with ROS 1 it was working well afaik.
2
votes
Accepted
Which ROS2 Distro? Iron or Humble?
Humble can be a better choice as it has LTS, there will be more stable package releases and more support on he core. Also you can discuss this type of topics at discourse.ros.org
0
votes
ROS2 data exchange over network
Source it : source export ROS_DOMAIN_ID = 1 (int unique num)
save it and check ros2 topic list. if host 1 and host 2 exports same number. it shown the topic otherwise not shown.
0
votes
Associate two executors for a single node
cbg_executor example is what you need.
Please refer the example here, https://github.com/ros2/examples/tree/humble/rclcpp/executors/cbg_executor
1
vote
DWB planner in Nav2 does not properly set scale for critics
I figured it out, it divides the critics (except for RotateToGoal and Oscillation) by 80.
0
votes
Accepted
octomap_msgs/conversions.h: No such file or directory
I'm not exactly sure of the solution to my problem, but I resolved it.
The following is my current source code, CMakeList.txt and package.xml.
octomap_publisher_node.cpp
...
0
votes
irobot create3 topics not found after setup in macos multipass vm
Per the Network Reccommendations, Bridged Network is required:
While many virtualization applications default to a "shared" or "NAT" network connection, this type of connection ...
1
vote
Accepted
Got Pi5 w PiOS Bookworm, Want ROS 2 Humble Desktop Docker with Nav2 and more
You create a dockerfile to build your own docker image starting from the ROS 2 Humble container. Such a dockerfile could look something like this:
...
0
votes
Accepted
Colcon build error : 0 packages finished
I solved this problem by uninstalling "Python 3.12, 64-bit version" which had been installed on my system because I found the CMake error refers to a Python 3.12 on my system and I didn't ...
1
vote
Confirm ROS2 (Humble) IMU node working correctly?
As given in this answer rqt_plot in ROS 2?, you can use rqt_plot in ROS1 or PlotJuggler https://plotjuggler.io in ROS2 to plot your vector components. You can also ...
1
vote
Accepted
Confirm ROS2 (Humble) IMU node working correctly?
Seems that imu_tools has a RViz plugin that can be used to visualize the IMU topic:
https://github.com/CCNYRoboticsLab/imu_tools
0
votes
Colcon build error : 0 packages finished
In your build error message, it looks like you're missing a Python package. I found this https://answers.ros.org/question/257757/importerror-no-module-named-em-error/, which seems to have multiple ...
0
votes
Accepted
executable '[<launch.substitutions.text_substitution.TextSubstitution>]' not found on the PATH
The solution was that I had to install all the dependencies with rosdep. I forgot this step. Thank you @ChristophFroehlich
Follow the tutorial on how to build the ros2 control demos:
0
votes
executable '[<launch.substitutions.text_substitution.TextSubstitution>]' not found on the PATH
Welcome at RSE.
This is maybe the same issue as described here. On which platform have you installed humble, from source or binary? Have you sourced your humble distro like described here? Are launch ...
0
votes
octomap_msgs/conversions.h: No such file or directory
According to this tutorial, your CMakeLists.txt file needs to specify that the compiler use version 14 of the c++ standard.
https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Writing-A-...
0
votes
Renaming odom frame on robot_localization
The EKF node is subscribed to the topic /odom, but you can remap the topic when you launch the node by adding the ...
1
vote
Why TEB controller is not available in ros2 humble?
If you still like to work with TEB, you can clone "ros2-master" branch of teb_local_planner, and build it (I cloned teb_local_planner to the nav2_ws/src (workspace of navigation2))
git clone ...
2
votes
Accepted
Model in gazebo moves violently, with JointTrajectoryController
The issue was with inertia. The inertia was too small and some values were negative. I increased inertia of all the links and it started behaving normally.
0
votes
NAV 2 - Human following with stereo camera
The issue is that human quickly disappears from the field of view of the camera and so robot stops.
If you don't have sensors that can sense the human from a reasonable distance, that sounds like a ...
0
votes
What is node_base_interface used for in ROS 2?
A limitation you'd hit is that the node base interface does not include the parameters, logging, services, ..., interfaces. You'd have to pass each in.
My recommendation is to instead template the <...
0
votes
Model in gazebo moves violently, with JointTrajectoryController
Do you initialize the JTC with any commands, or just activate it and leave it there?
The current released version for humble should not send any commands to the hardware/simulation until the first ...
1
vote
How to convert the kittti dataset into ros2 bags?
https://github.com/umtclskn/ros2_kitti_publishers looks to publish topics live using the native kitti format, you would have to ros2 bag record the published topics to get it into bags.
It hasn't been ...
0
votes
ROS 2 Humble packages absolutely required when building from source
Take a look at the package requirements for the core and base variants at
https://www.ros.org/reps/rep-2001.html
There's some context and discussion here
https://github.com/ros2/ros2_documentation/...
0
votes
Accepted
How do you pass params into another Xacro file via xacro:include? How does the other Xacro file receive that input?
Use the ns tag in the xacro:include.
Resources
ROS Wiki: http://wiki.ros.org/xacro#Including_other_xacro_files
Xacro Repo: ...
1
vote
ROS2bag sample with Images
There is a small short duration mcap bag with images attached to https://github.com/lucasw/ros_one2z/issues/6, and you could run ...
0
votes
Accepted
using fastDDS on 2 computers with ROS Foxy and ROS Humble (Cannot receive topic on host computer)
Communication between different ROS 2 releases is not guaranteed to work, see
this previous answer.
1
vote
Running a websocket server from within a ros2 node
Well, I solved it immediately.
The only change necessary was to add a timeout_sec=0 to the spin_once() call, like this:
...
0
votes
Configure diff_drive_controller in open loop on a real robot
Maybe I'm wrong, but can't you use the EKF as described here? Open_loop only means that the odometry is calculated from the commands instead of reading back sensor values. You anyways will need some ...
0
votes
Turtlebot3 gazebo simulation not loading in ros2 humble
[spawn_entity.py-4] [ERROR] [1700055827.665935221] [spawn_entity]: Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory?
That usually points to needing to execute the gazebo ...
3
votes
Accepted
ROS1 dependency in nav2 tutorial?
gazebo_ros is still used in ROS2. The source code is available here : gazebo_ros ros2 branch
...
0
votes
using catkin win Ubuntu Humble with ROS2 Humble
ROS Humble is a ROS2 distro therefore it uses colcon to build packages instead of catkin tools.
See Migrating C++ Packages - Build system:
The build system in ROS 2 is called ament. Ament is built on ...
0
votes
How to load a ComposableNode based on a condition?
Based on @Steve's suggestion, the following is what worked for me
...
1
vote
How to load a ComposableNode based on a condition?
You have shown the use of the IfCondition for if its true, you can also do the inverse:
...
0
votes
Accepted
`ros2 topic list` from humble throws std::bad_alloc if iron runs on the same network
As explained in this issue, there was a change in rmw_fastrtps_cpp on rolling distro causing the unhandled error in humble. The linked PR fixes my issue.
0
votes
ROS 2 Humble Building From source issues on BeagleBone Black, Ubuntu 22.04.3
First: don't post text output as screenshots. Instead: copy-paste it in a code block, between ``` delimiters, e.g.:
```
[copy - paste]
```
Now, wrt the error: it is about RViz (...
1
vote
libheif-dev dependencies problems with humble on Mint
Solved by
manually downloading libheif-dev_1.14.2-1ubuntu1_amd64.deb
sudo apt install libaom-dev libdav1d-dev libde265-dev libx265-dev
...
0
votes
How to copy the Python variable to inside another class?
import rclpy
from std_msgs.msg import Int32
from pigpio_encoder.rotary import Rotary
def main(args=None):
rclpy.init(args=args)
...
1
vote
How to copy the Python variable to inside another class?
EDIT after seeing the formatted code:
In MinimalPublisher.ticks = counter you are referencing a Class variable. So to make it work you can make 'ticks' a Class ...
1
vote
ROS2 Humble Executable not found
I suggest to install according to the official install instructions, and then to follow the tutorials.
They explain how to create a package, source the ROS install and your own package, etc.
1
vote
Accepted
Nav 2 - Max speed blocked way under the max vel specified
Its hard to help answer any of these types of questions without reproducable examples. There's no hard limit at 1.8947... in the code, so there's clearly something not configured properly that's ...
1
vote
Accepted
Do constant fields in ROS2 topics affect serialized message size?
No.
Looking at the binary data for a visualization_msgs/msg/Marker message saved with ros2 bag, the values of the constants don'...
0
votes
Controller Manager not available
Welcome at RSE.
We released several examples on how to launch gazebo with ros2_control. Please have a look on how to setup your urdf files, writing your launch files, etc.
Example 9 of ...
0
votes
Accepted
Best Robot for Simulation
It depends on what you need to do. I assume you want to do path planning.
If you just need a kinematic model, and you want to build your own path planning algorithm for that model, you can choose any ...
1
vote
Accepted
What is the difference between RCL_STEADY_TIME, RCL_SYSTEM_TIME and RCL_ROS_TIME?
The documentation on the different time sources is here:
There will be at least three versions of these abstractions with the following types, SystemTime, ...
Top 50 recent answers are included
Related Tags
ros-humble × 243ros2 × 149
nav2 × 35
gazebo × 29
ros × 20
navigation × 16
rviz × 12
colcon × 9
python × 8
moveit × 8
raspberry-pi × 7
c++ × 7
rclcpp × 7
ros-foxy × 7
path-planning × 6
urdf × 6
ros2-control × 6
slam × 5
roslaunch × 5
windows × 5
ubuntu × 5
docker × 5
logging × 5
sensors × 4
simulation × 4