Skip to main content

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.

546 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
64 views

Ros2 pub, dds sub, use zero copy

When I use cyclonedds, I send a string using the publisher_member_function of ROS2 and subscribe to rt/topic using pure dds. If SharedMemory is not enabled, I can communicate and receive string data ...
jianfeng chen's user avatar
2 votes
0 answers
19 views

Fixing the consensus algorithm code for ROS Noetic

The Python script below is about an implementation of the consensus algorithm (rendez-vous) using static Metropolis weights for Turtlesim in ROS Noetic, run in Ubuntu 20.04 OS. The issue is that the ...
Hong Christian Lin Jiang's user avatar
2 votes
0 answers
60 views

Generated "__rosidl_generator_py.so" files issue

I've created a custom distribution using Yocto. On it I tried to build "builtin_interfaces" from source (I use this example for reproducibility). I'm able to run cmake and make but then I ...
Antoine Van Malleghem's user avatar
2 votes
1 answer
282 views

robot_localization GPS causing large drift/covariance spike

I am trying to implement the dual ekf navsat example on my real-world robot. The local EKF with wheel odometry and IMU works quite well and has no issues. As far as I can tell, my global EKF ...
Leetfail's user avatar
2 votes
2 answers
1k views

How to record all topics in a rosbag using rosbag API (rosbag::Recorder)

I am trying to create a recorder logging all topics into a rosbag using ROSBAG C++ API The record should be eventually enabled/stopped by some external topic. The examples show how to log specific ...
SystemSigma_'s user avatar
2 votes
1 answer
1k views

Implementing PID on a line following bot using turtlebot

I am using ROS melodic,turtlebot 2 on Ubuntu 18.04. The idea is to create an environment consisting of lines as a path (slightly curved), and to program the turtlebot to follow the lines. Basically, a ...
satan 29's user avatar
  • 131
1 vote
1 answer
21 views

ROS1 gazebo11 invisible links

I'm trying to spawn my robot urdf in gazebo, but some links are not showing, although they appear in the left menu bar. They also show in Rviz and Moveit, so it has to be something with gazebo visuals ...
ChikN42 -'s user avatar
1 vote
1 answer
12 views

ROS3D.UrdfClient suddenly stopped loading meshes

I'm trying to visualize a 3d robot simulation on a web browser and I'm currently using the ros3djs library (not sure if this is the best choice yet). Some days ago I managed to visualize correctly the ...
Dario's user avatar
  • 11
1 vote
0 answers
8 views

Extrinsic matrices of sensors from tf_static_publisher

I have two lidar sensors, and an IMU, I also have the nodes of static_transfrom_publisher with the parameters in the standard format of: ...
Josh's user avatar
  • 111
1 vote
1 answer
30 views

Convert MCAP to ROS

I have an MCAP file, which I want to convert to ROS (or other storage formats). I couldn't find any documentation online. Is there any github project available. Any help is appreciated.
lerner1225's user avatar
1 vote
1 answer
37 views

Configuring-ROS2-Environment

I am going about setting up ROS2 for the first time, and when I enter the command set | findstr -i ROS the output I receive is ...
Jace Michael's user avatar
1 vote
0 answers
12 views

Error [rospack] Error: package 'rosbag_storage' not found when using bag_reader.exe on Windows

I have compiled a bag_reader.exe program using VS2019 on a Windows environment to read ROS bag files. While the program works perfectly fine in the ROS environment, I encounter the following error ...
sheng1_2's user avatar
1 vote
1 answer
13 views

Dynamic assignment of joints to ros2_controllers

Is it possible to assign all joints of a robot (or a series of specific joints according to a pattern, e.g. left_joint_*) to a controller in the controller configuration YAML or does each joint ...
Maximilian von Unwerth's user avatar
1 vote
0 answers
9 views

Collision Checking using Moveit (python wrapper) for a set of Joint Positions

I have a set of robot joint positions which I found by sweeping through the allowed joint positions with a fixed delta. This gives me about a set of ~2 million joint positions. Now, I want to check ...
robot_collision's user avatar
1 vote
0 answers
12 views

Local and Global costmaps not showing up in rviz

I have been working on an autonomous navigation for a 3wheeled robot. I am using hector-slam for mapping (and already have several maps saved) and want to use move_base for the navigation. My main ...
Wikmon's user avatar
  • 11
1 vote
1 answer
33 views

Alternative to hardware interface

I am new to ROS2 but I am trying to create an alternative to a hardware interface for my robot. I have a diff drive vehicle. The main ROS program will run on an Ubuntu PC. The controller on the ...
Serarguy's user avatar
1 vote
0 answers
18 views

move_base / teb_local_planner not subscribing to odometry/local message from robot_localization ekf_localization node

