Questions tagged [ros]

ROS (Robot Operating System) is a free, open-source robot software framework initially developed by Willow Garage. And now under the maintenance of Open Robotics.

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

ros2 parameter setting

I would like to follow a simple take off and land example without any launch files or yaml files on ros2 crazyswarm (Physical Experiments part). What could be the reason for the following output, ...
nejattukenmez's user avatar
0 votes
1 answer
49 views

Inconsistent results from lookupTransform in tf

I'm performing AprilTag detection. I've calibrated my camera for the 'camera_link.' I want to obtain the world position of the detected tag (in this case, 'tag_0') using the following code. When I run ...
Oğuzhan Akıncı's user avatar
0 votes
0 answers
24 views

ROS -- kobuki_interbotix_kinect.urdf.xacro not found

I'm setting up my system a so that I can run turtlebot2i on simulation. The robot is present at the lab in my university. I have installed ubuntu xenial, ros-kinetic because apparently it has all the ...
Merabro's user avatar
0 votes
1 answer
49 views

Manually controlling the ROS driver from Python

What is the best approach to launch a ROS file? Do I need to check that roscore is running before running it?
programmer_smart's user avatar
0 votes
0 answers
31 views

Building ROS1 packages with colcon

I'm trying to build the old rosaria package in my ROS2 (Iron Irwini) workspace, but currently encountering an issue during compilation. I've successfully built ROS2 and ...
joaocandre's user avatar
0 votes
0 answers
31 views

ros2-rviz2 environment for crazyflie simulation

I's would like to use rviz2 environment to simulate cf2. I followed the ros2 tutorial in cf2 ros2 tutorial. However, I have not seen crazyflie structure on rviz. I added the terminal output and rviz ...
nejattukenmez's user avatar
0 votes
0 answers
14 views

rtab map mapcloud/mapData working but cloud_map is empty!

I'm trying to retrieve the pointclouds built from rtab map, im using gz garden with ros1 bridge to get my input topics. my launch file is : roslaunch rtabmap_ros rtabmap.launch depth_topic:=/slam/...
ash's user avatar
  • 1
0 votes
0 answers
30 views

Can I avoid leaking memory when calling `plan_sequence_path`?

Context: I am planning motions for a six-axis robot arm moving a tool along a toolpath. I am working in ROS1 Noetic, calling Pilz Industrial Motion Planner's PTP planner through MoveIt's ...
rr-mark's user avatar
0 votes
0 answers
30 views

ROSCORE - not running due to python package missing

I have installed the ROS noetic and when I tried to run the roscore command, I get an error. Ive already tired re-installing the ROS environment, but it didnt help to solve the issue. Can anyone guide ...
sharklava's user avatar
1 vote
2 answers
76 views

How to find out which node is publishing to a topic at real time?

I have an issue with one of the rostopics. Actaully one of the node is publishing a message which is not useful to me and i was not able to find out. The message which is published are : ...
Rony Shaji's user avatar
0 votes
0 answers
40 views

ROS 2 RQT error but still working

When running rqt or rqt_graph on my ROS 2 Humble Ubuntu Jammy (22.04) System an error is printed. It says in red: ...
Alex's user avatar
  • 1
0 votes
0 answers
14 views

Why does `launch_test` result show "Ran 0 tests in 0.000 s" after running a test?

I am not the original poster, but I would like to continue the discussion about this question asked on answers.ros.org. I am trying to write an integration test to test the ROS API of a node I am ...
LastStarDust's user avatar
0 votes
1 answer
40 views

Best practice for logging callback durations and execution times in ROS

I'm wondering if there are any best practices for logging callback durations and execution times in ROS? As my system evolves and implementation is changed, I'd like to be able to monitor the ...
woodwardsquidward's user avatar
0 votes
1 answer
60 views

Docker and MATLAB

I am running my roscore from MATLAB using rosinit and the ROS_IP was set '127.0.0.1', this creates a ROS Master at 'http://127.0.0.1:11311'. I am running ROS within a docker container running on the ...
Maithili Shetty's user avatar
1 vote
1 answer
92 views

ROS/ROS2 on buildroot

I would like to run ROS or ROS2 on an Odroid C4 board with a Buildroot base OS (kernel 6.4). I know that it is possible to run it with Yocto but I have not seen any Buildroot packages. I cannot switch ...
Pineau Paul's user avatar
0 votes
1 answer
135 views

Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty

I'm trying to see a point cloud in Rviz but when I add the topic to de Displays i get an error (Rviz) and in the terminal where i opened Rviz I get the following message: Invalid argument passed to ...
ARosOpenDR's user avatar
0 votes
1 answer
472 views

