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.

114 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
1k views

How to get unix/posix time stamp in header of ROS msg?

I am using two sensors each connected to different machine (each machine separately runs Ubuntu 16.04 and ROS Kinetic). When I echo topic on these two machines, I ...
3
votes
4answers
179 views

Building a stationary robot. ROS the right tool for me?

I'm wondering if ROS is the right system for me. I'm currently involved in a project which consists of building a device that has the purpose to take spectroscopic measurements using a laser and a ...
3
votes
2answers
1k views

Transform timestamped messages recorded in a bag file using tf messages

I have a .bag which contains recorded messages on topics /topic1 and /topic2. The messages ...
2
votes
1answer
103 views

What's the correct approach to merging of localization and odometry data?

We've got a mobile platform with a source of odometry and an IMU, which are merged in an EKF filter (robot_localization node), producing continuous odom->base_link transform. The robot is also ...
2
votes
1answer
340 views

Running ROS, Gazebo and RViz on Macbook

I have recently started learning robotics. Being at uni, I had access to Linux PCs where I could easily run ROS and Gazebo. However, due to the current pandemic and closure of universities, I now have ...
2
votes
0answers
266 views

ROS Laser Scan rotates with the robot in RVIZ

I am currently working on developing a ROS application for autonomous navigation using AMCl. I am first trying to get move_base to work before continuing with AMCL. ...
2
votes
0answers
58 views

Corrupted Robot Model in Gazebo

I'm trying to run multiple instances (18 instances) of gazebo in parallel processes on my system to do reinforcement learning. However i'm running into an issue where the robot model in some of the ...
2
votes
1answer
298 views

How do I download libraries onto the Ubiquity Robotics Raspberry Pi image

I downloaded an sd card image by Ubiquity Robotics which is an Ubuntu OS with ROS preinstalled onto my Raspberry Pi. This image creates a pifi access point for the Raspberry Pi and allows me to ssh ...
2
votes
0answers
31 views

Fiducials in conjuction with AMCL

I'm having some trouble getting fiducials (using aruco_detect) to work alongside amcl. The goal here is to use normal amcl localization when a fiducial is not present, and to switch to localization ...
2
votes
1answer
140 views

How rational is it to use Intel Realsense for my affordable indoor autonomous robot?

Right now, I am using ESP32 for the motors and planning to add either Raspberry Pi Zero or ARM Cortex-M4 (STM32) and use ROS with Intel RealSense RGBD camera. How sensible is it? I am not expert in ...
2
votes
1answer
4k views

Installing ROS in a conda environment

I'm planning to setup ROS and it's dependencies in a conda environment (similar to virtualenv). I've read a few posts where they state it's not going to be simple. Did any of you guys do it ? If you ...
2
votes
1answer
178 views

Getting started with motion planning

I have recently finished the coursera Motion Planning course and I am looking for a project to do, using ROS, OpenRave, Gazebo and similar tools. My project would be in the area of motion planning for ...
1
vote
0answers
21 views

simple ROS script terminating without displaying errors

I am using ROS melodic on ubuntu 18.04, turtlebot 2. I tried to create a simple ROS program, that tries to make the bot follow a specified path. My gazebo world looks like this: The task is to try to ...
1
vote
1answer
20 views

How do you integrate an external library to your ROS catkin_Workspace?

So following example: I have Package A with the function doA(); and I have Package B inside ...
1
vote
0answers
17 views

unable to integrate local planner plugin into move_base

I am trying to integrate my local path planner plugin into move_base. On launching the modified ...
1
vote
0answers
14 views

How do you derive the soft iron matrix for magnetometer calibration?

Can someone send reliable sources for how this is derived? I understand the diagonal values are for scale, but how do you determine all 6 values needed for this matrix? I would also like to normalize ...
1
vote
0answers
13 views

seeking details on ros::SingleSubscriberPublisher class

I recently came across 'ros::SingleSubscriberPubliser' class. The documentation describes it as 'Allows publication of a message to a single subscriber. Only available inside subscriber connection ...
1
vote
0answers
20 views

