Questions tagged [ros]

Questions related to ROS(Robotics Operating System)

ROS (Robot Operating System) provides libraries and tools to help software developers create robotics applications. It provides hardware abstraction, device drivers, libraries, visualizers, message-passing, package management, and more. ROS has different distributions for different Ubuntu versions.

The latest version is ROS Noetic Ninjemys, which is targeted at Ubuntu 20.04 (Focal), has a May 2025 end of life. The list of available versions can be found in documentation.

You may also want to consider asking your question on robotics stack exchange which is currently in the process of having the ROS Answers (answers.ros.org) Q&A database merged into it.

Links

3393 questions
0
votes
1 answer

How to do tf2 transform and pose publish with ROS2 and humble?

I like to publish a pose using IMU and Monocular Image from ORB_SLAM3 in ROS2 and humble. I made a function. But some how not familiar with tf2 in ROS2 . So I got some errors. I include the tf2 header and also declared in CMakeList.txt dependencies.…
Macedon971
  • 303
  • 2
  • 11
0
votes
0 answers

ModuleNotFoundError: No module named 'cv_bridge.boost.cv_bridge_boost'

I have already installed ros noetic distribution and the sudo apt-get install ros-noetic-cv-bridge and sudo apt-get install ros-noetic-cv-bridge successfully. However, when I am trying to run the following code in pycharm, I am getting the following…
S.EB
  • 1,966
  • 4
  • 29
  • 54
0
votes
0 answers

Load data from json/yaml to arg in roslaunch arg

I have a roslaunch file, in which I am including an xacro file: I now want to read some data…
wittn
  • 298
  • 5
  • 16
0
votes
1 answer

Configure VS code to understand ros package imports - Pylance import errors

I am importing lots of packages into other packages. The imported packages can be executed without any problems, as I used Python installers and the right structure. But the linking in VS code is not working, Pylance is giving me import errors. I…
0
votes
0 answers

When the subprocess.Popen() function in the python code runs the roscore command, an error occurs that the rosout node cannot be located

I use pycharm to remotely connect to the ros environment of the container on the server locally. When the subprocess.Popen() function in the code runs the roscore command, an error occurs that the rosout node cannot be located. The port mapping of…
0
votes
0 answers

ROS topic remapping does not work for TransformBroadcaster

For a specific case where I want to publish odom tfs for a bunch of simulated robots, I am trying to remap the "/tf" topic to robot specific topics such as /robot1_tf, /robot2_tf and so on. More precisely, somewhere along a control loop that…
Marcell
  • 89
  • 1
  • 8
0
votes
0 answers

roslz is imported in the pycharm terminal but not in the python code. why?

I have installed the ROS Noetic by following the commands in this link in ubuntu 20.4. the installation seems to be successful. When I am importing the roslz4in the Pycharm Terminal, it is importing it as follows: (hsi-env)…
S.EB
  • 1,966
  • 4
  • 29
  • 54
0
votes
1 answer

extracting RGB image frames from the bag file: rosbag.bag.ROSBagException: unsupported compression type: lz4

I have a piece of code that I want to extract the RGB frames from the bag file. Code is as follows: import os import argparse import pdb import cv2 import rosbag from sensor_msgs.msg import Image from cv_bridge import CvBridge bag_file =…
S.EB
  • 1,966
  • 4
  • 29
  • 54
0
votes
1 answer

Error when get linear velocity from the linear acceleration using Euler integration in ORB_SLAM3?

I would like to estimate linear velocity using Euler integration from the IMU data (linear acceleration) in ORB_SLAM3 so can publish the odometry message. I modified the stereo-inertial node from the ORB_SLAM3 package so can get the linear velocity.…
Macedon971
  • 303
  • 2
  • 11
0
votes
0 answers

cmake: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0

When i try to run catkin build i get this error /home/noronn/miniconda3/bin/cmake: symbol lookup error: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0 and when i try to run cmake i get the same…
Bård
  • 47
  • 3
0
votes
0 answers

Adding RFID Plugin from Wiki ros

I am having difficulty understanding how the plugin is added to the robot model that i have and also to spawn it in the gazebo…
Mojiz
  • 13
  • 2
0
votes
2 answers

Gazebo crashes immediately on startup on Ubuntu 22.04 ARM VM on parallels desktop in MacBook Air M1

So I'm working with ROS2 on my MacBook air M1 and need gazebo for simulations. The OS I'm working with is Ubuntu 22.04 ARM on Parallels Desktop 18. I'm running ros2 Humble, and its gazebo counterpart Gazebo Gardens. Rviz is running just fine, but…
Nike Lepz
  • 485
  • 2
  • 12
0
votes
0 answers

librsvg-2.so.2: undefined reference to `cairo_tag_begin'

I recently use ROS system to do some experiment in my new laptop. And My operating system is Ubuntu 20.04. bty the ROS system version is noetic. Then the strange thing happened. I can successfully compile my rospackage which is code in c++ on my old…
0
votes
0 answers

ROS-Noetic OpenCV/AR Tag Detection

I found this code in blog about OpenCV and i rewrite for using ROS gazebo simulation. I got many error about marker`finding. I will add the error below. #!/usr/bin/env python3 # -*- coding: utf-8 -*- from imutils import paths import numpy as…
duygud
  • 1
0
votes
2 answers

Error with FAST_LIO_LC package: Invalid quaternion in transform

I'm using the FAST_LIO_LC package (https://github.com/yanliang-wang/FAST_LIO_LC) which integrates the fastlio package with a graph optimization method. When running the roslaunch fast_lio mapping_velodyne.launch and roslaunch aloam_velodyne…
ajim
  • 3
  • 2
1 2 3
99
100