unable to locate package ros-humble-desktop ubuntu 20.04

I am using ubuntu 20.04 and I am getting the error of unable to locate package when trying to install the ros 2 humble. I followed the instructions on the ros.org page for humble. The following ...
Vladimir's user avatar
0 votes
0 answers
18 views

Issues with asynchronously handling a Subscriber callback

I am trying to create a listener that sends a message through a Discord webhook to my Discord server. The issue that I am encountering at the moment is that I do not know how to create an asynchronous ...
Pogo's user avatar
  • 1
0 votes
0 answers
48 views

Segmentation fault in cv::findContours call

I am struggling to debug a segmentation fault. Any help is appreciated! The node just crashes whenever I launch it and following is the seg fault I am getting when running through gdb: ...
nebula's user avatar
  • 1
2 votes
3 answers
71 views

How can you start gazebo with a non-0 simulated clock time?

Similar to this question: https://answers.ros.org/question/310797/start-gazebo-simulation-with-non-zero-clock-time/ When gazebo starts up it starts its clock at 0, which can cause problems with code ...
Luis's user avatar
  • 123
0 votes
1 answer
43 views

How to resolve singularity in six arm robot

I am using a six joint robotic arm (XArm 6). I would like to know what would be the best possible way to reduce singularities. I read that there are majorly three types of singularity for example ...
Ankit Kumar's user avatar
0 votes
0 answers
17 views

Bag File Produced via launch file has 0 duration

I am writing bag file via rosbag. I have implemented a bagwriter class with singleton pattern for writing in bagfile ...
Muhammad Hamza Sajjad Abbasi's user avatar
0 votes
2 answers
50 views

C++ can not build simple test program after update (Ubuntu 22.04/ROS 2 Rolling)

I just updated my Ubuntu 22.04 installation with ROS 2 rolling on it and now when I try to rebuild my ROS packages I get an error message that it can't compile a simple test program: ...
madgrizzle's user avatar
0 votes
1 answer
49 views

Issue with Rostopic Name Length Affecting Node Communication

I've been encountering a rather puzzling issue related to the length of a Rostopic name in my ROS (Robot Operating System) setup, and I'm hoping someone can shed some light on it. Here's the situation:...
jubago's user avatar
  • 3
0 votes
0 answers
19 views

How to run rmf_simulation using docker

I am trying to run rmf_simulation, rmf API and dashboard using docker containers as per the documentation Below are the commands ...
Saujanya Tiwari's user avatar
0 votes
0 answers
41 views

There was a problem with cartographer mapping with ros1

I'm trying to map one track using a cartographer using ROS1, but there was a continuous problem with the track being twisted track. The lidar used is Hokuyo UST-10LX. The map we're going to measure is ...
SMILES2's user avatar
0 votes
1 answer
104 views

How can the ROS 2 TurtleSim turtle icon be changed?

In the turtlesim program used in many ROS 2 tutorials, there is a turtle icon that can be controlled. I would like to change this icon to be a different image that I have been provided, so that when I ...
Kaushal Bhanderi's user avatar
0 votes
1 answer
32 views

Custom ROS Service Cannot be Imported

I have created a simple custom ROS service for ROS Noetic. My import line is: from fishbot_ros.srv import chess_service, chess_serviceResponse The file structure ...
sheep_skins's user avatar
0 votes
0 answers
18 views

Dynamic Box Model - Gazebo and ROS

guys. I'm new to ROS and Gazebo and was trying to do a project with Turtlebot3. I was trying to add a box model and would like it to constantly move around the map. However, when opening the ...
Caíque_Viana's user avatar
0 votes
1 answer
30 views

Does ROS 1 have compatibility with any Renesas Hardware? Or is it just available for ROS-micro (ROS 2)?

I'm doing research about ROS compatibility with different microcontroller hardware. From what I've searched, I have only found compatibility with microcontrollers using micro-ROS, which is built with ...
CCper's user avatar
  • 1
0 votes
0 answers
55 views

Child Robot not following parent in RViz

I'm in a 2D environment in C++/ROS and I have two Robots with only Translational/Rotational velocity. They move only on the X axis and rotate on the X axis. The configuration follows this scheme: ...
SlimShadys's user avatar
0 votes
1 answer
36 views

control computeCartesianPath's trajectory.points.size

i set this parameter to 200 rosparam set /move_group/ompl/minimum_waypoint_count 200 method1: ...
Omer ANAR's user avatar
0 votes
0 answers
11 views

How do I display a babylon.js animation on a Raspberry Pi 4b screen using ROS?

