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
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
17 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
18 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
13 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
18 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
22 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
52 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
15 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
32 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 vote
0 answers
19 views

Rotation Shim Controller is not triggered

I'm using Nav2 on Ros2 Humble to control my differential robot. The controller I use is Rotation Shim Controller and DWB Controller. The problem is that the Rotation Shim Controller is not triggered ...
Nguyễn Lê Phong's user avatar
0 votes
0 answers
7 views

ROS wrapper and IPCF

How do I build a ROS wrapper around inter-process communication between 2 cores so the processor receives/ transmits messages through shared memory using ROS topics?
jayashree's user avatar
0 votes
1 answer
39 views

URDF File is not parsed, robot state publisher sees the robot description empty. RCLCPP does not exist in libexec?

After finishing the migration of a project for a simulation of a robot, my first launch file which i will provide later contains the robot state publisher, which I give the the robot description and ...
Omar El Sherbeny's user avatar
1 vote
0 answers
11 views

Add constraint to maximise momentum in moveit

Is it possible to add constraint to trajectory planners in MoveIt to plan a trajectory such that it maximize momentum? For example lets say I want a robotic arm to hit an object. In this case I would ...
Pratham's user avatar
  • 63
0 votes
0 answers
5 views

stereo_image_proc produces disparity map but all points are zero

I am running into a problem where using the stereo_image_proc library on ROS2 Humble I am able to produce a disparity image but when I run the disparity through the pointcloud node all the points are ...
Sebastian Pelletier's user avatar
1 vote
0 answers
17 views

Building ROS bridge because of own ROS 1 msgs

I want to build the ROS1 bridge by myself and I've read the documentation. But for the most important part I didn't find anything on the documentation, it only mentioned that you should define your ...
Hunk's user avatar
  • 111
0 votes
1 answer
46 views

ros2 launch.py fails to build moveit configuration package

I have been trying loads of different things to try and get my custom urdf/srdf to launch that I created with the moveit2_setup_assistant on ROS 2 Humble (Ubuntu 22.04). I have been somewhat ...
Single-Arm-Endeavour's user avatar
1 vote
0 answers
10 views

Gazebo Migration - Topic bridge

Thanks again to the Gazebo devs for the Gazebo Migration guide. I see that in the guide Gazebo topics are bridged one-by-one to ros2. Is there any option to bridge all topics in both directions by ...
gtoff's user avatar
  • 21
0 votes
0 answers
22 views

Gazebo Fortress `gz-sim-joint-state-publisher-system` isn't publishing any messages to /joint_states topic in ROS2

I've been trying to set up Gazebo Fortress for ROS2 Humble, and I'm trying to do it without ROS2 Control. I set everything up to publish my joint states from Gazebo, and it's creating the ...
FalOn's user avatar
  • 11
0 votes
0 answers
9 views

Not getting intensity data from pointcloud when using gpu lidar in gazebo

I was trying to work on lidar point cloud using PCL by simulating a lidar in gazebo fortress and ROS 2. I am able to process the data but I always get the intensity as zero. Is there a way I could get ...
Rajas Joshi's user avatar
0 votes
1 answer
26 views

How to share data between two different processes in Linux?

On my Ubuntu 22.04 I have the following situation: ROS2 is installed system-wide and not in an environment PyTorch is installed in its virtual environment My concept look likes the following schema: ...
Wilhelm's user avatar
  • 702
0 votes
1 answer
18 views

Camera topics visible in topic visualization, but not in `ros2 topic list` -- [Ros2, Gazebo Classic]

I've spent way too long trying to figure this out so any help would be really appreciated. I am working on porting a simulation setup over to ros2 from ros1. I am using the PX4 Gazebo Classic ...
Kin Blandford's user avatar
0 votes
0 answers
7 views

Cannot install gazeb_ros_pkgs from source due to protobuf incompatibility

I'm trying to install gazebo_ros from gazebo_ros_pkgs. I'm using Ros2 humble and gazebo-11.11. I'm working on a Lambda and I have to install everything from source. The gazebo was already installed ...
Ilse's user avatar
  • 1
0 votes
0 answers
12 views

Gazebo Migration - Sensor plugins in world

First of all thanks to the Gazebo devs for the Gazebo Migration guide. Quoting from the guide "As mentioned earlier, sensors are handled by generic world level plugins. [...] Therefore, we have ...
gtoff's user avatar
  • 21
0 votes
0 answers
10 views

"/gazebo/apply_body_wrench" service is missing

I want to apply force to an object in ROS2 Gazebo but "/gazebo/apply_body_wrench" service is not available in ros2 service list. After adding "...
Pratham's user avatar
  • 63
0 votes
0 answers
11 views

ROS2 Humble - FastRTPS - Bad performance on wireless network with multiple robots

I have multiple robots, that I want to run on a wireless network, and control them from the base station. The robots must work even if the network connection is bad/there isn't one. The robots have an ...
Krzo's user avatar
  • 11