Currently building a autonomous mecanum drive robot with wheel encoders, IMU, and LiDAR (with GPS to be implemented using a global EKF later). The current configuration uses a local EKF from the ...
Jiqi's user avatar
  • 11
1 vote
0 answers
17 views

robot_localization not applying corrective measurement (GPS)

I am a beginner building a mobile outdoor robot using robot_localization and navsat_transform_node. My current setup is to use the ZED2 odom->base_link for relative localization and a ...
beg0101's user avatar
  • 11
1 vote
0 answers
26 views

Control axes with encoder or sensor

I want to move the axis using the encoder sensor readings, but when using the encoder my axis rotates suddenly and not gradually. i used arduino to send encoder data. i use this encoder and this ...
M.Syarief Rahman's user avatar
1 vote
0 answers
10 views

Error on include my own library in ROS service

I have coded my own library for some purposes and use it in a ROS service. After modifying the CMakeLists file I get the following error: undefined reference to `decirHola()' collect2: error: ld ...
Juan Perez's user avatar
1 vote
0 answers
13 views

Costmap boundaries

Is there a way I can manipulate a costmap so that the outermost cells of the inflated obstacles in the x axis are counted as the map borders. I think I can write a script that does that using Python ...
sivhaslee's user avatar
1 vote
1 answer
20 views

does the quadruped robot suffer from Gimbal lock issue?

I am a student working on forward kinematics of a quadruped robot. I am confused whether we can use euler angle roll, pitch, yaw in ZYZ Sequence for quadruped robot or not. Does the angle vary till ...
Manu sign_in's user avatar
1 vote
0 answers
12 views

Manipulating the costmap to follow the path between obstacles

I am working on a project where a USV needs to follow the path between buoys. I set up the LiDAR and IMU which I will use to get localization and map data. The problem is, pathfinding algorithm will ...
sivhaslee's user avatar
1 vote
0 answers
58 views

How to compute quaternion or Roll Pitch Yaw from a directional vector?

I am trying to get a sensor attached to the end of a robot arm to point at a specific Point of Interest. I know the XYZ position of both the POI and the target pose of the sensor, and I am able to ...
SconeIsGone's user avatar
1 vote
0 answers
21 views

cv2.stereoRectify works only when the rotation and translation are from camera 2 to camera 1

I am using the euroc-mav dataset to create a disparity map from stereo images: https://projects.asl.ethz.ch/datasets/doku.php?id=kmavvisualinertialdatasets. In this dataset the cameras are already ...
Idan Aviv's user avatar
  • 111
1 vote
0 answers
16 views

Local costamp not cleared properly

Summary: I am using a TOF depth camera to convert the received point cloud into a laser scan and add it to the costmap. However, when the dynamic obstacles (i.e. people) move out of the camera's FOV, ...
Oscar's user avatar
  • 11
1 vote
1 answer
61 views

CARLA tutorial: roslaunch ImportError: No module named util

I am a beginner in ROS and CARLA. I set up Carla ROS Bridge package using the steps mentioned in https://carla.readthedocs.io/projects/ros-bridge/en/latest/run_ros/ after installing ROS bridge from ...
ROS-ques's user avatar
1 vote
0 answers
18 views

Why is robot model collapsing in gazebo even with controller settings?

I am currently working with Ros Noetic, Gazebo, and Moveit. I have converted a KUKA lbr iiwa CAD model to a URDF (kuka_model_0) and made modifications to the package.xml, CmakeLists.txt, and the URDF ...
user19340419's user avatar
1 vote
0 answers
32 views

Unable to identify any set of controllers that can actuate the specified joints: []

I use ubuntu 20.04 and ROS noetic. And, I want to connect Moveit with Gazebo simulation and Rviz. The robot model is auboi5 robot arm. I call /aubo_i5/controller_manager/list_controllers and the ...
Ryan Yu's user avatar
  • 36
1 vote
0 answers
44 views

robot moving on its own in gazebo simulator

im trying to control my robot using the ros navigation stack in gazebo, i know that i need a plugin to be able to send velocity commands to the robot, i tried using the diff_drive_plugin i was never ...
ahmed mani's user avatar
1 vote
1 answer
29 views

pcl_conversions/pcl_conversions.h not found when colcon build, but appriopriate packages are installed

I bought a LiDAR D4 on AliExpress and received a package from the buyer with a driver for ROS2. Unfortunately, I get the following errors when calling colcon build: ...
krzaczor93's user avatar
1 vote
0 answers
145 views

Windows 11 error ModuleNotFoundError: No module named 'rclpy._rclpy_pybind11'

My Python version is 3.8, but he still reports that the module cannot be found. I developed it on Windows 11 system. Do have anyone who has encountered this problem? Can share how to solve it? Thanks <...
James Zow's user avatar
1 vote
0 answers
17 views

My global and local coast map is not aligned with the map and not showing any sign of obstacle

enter image description here HI, I am currently build an AMR in which i am facing some errors in the navigation that is my local and global coast map is not proper shown and aligned in the rviz,it ...
Gowtham's user avatar
  • 11
1 vote
0 answers
21 views

AMCL not updating the map - odom tf when robot navigating

Hello Im trying to autonomously navigate a robot using ros. I have created a launch file to start the navigation stack for the robot Here is my launch file for the robot. ...
Dinoj's user avatar
  • 21
1 vote
0 answers
22 views

Implementing A Nested State Machine using SMACH library

I am trying to implement a Finite State Machine using the SMACH library. My state machine has 3 nested state machines and I don't know where am I making a mistake. Any help is highly appreciated. ''' ...
user39730's user avatar
1 vote
0 answers
47 views

PILZ Industrial Motion Planner claims missing cartesian limits

I am trying to use the Pilz Industrial Motion Planner and follow the tutorial at https://ros-planning.github.io/moveit_tutorials/doc/pilz_industrial_motion_planner/pilz_industrial_motion_planner.html. ...
carl.os's user avatar
  • 11
1 vote
0 answers
48 views

ros tutorial turtlesim running but no display in docker

I have just started learning ros from the tutorial given in their website. Tutorial link As i am using windows I wanted to learn in Ubuntu. So i am using docker version of the ros. but now while ...
Amarnath's user avatar
  • 111
1 vote
0 answers
31 views

Identifying Gazebo objects with a GpuRaySensor

I want to identify objects within a laser scan provided by Gazebo with the aim of obtaining point-wise ground truth data. Using the gazebo::sensors::RaySensor, I ...
labude's user avatar
  • 11
1 vote
0 answers
28 views

gazebo_ros_control plugin causes all joints and links to collapse to the origin of gazebo

I'm currently trying to simulate a 6 wheeled differential drive robot in gazebo with ros noetic on Ubuntu 20.04. However, I'm running into an issue when I launch my robot into gazebo, the robot does ...
brian wei's user avatar
1 vote
1 answer
102 views

Customize SLERP used in MoveIt motion planning

I am currently working on a project utilizing ROS Noetic and MoveIt for robotic arm path planning. I have a robot arm that has to pick up items from between shelves on its left and right side. However,...
Steven Oh's user avatar
1 vote
0 answers
45 views

Costmap configuration (costmap common_params.yaml)

I have a robot equipped with IR sensors, I don't have lidar. I don't understand how can I set my parameters in this file (costmap common_params.yaml) , what should I put instead of LesarScan (Note I ...
Ibrahim Sheikh's user avatar
1 vote
1 answer
45 views

ROS1 Custom messages generates strange memory graph pattern when using multiple string types

In ROS1 Noetic, I have the following custom message named Test.msg: int32 did string a string b And I have another custom message TestList.mgs: Test[] testList In ...
Enikő's user avatar
  • 11
1 vote
0 answers
372 views

error: no type named ‘type’ in ‘struct std::enable_if<false, void>’ when calling rclcpp::create_timer()

I am trying to convert a piece of code written in ROS1 to ROS2. I am having trouble with the following line, which instantiates a ros:::Timer object: in ROS1: ...
Natanel Birarov's user avatar
1 vote
1 answer
104 views

Dispersion of object edges in lidar point cloud

I'm having an issue with some spurious points appearing in the point clouds coming from my 3D lidar. More specifically, I'm working with an RS-Bpearl lidar, and the point clouds that I receive from it ...
Constantin's user avatar
1 vote
2 answers
105 views

SLAM but without actually driving the Robot?

I am just starting with SLAM and have to implement SLAM to get a dimensions (map) of an indoor space. I have looked at the turtlebot3 slam and slam_toolboox packages with algorithms like gmapping and ...
Rushabh's user avatar
  • 11
1 vote
0 answers
44 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
  • 11
1 vote
1 answer
298 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
1 vote
1 answer
31 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
1 vote
0 answers
101 views

Cannot launch Gazebo

I have been learning and using ROS noetic on my Ubuntu 20.04.6 LTS. My OS is shown below, I excecuted "lsb_release -a". ...
GasparH's user avatar
  • 11
1 vote
3 answers
287 views

Recording Large Rosbags of Lidar & Camera Data

I have been trying to find some documentation on this but was unable to really see anyhting helpful. We have 5 cameras and 3 Lidars and need to record data from all sensors. For now we have been ...
user avatar

1
2 3 4 5
11