I am currently trying to run ROS in a multiple machine setup where my laptop is the master and an RPI is the slave. I want to run the babylon.js code on the RPI to display an animation. I am new to ...
Infinitypool's user avatar
0 votes
0 answers
33 views

Choose between the binary and souce lib

I have installed trac-ik via sudo apt-get install and building from source, respectively, where the source code of ...
KKKmelody's user avatar
0 votes
0 answers
40 views

ROS2 Pybind11 help needed

https://github.com/chrissunny94/floam I am on a pressing issue to bring in Python support for FLOAM . I am currently facing a lot of issues getting linking libraries namespaces object oriented ...
Chris Thaliyath's user avatar
2 votes
1 answer
80 views

In ROS, is it possible to do dynamic reconfigure with "nested" parameters?

Not positive I have the terminology right, but the idea is that I have a ROS 1 node that can have multiple "layers" of namespaces for some of the parameters. So the parameter list is ...
Eric Foote's user avatar
0 votes
1 answer
162 views

How to add parameters to a node via a yaml file using a python launch file in ROS2?

I have tried all the solutions I've seen on forums but none seems to work, I've spent already several days on this and really hope someone can spot my mistake rapidly. I have the following launch file ...
S07's user avatar
  • 21
0 votes
1 answer
39 views

Trajectory waypoints are not exactly the same as joint positions. How to find the closest waypoint?

I'm trying to implement a function to pause the execution of a trajectory, and then re-plan a trajectory following the remaining path. The framework I'm using is moveit noetic. ...
L.Towson's user avatar
0 votes
1 answer
46 views

node crashes when subscribe to /image_raw topic

I am trying to consolidate a few nodes into a single process using nodelets. I have a ObjectDetectionNodelet that has a subscriber that subscribes to the raw image ...
nebula's user avatar
  • 1
0 votes
0 answers
16 views

Connecting PEPPER with ROS

I am facing several problems using ROS and trying to connect it with PEPPER, I am using ros-noetic w/ python 2.7, I can’t import the naoqi module, neither the qi, I don’t really know what to do, I am ...
Luigi Marino's user avatar
0 votes
1 answer
39 views

waitForTransform kills node after changing static tf

I am new to programming and robotics and need help solving a problem i just can't solve. I am working on an art project with three ROS robots built by Wheeltec. (https://community.robotshop.com/robots/...
Ryuneke's user avatar
  • 21
0 votes
1 answer
39 views

publish saved trajectory one by one

i have a trajectory from moveit::planning_interface::MoveGroupInterface::Plan i am trying to publish all points one by one ...
Omer ANAR's user avatar
0 votes
0 answers
45 views

ROS2 managed node: how to get the exception type and message in the error handler

ROS2 provides a new improved type of ROS node called lifecycle-managed node. These nodes can transition from one machine state to another after a user request or some other event, such as an exception....
LastStarDust's user avatar
0 votes
1 answer
50 views

How to get ROS_MASTER_URI so that other devices can also connect to it?

Currently, when I run roscore, I can ROS_MASTER_URI in terms of localhost. I want to get ...
Saksham Gupta's user avatar
0 votes
2 answers
28 views

ROS Noetic. How can I manage origin of coordinates for each STL model in Rviz?

I'm having troubles with model origin of coordinates location in relation to STL models. All ones are outside the models. I tried to move it to center of mass in SolidWorks, but it didn't fix the ...
BilboBaggins's user avatar
1 vote
1 answer
20 views

Could I create multi dynamic_reconfigure in one package in one CMakeList?

I have two *.cfg files, each one working with its executable process. The CMakeLists: ...
Adam Peng's user avatar
0 votes
1 answer
81 views

Rviz Amcl spreading over time when stayin still

I am trying Multirobot navigation with the navigation_stack and the Rviz, in ros noetic. When i publish the amcl when starting, the spread looks normal. Then i publish a goal, the robot moves and the ...
Michalis's user avatar
0 votes
0 answers
33 views

Can't connect ROS with FANUC ROBOGUIDE

I'm trying to connect an LR Mate 200iC robot with ROS, I already configured the controller with the ROS files, as explained in the tutorials. But when running the program ...
Jose Eduardo's user avatar
0 votes
1 answer
46 views

How to deserialize ROS messages from Bag to ROS defined types in C++?

I want to deserialize messages from a Bag file and publishing part of their contents with ROS for further processing. I read a bagfile with the ROS C++ API. I know exactly the content (topic names and ...
tricostume's user avatar
0 votes
1 answer
38 views

Formatting rosservice response

I'm working on ROS MELODIC. I would like to return as a service response a string containing a list of areas with some data. The problem here is that I wanted to format the output so on the client ...
ÁngeLoGa's user avatar