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

How to get all ROS log messages from rostest?

I am trying to debug a problem with a rostest that it is probably failing due to multithreading, as the result of the test is always different. That aside, my problem is that I cannot get to see the ...
0 votes
1 answer
160 views

Reload Gazebo without quitting app

I'm using Gazebo with ROS 1. Every time I re-run my ROS code, I seem to have to quit the Gazebo client and start it up again. Starting up the Gazebo client application takes a long time and I am ...
0 votes
1 answer
53 views

odom frame keeps moving in ROS GPS robot_localization

I am using two instances of ROS robot_localization package to get the local and global odometry. In the local one, I am fusing IMU and twist messages. It is working fine. But when I use the second ...
2 votes
1 answer
602 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 ...
0 votes
1 answer
44 views

Why the robot is not at the zero configuration

As part of my testing, I was using Kuka's arm to test some kinematic controllers. In the picture below, when the arm is spawned in Gazebo, the positions of the joints are zero (i.e. obtained from <...
1 vote
1 answer
25 views

catkin_make not creating a catkin workspace for ROS through Robostack (Conda) environment

I've recently been encountering an issue when trying to create a working catkin workspace for ROS through RoboStack. Robostack is utilized to create a working ROS environment installed in Conda. When ...
0 votes
1 answer
33 views

How to make specific link static?

I want to simulate a RR robot in gazebo and I want to place the first link over a box. This box shouldn't be a part of the simulation, and is there only for visual effect. How can I make a specific ...
0 votes
1 answer
116 views

VS Code C/C++ extension Issue with ros program header file