Set global_frame and robot_base_frame parameters for costmap_2d::Costmap2DROS object

I am trying to use a costmap_2d::Costmap2DROS object to read the occupacy grid being published on the /map topic. How do I ...
1
vote
0answers
37 views

Rviz Status Error in Costmap: Update area outside original area

“update area outside of original map area” is the error I get when visualising the topic /move_base/global_costmap/costmap. The cost map displays correctly, there is nothing on google or the docs to ...
1
vote
2answers
44 views

"catkin_make" prompts "+make" and "recipe for target ... failed" errors

I have been working on a ground vehicle project for some time that has bunch of sensors, until now I have managed to overcome the problems I have encountered. I have used catkin_make many times and ...
1
vote
1answer
171 views

List of tuples as argument in ROS2 launch

I'd like to define an argument in ROS2 launch file which is a list of tuples. How should the list in default_value be formatted? ...
1
vote
0answers
35 views

UKF for radar implementation

I'm struggling to implement Unscented Kalman Filter for tracking objects using radar. My state vector contains [x y z vx vy vz] and I can measure [rho phi theta velocity]. So everything looks trivial ...
1
vote
0answers
45 views

Caculate/Specify the covariance matrix for a omniwheel robot

I have an omnidirectional robot (x, y and rotation around z), which I would like to use the SLAM-algorithm from ROS. But the odometry from the robot has a drift, which makes some error. To improve the ...
1
vote
0answers
88 views

How to setup CLion for ROS remotely?

I know how to set up CMake and Toolchain remotely using ssh through official wiki. Does anyone know how to configure a remote <...
1
vote
0answers
120 views

Am I checking for a white pixel correctly?

I am currently going through all the pixels in an image to determine what is a white pixel. I then have to decide where to drive the bot. I am also using sensor_msgs/Image.msg that I get from the <...
1
vote
0answers
812 views

moveit! trajectory execution aborted

I'm trying to send a custom arm to a pose through moveit_commander_cmdline.py, it fails after sending to the said pose using " go default_pose" and returns an error. ...
1
vote
1answer
582 views

ROS packages for *pre-planned* path navigation rather than path generation? (Turtlebot3/ROS)

I am working on a project in which users will create paths fully constrained in terms of position (using a separate piece of software), and a robot will periodically follow those paths. We are using a ...
1
vote
1answer
294 views

UR5 Visual servoing(image based, eye in hand)

I am implementing IBVS on a UR5 using ROS. The algorithm works very well in linear X, Y and Z and omega Y. When I try to add a fifth axis(omega X or Omega Z), the robot jerks heavily and goes into ...
1
vote
0answers
378 views

How to solve action client not connected?

Does anyone know how to solve error action client not connected? The error text is: ...
1
vote
0answers
557 views

Have you done take-home robotics(ROS) coding test in interviews?

Have you done take-home robotics(ROS) coding test in interviews? Do you want to share the coding test instructions with me? or point me in the right direction where I can find some to practice? I'm ...
1
vote
0answers
93 views

How to use MoveIt and ros_control (from setup assistant) to control Gazebo robot?

I've noticed that in the MoveIt setup assistant, there is a "ROS Control" that auto-generates 2 files: - ros_controllers.yaml - ros_controllers.launch I wanted to ask if it was possible to use these ...
1
vote
0answers
136 views

Convert sonar scans to Lidar scan file

Has anyone tried to map environments using Sonars or 1D ToF sensors? Since it's very difficult to implement such an algorithm from the scratch, I'm planning to use an existing ROS packages such as ...
1
vote
0answers
61 views

Writing IMU accelerometer data into as twist messages into cmd_vel

I am reading accelerometer data from the wiimote /wiimote/state topic. A sample of the data I'm working with is as follows: ...
1
vote
0answers
658 views

ROS: joint_state_publisher dies when used in remote launch file

I've been trying to run robot_state_publisher and joint_state_publisher on a remote TX1 running Ubuntu 16.04 and ROS Kinetic. When running the node from a local launch file (manually ssh into the ...
1
vote
0answers
36 views