0 votes
0 answers
8 views

inconsistent bounce behaviour of ball in gazebo

I am trying to simulate a tennis ball in gazebo. The issue is that the ball is having inconsistent bouncing effects. Means the ball is bouncing different number of times when released from the same ...
Pratham's user avatar
  • 63
2 votes
1 answer
16 views

Trying to launch my robotic arm in Webots fails

I am trying to launch my urdf file in Webots but somehow it launches the default robot from the ROS2 Simulators tutorial. I edited the robot_launch.py according to the changes in the tutorial but ...
persona's user avatar
  • 23
0 votes
1 answer
59 views

Sensor fusion with Kalman filter: what should go as "command" in case we have a choice?

Let's say I have a robot with few sensors and dif. drive. And I want to perform sensor fusion using UKF. Dif. drive can take commands, so my first thought was to use command (linear and angular speed) ...
Steve Brown's user avatar
0 votes
0 answers
11 views

Ros2 Canopen Change axis for motor

I running into a problem about my real hardware robot. When building the robot the right wheel motor was installed the other way around, meaning that when the wheel rotates forward in real life, the ...
Rob's user avatar
  • 1
0 votes
1 answer
18 views

Move group is not connected to real robot, geometry_msgs sending goals but nothing happens

I am trying to externally control my ur10e (RS485) on ubuntu 22.04 with ros2 humble and moveit2. I have been able to visualize the robot live on Rviz using the ur_robot_driver and launching the ...
Single-Arm-Endeavour's user avatar
0 votes
0 answers
11 views

Transferring image from between nodes interfere with actions

I wrote two ROS2 (humble) nodes: Node A with image_transport::Publisher topic and several action servers. Image topic broadcasts sensor_msgs::Image message of size 800x480@30FPS from dedicated thread....
Leonid's user avatar
  • 1
0 votes
0 answers
11 views

How to bridge ROS2 with Pepper robot?

I'm trying to find any documentation about bridging ROS2 with Pepper robot but it seems like support is given only with ROS, anyone facing same issue or found a solution? Thank you.
lo3e's user avatar
  • 1
0 votes
0 answers
96 views

High frequency service call cause the freeze of service client on ros2

The service client sometimes freeze in spin_until_future_complete on high frequency service call. I run 1 service server and 3 service clients which call service on high frequency. I tested it on ros:...
kjjpc's user avatar
  • 1
0 votes
1 answer
35 views

ros2 commands fail on Jazzy when RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

Description I have installed ROS 2 Jazzy on Ubuntu 22.04. If I just ros2 topic list and ros2 run demo_nodes_cpp talker on the ...
Ruben Alves's user avatar
0 votes
2 answers
41 views

Error parsing '/home/kento/ws/src/my_robot_luanch/package.xml':

I was trying to build a python launch file and I got this error ...
mohamed issaoui's user avatar
2 votes
1 answer
23 views

ROS2 Service call inside Lifecycle configure state change

I am working on a simulation environment that uses ROS2 to execute different components and sensors. We currently launch each node with a manager that uses fork/exec. The issue I was having was ...
Tim Swierzewski's user avatar
1 vote
0 answers
21 views

Ekf_node not publishing any tf transform

I am working with Nav2 packages for autonomy. A first step to make this work is to get odometry working. I am trying to get an ekf_node to publish an odom->base_footprint transform (the URDF has ...
Marc's user avatar
  • 11
0 votes
1 answer
32 views

Linear Tool movement with ROS2 moveit2 as in Rviz

I am using a real UR10e controlling it with ROS2 Humble on my Ubuntu 22.04. I am able to control the arm through Rviz when I ...
Single-Arm-Endeavour's user avatar
0 votes
0 answers
22 views

How to apply force to an object in gazebo using script

I am trying to spawn an object in gazebo at certain height and apply force to it in x direction at the same time(when the object is in the air). The object is being spawned successfully. But the force ...
Pratham's user avatar
  • 63
2 votes
0 answers
37 views

How to trigger/start the movement of a ROS2 mobile robot from Gazebo?

I'm developing a ROS2 node that controls a mobile robot in Gazebo Harmonic. For simplicity sake, we can say that all the node does is sending commands to a robot so that it starts moving in circles. ...
pedrofz's user avatar
  • 21
0 votes
0 answers
18 views

add bounce to an object

I am trying to simulate a ball in gazebo. I am able to spawn the ball in gazebo but it fells like it is very stiff. I tried using the kp tag to reduce stiffness but the ball falls through the ground ...
Pratham's user avatar
  • 63
0 votes
1 answer
43 views

joints gimble lock issue

I am trying to create a mecanum wheels by attaching each pinion as a joint to a wheel in URDF. For this, I have rotated the pinion 90 degree(pitch) and 45 degree(yaw). When i am doing these rotations ...
Pratham's user avatar
  • 63

1 2
3
4 5
69