Questions tagged [ros]

ROS (Robot Operating System) is a free, open-source robot software framework developed by Willow Garage.

113 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
435 views

Is it possible to list all runtime dependencies for ROS

I've read this link: http://wiki.ros.org/kinetic/Installation/Source and have known that the command ...
5
votes
1answer
528 views

Wait simulation time in a non realtime ROS simulation in Python

I want to control a quadrotor with a Python script and run the simulation as fast as my laptop can, not only in real time. I've modified my world and now the simulation runs with 7-10 real time factor....
3
votes
2answers
721 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
165 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 ...
2
votes
1answer
71 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
221 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
200 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
48 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
0answers
58 views

Designing own robot for Gazebo simulation?

For my project I am trying to model and control a quadrotor with actuating arms. As I don't have a physical model with me, I want to simulate and control the robot using ROS and Gazebo. At the ...
2
votes
1answer
263 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
1answer
857 views

Python PID tuning - Parrot Bebop 2 - Target follower - ROS

I'm developing a PID controller for making the drone follow a detected object. I used as reference these topics: Ttracking-objects-from-camera-pid-controlling-parrot-ar-drone Tracking-objects-...
2
votes
0answers
27 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
0answers
111 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
0answers
168 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 ...
2
votes
2answers
974 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 ...
1
vote
0answers
5 views

unable to publish values of costmap_2d occupancy grid

Here's how my code looks - costmap_2d::Costmap2DROS *global_costmap = new costmap_2d::Costmap2DROS("global_costmap", buffer); I have specified the ...
1
vote
0answers
10 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
10 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
5 views

Significance of tf2_ros::TransformListener in constructors

Is there a reason that a lot of constructors in ROS based code take in tf2_ros::TransformListener as one of the input? I want to get an idea from the design ...
1
vote
0answers
13 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
37 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
92 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
33 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
41 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
68 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
71 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
54 views

ROS Algorithms & sensors

I am trying to implement boustrophedon algorithm using mobile robot. Can I implement this without map? I am planning to use dimensions (x,y) of the farm as reference assuming it is rectangular in ...
1
vote
1answer
464 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
255 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
330 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
496 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
79 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
132 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
59 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
585 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
35 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
88 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
167 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
108 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
214 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
886 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
163 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
781 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
746 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 ...