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
18 views

ROS2 most appropiate way for central data storage

I am currently working on a ROS2 project that includes various components, such as a behavior tree, sensor processing, and a GUI. I'm in need of a central data storage solution where each component ...
guerteltier's user avatar
0 votes
2 answers
41 views

YAML-standard parameter specification not one of the allowed types

I'm having a problem regarding code migration from ROS Noetic to ROS Foxy. The problem is related to parameter access from scripts. I'm using Python nodes for my code. Originally these sorts of YAML ...
juxyper's user avatar
0 votes
1 answer
57 views

ROS2 rqt_plot is not showing anything

i am using ROS2 foxy on Ubuntu 20.04, i have implemented a publisher node, which publishes data into a msg, i start the publisher and i can see the published data using ros2 topic echo /topic_name, ...
locki's user avatar
  • 3
0 votes
0 answers
31 views

Ros2 robot won't move sideways with dwb or mppi controllers

I am unable to get the mppi or dwb controllers to move in the Y direction. If I set a goal that is close to the current position parallel to the current robot heading, the robot will shimmy back and ...
robo-ryan's user avatar
1 vote
0 answers
54 views

Why is object recognition not available in ROS2?

I need to detect known objects in a workspace and generate very good 6-DOF pose estimates for an automated assembly project. I would prefer a non-neural-network approach, something like 3-D features ...
phugoid's user avatar
  • 11
1 vote
1 answer
24 views

Compilation error when subscription callback's input is of certain type

I did an experiment where I tried all combinations of const, &, and SharedPtr as the input to the subscription callback. The message type is ...
jlee's user avatar
  • 25
0 votes
1 answer
37 views

mapviz won't show map on real robot

I've installed mapviz from binary on ros2 iron following this tutorial for navigation stack. Everything works as expected on that demo. I can launch mapviz and the map shows up. I can change lat/lon ...
Leonardo Garberoglio's user avatar
0 votes
0 answers
16 views

Are there ROS2 fiducial markers

I have not been able to get any marker nodes to build for Humble. The ones I've tried are riddled with depreciated OpenCV code.
Alan Federman's user avatar
0 votes
0 answers
10 views

adjusting Timer period as it is in use, RCLCPP

I am using a rclcpp Timer, namely: rclcpp::TimerBase::SharedPtr timer = this->create_wall_timer(100m, std::bind(&MyTimerProg::timer_callback, this)); I would like to adjust the timer period as ...
Can Altineller's user avatar
0 votes
2 answers
96 views

Mapping not working in gazebo, /scan messages published on wrong topic

I am pretty new to gazebo and am currently trying to simulate my physical robot. I have already created a world and am now trying to create a map for it. I am using this repository for all the launch ...
DJ1NN's user avatar
  • 21
0 votes
1 answer
24 views

Recursive launchfile call falling to execute

I'm working on a launchfile that recursively calls itself N times, depending on a parameter. However whenever I try to run it no nodes are initialized, could you help me find the error ? Thanks a lot <...
Lavnir's user avatar
  • 1
0 votes
1 answer
38 views

how can I reset robot localization in runtime

I'm using ros2 iron and robot_localization with dual EKF and navsat on an outdoor rover. After some time of working I would like to reset the filter as if I turn it off and re-launch it. Is there a ...
Leonardo Garberoglio's user avatar
0 votes
2 answers
71 views

tf-prefix problem in turtlebot3 (ROS2 Foxy)

I am trying to namespace the topic, nodes and tf frames of a turtlebot3 to use it for multirobot experiment. So, i created a rsp.launch.py file to just publish the robot description at first using the ...
nitish's user avatar
  • 21
0 votes
2 answers
36 views

Where can i find the code about move_group_interface.plan method?

I'm studying moveit. A trajectory was created through a method called plan, but I couldn't find the process, so I asked a question. thank you
ertretff's user avatar
0 votes
0 answers
27 views

Terminal closes abruptly during MoveIt 2 source build

I'm encountering an issue while building MoveIt 2 from source following the official documentation. The problem is that the terminal closes automatically before the build process completes. Steps ...
Darshi Dwivedi's user avatar
0 votes
0 answers
14 views

Seeking Advice on Quantitative Evaluation Metrics for 3D Environment Generation?

I am currently engaged in a research project in the field of robotics, focusing on the development and evaluation of photorealistic 3D virtual environments for robot manipulation and navigation. Our ...
assa's user avatar
  • 1
0 votes
0 answers
14 views

What Quantitative Evaluation Methods Should Be Used for Robotics Simulation Research by ros2?

I am part of a research team working on robotics, and we're currently exploring the creation and evaluation of photorealistic 3D virtual environments for robot manipulation and navigation tasks. Our ...
assa's user avatar
  • 1
0 votes
0 answers
25 views