DSO_ROS is not giving right coordinates after taking turn (left/right)

Hi all , i got stuck in a problem and really need your help. Goal: I want to move little Toy vehicle autonomously (localization and mapping) and want to get distance covered by vehicle using DSO in ...
1
vote
0answers
103 views

ROS: TurtleBot3 motors runs 60 seconds after message is seen in topic /cmd_vel

I am running ROS Kinetic, on a Turtlebot3 Burger with a Raspberry Pi3. The goal here is to remotely control the Turtlebot from another Raspberry Pi. The remote controller Pi sends movement ...
1
vote
0answers
173 views

Which Kinect to use for robotic arm pick and place application with object detection?

I am building a robotic arm for pick and place application. The robot is going to recognize several objects using the RGB feed from Kinect (will use a model such as YOLOv2 for object detection, ...
1
vote
0answers
148 views

Kalman filter for slow ground vehicle with RTK

I have been using dual RTK receivers for my tractor projects. This gives me reliable position, heading, and tilt at low rates (10 Hz). I recently began working with an INS (an Advanced Navigation ...
1
vote
0answers
109 views

PixHawk I/II not working in 'Rover' mode (firmware issue?).... HELP!

We are working in a new agricultural rover, and we opted for PixHaw-II+ROS+MavLink platform as a good control alternative. However, our project is stuck as the PixHawk seems to work only when it is ...
1
vote
0answers
95 views

rtt-exercise building error-orocos-toolchain

I am using ros kinetic in ubuntu 16.04. My first error is: ...
1
vote
2answers
1k views

Error starting image_view video_recorder using launch file

To record .avi video, I am using video_recorder for the image_view package. I want to do this through the launch file. Here is the how I put it in there ...
1
vote
0answers
226 views

Controls Project, Inverted Pendulum. Design issues

I am developing an inverted pendulum that uses a differential drive robot as base. The goal is to create a benchmark to practice my control using ROS, so I can implement what I learn on the Modern ...
1
vote
0answers
896 views

Controlling Pepper using ROS

I am trying to implement FastSLAM 1.0 and I am using sensory and control data acquired from Pepper via ROS to evaluate my implementation. However I am having major issues when I try and control Pepper'...
1
vote
0answers
2k views

Advise on ROS move_base costmap footprint not connected error

I'm using ROS indigo in my project and all the nodes and visualisation (Rviz) seems to be functional when I launch the program using roslaunch. Here are the sensors used in the scooter: Hokuyo Lidar ...
1
vote
0answers
1k views

ROS/Gazebo: URDF Error: No valid hardware interface element found in joint

I am fairly new to ROS and Gazebo. I have posted this question on the ROS/Gazebo forums, but they appear to be dead. I am using ros-kinetic and gazebo7.3 on Ubuntu 16.04. I have been following this ...
1
vote
0answers
168 views

Waiting for the r_gripper_sensor_controller/gripper_action action server to come up

I started to use ROS hydro (Robot Operating System) and roscpp. I tested some examples to move the gripper of pr2 in Gazebo (especially the code in : http://wiki.ros.org/pr2_gripper_sensor_action/...
1
vote
0answers
814 views

Gazebo laser plug-in fails to publish scan results

I have added hokuyo laser plug-in to mu urdf file. I successfully launched the robot in gazebo and done required changes to visualize it in rviz. I didn't get any error but the laser scan results are ...
1
vote
0answers
755 views

Acceleration formula for a differential steering robot

I have the formulas to derive the RPM's of each wheel from the robot's linear velocity. Now, I am trying to do the same thing for the acceleration (mainly angular acceleration). For linear ...
1
vote
1answer
242 views

running UWSim commands in ROS

Where can I find a good documentation about the UWSim in ROS. Actually having the source files is not enough and it is actually hard to follow all the functions. for example, how can I use these ...
0
votes
0answers
8 views

cpp:585:1: warning: no return statement in function returning non-void [-Wreturn-type]

I am using this Repo when building the projects I am getting this error Ros - noetic ...