Recently, when I was trying to compile a ROS programm written in C++ (with C/C++ extension installed in VSCode) I ran in to a problem with the header files included in the program (...
0 votes
1 answer
12 views

Zoom/scale image combined with rectify/undistort and publish modified CameraInfo in a ros nodelet?

I'm running the rectify nodelet on a factory calibrated oak-d-w camera and I don't like how much of the original distorted image gets chopped off as a result. I think I saw there was an alternate ...
2 votes
2 answers
65 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 ...
0 votes
1 answer
666 views

OPC-UA in ROS 2 to communicate with PLC

I would like to establish a communication between my PLC (RevPi) which runs Codesys and a Jetson Nano (or Rasperry Pi) which will be running ROS2. The latter will be connected to a Router (for ...
0 votes
1 answer
33 views

ROS ssh launch issue

So I have a setup where I want to launch my ROS nodes via a launch file, which in turn will ssh into a udoo board and the launch the necessary files for hardware communication. The launch file works ...
0 votes
1 answer
2k views

teleop_twist_joy with Logitech F710 Joystick force feedback error

I am using a Logitech F710 joystick game controller in ROS Kinetic Kame. I was able to perform jstest testing, and can see my joystick works well. But when I try ...
0 votes
1 answer
57 views

Difference between various ros distro?

I have a doubt on why there are so many distributions of ros2 or ros and what are the major factors that changes between them?
1 vote
1 answer
464 views

How to solve action client not connected?

Does anyone know how to solve error action client not connected? The error text is: ...
0 votes
1 answer
215 views

What causes rviz black screen at startup?

I have been running the same rviz conf for months and mostly have had no issues. But lately there is often a black screen at rviz startup and it happens seemingly randomly, without any error messages ...
0 votes
1 answer
398 views

RpLIDAR unable to see black objects

I am working on a ROSBOT for a natural navigation project. While working with RpLIDAR A2 version, I found that it does not sense thin black surfaces like black pants/trousers while at close range (...
0 votes
1 answer
115 views

ROS: frame transformation (tf) + TimeSynchronizer?

How to get a frame transformation using TimeSynchronizer? I am developing some 3D recognition application for a mobile robot. The robot has an RGB camera, depth camera, and uses rtabmap for SLAM, so I ...
0 votes
3 answers
7k views

What is the definition of the contents of PointCloud2?

What does the contents of PointCloud2 means in ROS? fields.offset? fields.datatype? ...
0 votes
0 answers
23 views

Hole detection on ROS with a stereo camera

I am trying to make a node in ROS that has as input a dynamic point cloud that is generated with a stereoscopic camera to which I have performed preprocessing. Now that point cloud that is generated ...
0 votes
1 answer
24 views

Number of threads keep increasing in htop when running my python ROS node with 2 threads

I am writing a ROS node to read CAN data (linear x speed, and direction of motion i.e. rev or fwd) from my vehicle and my steer-by-wire system (encoder data for angular z). Both CAN interfaces are on ...
0 votes
0 answers
30 views

How to transform given latitude and longitude data to map frame

I am working with a multi sensor RTK-GNSS for localization of my robot. This is the data I am getting from the GNSS system. How to relate this data to my robot map frame for navigation?
0 votes
1 answer
3k views

Hector SLAM in ROS with RPLidar

Trying to set up Hector SLAM with the RPLidar A2. I downloaded both rplidar_ros-master and hector_slam-catkin; extracted them ...
0 votes
0 answers
16 views

The mobile robot doesn't reach to the max speed

The youBot mobile robot is being used to test some kinematic controllers. There is a problem with the base not reaching the maximum speed. A maximum linear velocity of 1.5 is defined in the ...
0 votes
1 answer
22 views

Ros2 and communication - How do you post a Ros2 message in a text box in Unity?

I am developing a project with ros_msft_mrtk and would like to send simple messages via Ros2 to Unity or then to the Hololens2. Unfortunately, I don't understand Ros2's communication. I use the ...
0 votes
2 answers
66 views

Generate robot model for openrave

Is there another way to generate a collada model to work with openrave other than converting an URDF file with ROS' collada_urdf software? The problem I'm encountering is with the setup needed to use ...
0 votes
2 answers
212 views

Lookup would require extrapolation into the future on the same machine

I get this error when trying to view my RPLidar A2 scan in rviz2. It’s on a differential drive robot controlled using arduino using Articulated Robotics’ code that I quickly ported to Humble, ...
0 votes
1 answer
123 views

Convert Ros2 Foxy Message to Ros2 Humble

I currently have 2 projects running, 1 is using Ros2 Foxy and the other is Ros2 Humble, it seems like Ros2 Humble isnt’ entirely compatible with reading old message Format, e.g: I cant read message of ...
1 vote
1 answer
71 views

Multiple ROS installation on single machine

Can I have multiple versions of ROS or ROS2 installed on a single machine or PC?
1 vote
1 answer
205 views

Error when compiling cv_bridge in Raspberry Pi 4B with Raspbian buster and ROS Noetic

Im using Raspberry Pi 4B, with Raspbian Buster and ROS Noetic. When I tried to compile my catkin ws with a cv_bridge package I got the following error: CMake Error at vision_opencv/cv_bridge/...
0 votes
1 answer
29 views

Imu orieantation data increase by oneself

I subscriber imu data and print it from my python script.I move imu sensor fast then stop the move but imu data still increasing by oneself. How can I slove this problem? ...
0 votes
1 answer
637 views

How to control a servo using ROS2 and MICRO-ROS

I am currently using a raspberry pi pico and a raspberry pi 4, So far I have established a connection between the two using micro-ros-agent I have also successfully built and ran the example provided ...
0 votes
1 answer
55 views

Webots Ros2 Docker Extern controller plugin silently crashes when asking for keyboard

I am using webots 2022b inside of a docker container. In my vs code, it runs fine, but when I try to run the command straight from the docker container, I am running into an issue where the controller ...
1 vote
1 answer
86 views

How to play ROS bag file frame by frame

rosbag play bagfile.bag ROS's bag player provides a nice tool to replay the data but it's kind of difficult for debugging as we can't control frame-by-frame play. ...
1 vote
1 answer
73 views

Can MoveIT framework be used separately from ROS, i.e. "as a standalone library"?

As far as I understand, MoveIT can act as a IK/FK solver one can supply input into (i.e. end-effector xyz) and get an output (joint angle values). I'd like to utilize this aspect of MoveIT (version 1) ...
0 votes
1 answer
83 views

Diff-drive robot - Obstacle avoiding - random walk

I have implemented a logic-based algorithm for obstacle avoidance in a differential drive robot with 5 IR sensors. I want the robot in space, for example, a square room, to move freely and avoid ...
0 votes
1 answer
27 views

What is map_load_time in ROS nav_msgs/MapMetaData?

http://docs.ros.org/api/nav_msgs/html/msg/MapMetaData.html The description says it is 'The time at which the map was loaded'- should this be the time the map was initialized? The time it was last ...
0 votes
1 answer
442 views

rosrun Couldn't find executable named node_name.py

I am using ROS Noetic on Windows 10, and I created a python node using this directory structure \catkin_ws\src\package_name\scripts> and my node's Python files ...
1 vote
4 answers
6k views

catkin_make unable to build and throws "Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed"

I have been trying to build my ROS workspace using catkin_make, where i have cloned a repo/PACKAGE. I tried many of the things mentioned in previous answers to questions similar to my issue but ...
0 votes
5 answers
15k views

Invoking "cmake" failed

I am unable to solve this problem. I tried to run catkin_make command in catkin_ws directory ...
3 votes
2 answers
10k views

roslaunch not found

Running ROS melodic on Ubuntu 18.04 and I keep getting this error. ...
2 votes
0 answers
63 views

How To Run the kuka_experimental program on github In RViz?

I have installed Ubuntu 14.04 and installed ROS Indigo in order to run the kuka_experimental source code which can be found on github. I have built the catkin workspace and compiled the ...
0 votes
1 answer
349 views

Simulate Wind in Gazebo - physics_msgs

I am trying to simulate a drone inside an environment with constant wind. I have found a good plugin (link below) and I have done the following to integrate this plugin in my system: include the ...
1 vote
1 answer
115 views

Fusing non-continuous global pose data

I am fusing the map pose data which is calculated from the fiducial_slam node. Here the topic being fused with ekf_node is /fiducial_pose (geometry_msgs/PoseWithCovarianceStamped). The problem i'm ...
0 votes
1 answer
499 views

Drone Development using ROS Noetic on Ubuntu 20.04

I installed ROS Noetic on Ubuntu Mate 20.04 in my Raspberry Pi but couldn't find any specific tutorial to follow along for Noetic. Most are available for Melodic, which doesn't work with the latest ...
1 vote
1 answer
128 views

Husky robot shows rostopics but not message over them

I have a Clearpath husky robot setup with their ros noetic image (ubuntu 20.04 on amd64 architecture) clearpath-universal-noetic-amd64-0.5.14.iso which to my ...
0 votes
0 answers
35 views

Occupancy grid height

I need to create an occupancy grid (2D) from pointcloud but i need to show also the height at every cell with colors. Right now i know that the occupancy grid is only on grey color, there is an option ...
1 vote
3 answers
3k views

Is a virtual machine with ros-kinetic available anywhere?

I want to learn ros-kinetic from a virtual machine. I found that ros-indigo is available from nootrix; similarly, is there a ...
2 votes
1 answer
67 views

Robotics Stack Exchange and Robotics Meta Stack Exchange difference

I am here because of the ROS Answers migration, but I'm new to Stack Exchange and I realized there is Robotics Stack Exchange and Robotics Meta Stack Exchange, can someone explain the difference ...
2 votes
1 answer
436 views

How to use Quaternion from IMU to get the transformation to inertial reference frame?

Im trying to get the Linear Velocity integrating the acceleration from IMu. I know there will be accumulated error due to integration bit before the integration I have to do couple of other steps. ...

1
2 3 4 5
10