ros2 gripper change

i have the following request and i would like my robot arm from universal robots to change its gripper dynamically and place it in the appropriate position and attach the desired tool to the flange. ...
bu bu's user avatar
  • 1
0 votes
0 answers
22 views

ROS2 message_filters: Is it a bug in The Latest Time synchronizer?

In message_filters/include/message_filters/sync_policies/latest_time.h rates_ is array of ...
chenhao wu's user avatar
0 votes
1 answer
164 views

Installed ROS2 Humble but rclpy not found

I installed ROS2 humble as per the instructions on https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html on Windows 11 WSL2 using Ubuntu 22.04. No issues during installation and ...
Razgriz117's user avatar
0 votes
1 answer
31 views

Errors with colcon using ros2 tutorial

I've installed ROS2 iron and am following the tutorial [here]https://docs.ros.org/en/iron/Tutorials/Beginner-Client-Libraries/Colcon-Tutorial.html. I have followed the steps up to and including "...
Jevers's user avatar
  • 11
1 vote
0 answers
32 views

Ground truth robot position from Ignition Gazebo Sim to ROS 2

Gazebo Sim 6.15 (Fortress), ROS 2 Iron. I want to get "ground truth" robot position into ROS, so that I could use it to validate diff_drive odometry (combining it with IMU to detect wheel ...
Mere Loom's user avatar
0 votes
0 answers
16 views

Gazebo doesn't free RAM when deleting a TurtleBot3 model using the /delete_entity service

For the needs of my project, I wrote a node in ROS2 that sequentially pauses the simulation in Gazebo, spawns the TurtleBot3 at the desired location, starts the simulation, pauses the simulation, and ...
mkaniews's user avatar
1 vote
0 answers
54 views

What is the best way to simulate Lidar for ROS2? Having problems

I have been trying to work out how to simulate a LiDAR using ROS2 / Gazebo, however I am having trouble getting anything to work properly. I am using ROS2-humble and IGN gazebo fortress I have tried 2 ...
Friizzle's user avatar
-1 votes
0 answers
19 views

Zed2 Object detection on ROSBAG data

Description I recorded zed2 topics using ros2 in a Rosbag file. I am aiming to replay this rosbag and utilize zed2 object detection on my rosbag data and visualize it in Rviz. This is the zed/zed_node/...
Shubham's user avatar
-1 votes
1 answer
60 views

Cannot communicate between ROS 2 (in Docker container) on Raspberry Pi and ROS 2 on Laptop

My setup is: ROS 2 Galactic on my laptop (Ubuntu 20.04) ROS 2 Humble in a Docker container on a Raspberry Pi 4 (Ubuntu Server 22.04) Testing communication using: ros2 multicast send and ros2 ...
JassD's user avatar
  • 1
0 votes
2 answers
63 views

What is the frame name in a TF2 transform?

Often in literature and tutorials the concept of a "Frame" is used. In TF2 a frame requires both a parent and a child name. So when someone refers to "frame" are they referring to ...
FourierFlux's user avatar
0 votes
1 answer
28 views

Launch_arguments doensn't work

I'm trying to run a LiDar driver from my robot bringup launch file, I ofcourse need to give the launch file arguments: hostname and frame id, when running this from CLI it works fine and when I'm ...
Coen H's user avatar
  • 21
0 votes
1 answer
23 views

turtlebot4 nav2: how to call action navigateToPose from node in cpp

I am migrating a node that send goals to nav2 (originally move_base) thru an action since I need to know if it has been reached or cancelled by the planner. It will work with the Turtlebot4. I've been ...
joanvallve's user avatar
0 votes
0 answers
42 views

FIXED ROSCORE Error when trying to run

[FIXED] Both comments under this post solved the issue, i was trying to run rviz with the command rviz and not rviz2 and it turns out i had a weird mix of ROS 1 and ROS 2 so uninstalling and ...
Oliver Steiner's user avatar
0 votes
1 answer
129 views

FIXED How do i install Xacro for ROS2 humble

I have installed ROS2 Humble and I need to install something called Xacro but i cant find any info anywhere on how and when i try to run ...
Oliver Steiner's user avatar
0 votes
0 answers
27 views

Robot not moving in Rviz [duplicate]

I am working on a 4 wheel ackemann steering robot. The robot is working fine and is moving as expected in Gazebo but it is not moving at all in rviz. Even its wheels are not moving (by looking at TF ...
Pratham's user avatar
  • 25
0 votes
0 answers
12 views

Unable to launch the node with admin access on Windows

My setup: Windows 11 ROS2 IRON patch release 3 VS studio 2019 When I execute the launch file on the terminal with admin access, it hangs and shows the following info: ...
Yernar's user avatar
  • 1
0 votes
1 answer
78 views

No module named 'moveit_ros_planning_interface'

Environment Information: ROS 2 Distribution: Humble Operating System: Ubuntu 22.04 Python Version: 3.10.12 MoveIt Installation: ...
Darshi Dwivedi's user avatar
0 votes
0 answers
27 views

Logitech Gamepad F310 Joystick is not working on ROS 2

I am trying to do teleportation of a mobile robot using ROS 2 Humble and with Logitech Gamepad F310 joystick. I am using the following command: ...
Macedon971's user avatar
0 votes
1 answer
29 views

iRobot Roomba compatible with ROS2 other than the Create?

I plan to buy an iRobot to test ROS2, but the Create 3 not available in my country, import tax and shipping cost may very high, also sometime custom will reject the import. But many other model from ...
DzungPV's user avatar
  • 103
0 votes
2 answers
46 views

ROS2 message filters

I'm trying to figure out how to use message filters in ROS2 galactic in python. From this example https://github.com/ros2/message_filters/blob/rolling/test/test_approxsync.py I see that ...
WeirdRobot's user avatar
0 votes
0 answers
28 views

ros2_canopen implementation motor

I implemented the ros2_canopen Package for my Motor. So, the device started and i configured all the stuff with the yaml file. My yaml file can you see below: ...
H10's user avatar
  • 1
0 votes
2 answers
54 views

Colcon build unsuccessful

I'm trying to build an old package. I'm not able to build the package successfully. Here is the repo for the trial. I'm using ROS2-humble ...
Adithya Damarla's user avatar
0 votes
0 answers
22 views

ROS2: Record two rosbags at a time - snapshot and continous - and control it via service

i want to trigger several rosbag records from a node and wonder what is the best way to do it. I know that there is a tutorial about recording from a node but i think the described way is not the best ...
Jens's user avatar
  • 1
0 votes
1 answer
21 views

Increasing the obstacle detection range in costmap ROS2 Foxy

I am running Nav2 Foxy version in my self build navigation robot. The whole system works without any issue and now i am trying to tune some parameter in the costmap to increase the obstacle detection ...
user38130's user avatar
0 votes
0 answers
44 views

how can i run a ros2 launch file on startup?

I have a python file running the ros2 launch file ...
Danana's user avatar
  • 33
0 votes
0 answers
7 views

Is there a way to leverage a custom inertial model for the robot_localization state estimation EKF?

I have a model I evaluated that better models the state of the system my EKF is tracking than the out-of-the-box model provided by robot_localization. Is there a way to just swap out the inertial ...
Joe Tekk's user avatar
0 votes
0 answers
19 views

Cannot see the topics from a different terminal of the same machine when ROS_LOCALHOST_ONLY=1

I understand that ROS_LOCALHOST_ONLY=1 makes topics visible only from the local-host machine. So I guess that it should be possible to see the topics from another ...
최진영's user avatar
0 votes
0 answers
23 views

CycloneDDS is not working well ROS_LOCALHOST_ONLY=1 in ros2 humble

First, I configure the .bashrc file with: export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp export ROS_LOCALHOST_ONLY=1 But I got following error when run any ros ...
Phymin's user avatar
  • 13
0 votes
2 answers
68 views

Issue with Continuous Map Creation Using YDLidar X2 and ROS2 Humble SLAM Toolbox

I'm currently facing an issue while working on my robotics project. I have set up a dynamic transform for Lidar data from Map-> odam-> base_footprint->base_link. Following this, I run the ...
Tharani's user avatar
0 votes
0 answers
5 views

running turtlesim in windows 10 makes error

I have installed ros2 foxy in my system(due to go with a ROS2 tutorial) and according to the document which ros provides , I did it OK and also I run talker and listener example and it is OK. the ...
Amin Darestani's user avatar
0 votes
0 answers
19 views

WebotsController cannot read ros2_controllers generated from Moveit

So, I have been trying to use a modified UR3e robot with Moveit in Webots simulation. The configurations are created by moveit setup assistant. I start from modifying the provided launch files from ...
TonySatoru's user avatar
0 votes
1 answer
18 views

What is the difference between JointJog msgs and JointTrajectory msg in ros2?

I am learning ros2_control and have encountered a JointJog message. Can anyone explain in what context both messages are used? Is it possible to convert JointTrajectory msgs to Jointjog message? Thank ...
Hem92j's user avatar
  • 76
0 votes
0 answers
18 views

ROS2 No module named 'tutorial_interfaces.tutorial_interfaces_s__rosidl_typesupport_c'

I'm trying to build a custom msg (following the tutorials) and I found myself stuck with the error "No module named 'tutorial_interfaces.tutorial_interfaces_s__rosidl_typesupport_c'" when ...
Lavnir's user avatar
  • 1

1 2 3
4
5
57