Skip to main content

Questions tagged [ros2]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Use ROS2 PID Controller with External State

I want to use ROS2 control PID controller plugin with my external sensor. The documentations mention how to configure the yaml file and I did mine as follows: ...
Mohamed Abduljawad's user avatar
0 votes
0 answers
9 views

Subscribing to the same topic from two nodes causes doubled network load

I am using ROS2 with default fast dds. When subscribing to the same topic from multiple nodes(subscribers are on the same device, publisher on different device) I see that the same rtps message is ...
SEC's user avatar
  • 3
0 votes
0 answers
10 views

Unable to use Rosdep in humble-ros-base-jammy docker image on Pi 4

As the title states im trying to use a Raspberry Pi 4 running Raspbian Lite 64bit (I've had issues with just running ubuntu so I wanted to try it) but its unable to find any rosdep packages, I know ...
FalOn's user avatar
  • 11
0 votes
0 answers
13 views

Grid mapping not correctly working

I am working with ros2 foxy,raspberry, and rplidar to build 2D grid map for a mobile robot. I am using ros2 slamtoolbox with following command ...
Mubashir's user avatar
0 votes
0 answers
6 views

GPS navigation custom implementation works well when world is centered at zero lat long but fails when spawned at different co-ordinate

I made my GPS navigation package that takes in GPS , IMU readings, calculates the required bearing, current heading and commands the robot to move to a defined goal. To find out the initial direction ...
you_know_who's user avatar
1 vote
1 answer
8 views

TimeSequencer in message_filters not compiling

I'm trying to use ROS 2 Jazzy message_filters::TimeSequencer with a message_filters::Subscriber to periodically receive messages....
Hina's user avatar
  • 21
0 votes
1 answer
17 views

Return a result using Nav2 Behavior

I am trying to write a behaviour plugin which using Timed Behaviour. The behaviour does some calculations and the return a result, which has to be written to the blackboard of the bt_navigator. Is ...
Sriram's user avatar
  • 105
0 votes
0 answers
16 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 ...
Steve Brown's user avatar
0 votes
1 answer
8 views

Rclpy won't initialise my MultithreadedExecutor

I'm just trying to get the nodes to initialize that's all. Even running almost empty code with just the executor gives me back: AttributeError: 'NoneType' object has no attribute 'add_node' [ros2run]:...
Dark's user avatar
  • 1
0 votes
0 answers
54 views

Slam toolbox, how to connect map to odom?

I am trying to make my first setup to start mapping with slam_toolbox. I'm using a raspberry pi 4 to connect my hardware, it's running ROS2 humble and ubuntu server 22.04, everything runs on the ...
Henk's user avatar
  • 1
1 vote
0 answers
16 views

ROS2 cannot find "base_link"

I am trying to transform points from the camera coordinate frame to the base coordinate frame in ROS 2. Here’s my code: ...
Arjun Gupta's user avatar
0 votes
1 answer
21 views

Failed to load the ign_ros2_control-system, but I have the plugin installed and verified by locate command

I am trying to load my robot model into gazebo with controllers. However, this specific plugin cannot be found. Gazebo Fortress starts up fine and my robot model spawns too. Does anyone know the ...
Rae's user avatar
  • 1
1 vote
0 answers
6 views

ROS 2 send_action_goal Operation not Recognized

Description After installing rosbridge_server with apt-get, I try to run the example of action client in ROS 2 from roslibjs. The ros client is connected but then when the example code tries to send ...
Ugo sans H's user avatar
1 vote
0 answers
8 views

freely moving joints(non-actuated) not visible in rviz

I am working on a 4 wheel robot. I have added the 4 wheels under ros2_control tag for the controller to use it. Now I also have multiple continuous joints(connecting the rollers in the image below) in ...
Pratham's user avatar
  • 63
0 votes
0 answers
15 views

How to use Gazebo Fortress camera plugin from URDF?

I am trying to define a regular camera to be used in Gazebo Fortress from a robot description topic created from a URDF file. In my urdf.xacro I have included the camera plugin like so: ...
b0xermatt's user avatar
1 vote
1 answer
26 views

How to maintain a single package version numbers across multiple ROS2 distros?

Assuming you maintain only a single ROS2 package version, i.e. you always keep the sources identical across all ROS2 distros, and you want to release all packages with the same version number on all ...
Bernd Pfrommer's user avatar
1 vote
0 answers
9 views

Amcl failure with nav2 tutorial

I've been messing around with nav2 lately and i tried some of the tutorials (more specificaly https://docs.nav2.org/tutorials/docs/navigation2_on_real_turtlebot3.html). It's a straight up tutorial and ...
kljako 's user avatar
0 votes
0 answers
14 views

I'm having trouble writing ROS2 Launch files in Python

I'm having troubles writing Launch files in Python. I find python Launch files very complicated. The problem is that I don't really understand all of these modules. I can't find good documentations ...
ABDULRAHMAN_GODA's user avatar
0 votes
1 answer
27 views

Diffbot/robot not responding to teleop_keyboard_twist command in rviz2

My current setup: Ubuntu 22.0 running ROS Humble Hawksbill. Issue at hand:- I'm using the teleop_twist_keyboard package to control a robot in RViz with my keyboard. Here's the command I'm running: <...
RawStone's user avatar
0 votes
0 answers
32 views

from autoware_auto_msgs.msg import BoundingBoxArray ModuleNotFoundError: No module named 'autoware_auto_msgs' OSSDC SIM with Autoware.Auto and RViz

I am currently working on integrating the OSSDC simulator with Autoware.Auto and RViz. However, I am encountering a couple of issues that I need some help, I am trying to import BoundingBoxArray from ...
Suraj20's user avatar
0 votes
1 answer
26 views

ROS2 Jazzy Installation Question (Raspberry Pi 4B)

I have been struggling with getting ROS2 to work properly on Raspberry Pi 4B. As a newcomer to this area, I have a fundamental question - given that I have setup my Raspberry Pi 4B with the Ubuntu 24....
Nithin Ganesh Prasad's user avatar
0 votes
0 answers
6 views

Creating a custom urdf (and launch file?) to allow rviz/moveit to plan for ur3e with robotiq hand-e gripper?

Good morning everyone! I'm using a ur3e with a robotiq hand-e gripper, trying to get it set up in ROS2 Iron so that we can control the arm from MoveIt. I've installed the ur_robot_driver via apt and ...
Kat's user avatar
  • 1
1 vote
1 answer
43 views

Making an existing Python program work as a ROS 2 node: Is there an easier way?

I have a web backend written in Python—call it backend—that I would like to function as a ROS 2 node. That backend has its own dependencies on Python versions and ...
Sami Liedes's user avatar
0 votes
0 answers
8 views

esp32 s3 does not connect with micro ros after first connection, needs hardware reset to connect again

I am new in robotics and would like to ask some help. I am using ESP32 s3 N16r8 for a project with a micro ROS on it for communication. It is only subscribing to a topic. It's working fine if you ...
Anya's user avatar
  • 1
1 vote
1 answer
35 views

Gazebo Bridge is not working correctly in Gazebo Sim

I am trying to make a 4 wheeled robot simulation in Gazebo Sim (formerly Ignition). I am using the differential drive plugin for driving the robot using teleop through /cmd_vel topic. My system ...
Nilutpol Kashyap's user avatar
0 votes
1 answer
18 views

ROS2 load namespace from yaml in launch file

SO basically what I am trying to do is load multiple parameters from one yaml file and distribute them to multiple nodes. I have provided the code below. Basically instead of launch parameters I want ...
Lily Lamb's user avatar
1 vote
1 answer
25 views

Invalid ELF header when launching composable node ROS2 Foxy/Humble

I followed the basic C++ publisher tutorial to create a minimal publisher. This works. I then followed the basic launch file tutorial to create a launch file for the minimal publisher. This also works....
jorb-g's user avatar
  • 21
0 votes
1 answer
19 views

message_to_yaml does not convert string/list variable

I have a python script that I can use to de-serialize a rosbag. I can specify the topic I want to extract, and the script will take care of going through the database and de-serialization the ...
Razgriz's user avatar
  • 111
1 vote
0 answers
26 views

Do subscribers in ROS2 have to subscribe to the same data types as publishers?

I would like to modify the message posted by the publisher directly from the subscriber side. So I tried the following method: pass reference to modify directly on subscriber side, but it doesn't ...
xudadi's user avatar
  • 11
1 vote
1 answer
26 views

What is Clamping in RRT path planing algorithm for robotic arm

I am trying to understand the working of RRT for robotic arm. What is the purpose of clamping in RRT? Here is the config file i am trying to understand. ThankYou
Pratham's user avatar
  • 63
0 votes
0 answers
14 views

How to move an aruco marker in Gazebo Garden

I am working on precision landing using PX4 and ROS2, I am able to land on static targets in simulation but I would like to try landing on moving targets. Is there any way to make the aruco marker ...
Patrik Pördi's user avatar
1 vote
2 answers
54 views

My rear wheels are moving in opposite directions to the front wheels

I am working using ros2 on the keyestudio ks0223 smart car. I am using a diff_drive control. At this point, my right rear wheel goes in the opposite direction to the right front wheel. (for some ...
Future Programmer's user avatar
0 votes
1 answer
27 views

Example using rqt_joint_trajectory_controller

Background I would like an example of using rqt_joint_trajectory_controller to control a robot with ros2_control. I am trying to use this graphical interface to control the UR3e robot arm in Gazebo. ...
logandihel's user avatar
0 votes
0 answers
6 views

RVIZ2 Dockable Panel Plugin documentation

Is there documentation anywhere on how to make a dockable panel plugin for RVIZ2? I've been having a lot of trouble trying to figure this out. The only documentation for RVIZ panels is for ROS1, and ...
Ryan Roche's user avatar
0 votes
0 answers
16 views

ROS2 Windows 10 Could not import 'rosidl_typesupport_c' for custom msg/srv

I was following this tutorial about implementing custom msg/srv files but I'm getting an error whenever I build my "talker" package. ...
YKS's user avatar
  • 1
0 votes
0 answers
19 views

Diff drive robot can not turn

I made a diff drive robot in the gazebo simulation, but it does not turn while moving forward. As seen in the video, although the right wheel rotates faster, the robot does not turn left. What could ...
gurselturkeri's user avatar
1 vote
1 answer
40 views

IMU Orientation from madwick filter is stucked between -+ 90°

I'm currently trying to estimate orientation from imu data under ros2 humble. I've created a ros2 node "imu_publisher" which get imu data, compute orientation using madwick filter and ...
Kevin_dans_son_garage_du_63's user avatar
0 votes
0 answers
22 views

ROS2 rqt C++ plugin, undefined symbol from qt_gui_cpp

I am trying to port a Noetic C++ rqt plugin to ROS2. I did not find any tutorial or help, except question 103235 here (Where can I find an example of a C++ ROS 2 rqt plugin?). It led me to look at ...
Alexis Scheuer's user avatar
0 votes
0 answers
17 views

Compile ROS2 from source on a Raspberry Pi (raspbian): how to pass `-latomic` flag correctly?

I'm trying to compile ROS 2 (ros_base) on a Raspberry Pi running some 32bit Raspbian "bullseye" (some RevPi device with the factory installed image, armhf ...
moooeeeep's user avatar
  • 184
0 votes
0 answers
11 views

Policy CMP0009 is not set

When I build my package in ROS2 Humble, I receive the following warning: ...
Nu99RI's user avatar
  • 1
0 votes
0 answers
17 views

ros2 controller manager does not spawn move group

I am using a real UR10e and controlling it with ros2 humble on Ubuntu 22.04. What I am trying is to define the planning_pipelines as is done in this ...
Single-Arm-Endeavour's user avatar
0 votes
0 answers
17 views

micro-ROS in 1 LAN can communicate like ROS2 (DDS middleware)

ROS 2 uses DDS middleware for communication between nodes. If a microcontroller uses micro-ROS, can it communicate in the same way as ROS 2 nodes? Specifically, can MCU1 communicate with MCU2?
thong tran duc's user avatar
0 votes
0 answers
20 views

Turtlebot4 - Oakd Camera topics missing on workstation but seen on turtlebot4 rapsberry pi device

I am working with turtlebot4 on an object detection project. I want to access its oak-d camera on my workstation. The issue I face is, when I do ros2 topic list on ...
Niz's user avatar
  • 1
0 votes
1 answer
40 views

ROS file structure

Can someone please explain the ROS2 file structure. I am trying to build a package and I am not sure how to approach the following problem. I have a c program that should use a file for config data (...
michael86's user avatar
0 votes
1 answer
50 views

ros2_control error: controller manager not available and cannot parse params file

I am following the Articulated Robotics tutorial on simulated ros2_control. However, when it comes to running the launch file (launch_sim.launch.py), this is the output: ...
Flamethrower's user avatar
0 votes
0 answers
13 views

Imu Gazebo Plugin Problem

I know the question I'm asking may be very easy, but since I'm new to ROS2, I'd appreciate it if you could help me. I use the Imu plugin in my project, but I don't have the ability to change its ...
Hamid Khabazi's user avatar
0 votes
1 answer
13 views

Waiting for '/controller_manager' services to be available (on real hardware)

New to ros2 here. I am using ros2 humble. I am taking to use ros2_control for the keyestudio ks0223 smart car (it uses gpio pins). I keep getting Waiting for /controller_manager to be available when I ...
Future Programmer's user avatar
0 votes
1 answer
27 views

remapping lifecycle node from /ldlidar_node/scan to /scan data not published

I am using ldlidar for cartographer slam ros2 humble. The ldlidar published scan data on topic /ldlidar_node/scan but the cartographer node expects scan data on <...
Mubashir's user avatar
0 votes
0 answers
14 views

Mobile manipulator with MoveIt

I am working on a mobile-manipulator having a robotic arm and a mobile base. The mobile base is a 4 wheel holonomic drive(mecanum wheels) robot. I am trying to use MoveIt for controlling the arm and ...
Pratham's user avatar
  • 63
0 votes
0 answers
30 views

Cannot build moveit

I followed every step in the installation tutorial but getting error in moveit_core. I heard about updating osqblib and the issue still persists. distro : Ros humble os: Ubuntu 22.04.4 LTS ...
persona's user avatar
  • 23

1
2
3 4 5
69