Questions tagged [ros]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

How to make x variable change each time and read its value from txt file

I am working on my undergraduate project and this is my first time in using use python to control parrot bebop 2 drone and use BCI or BMI technology. I have x variable (int) and I want to read its ...
2
votes
1answer
38 views

Debuging ROS on a Jetson Xavier

I have configured ROS melodic based on the RACECARJ and MIT-Racecar Github repos. Everything runs perfectly on my desktop Linux 18.04 machine. The script should be able to install the same also on ...
0
votes
1answer
110 views

Add image onto box in URDF file

I'm trying to display an image on top of a box in a .urdf file. How could I achieve this?
0
votes
1answer
87 views

Cmake Error While Buliding Pixhawk simulator

I am trying to run "px4 SITL simulation" using gazebo7 on my machine with "UBUNTU-14.04 LTS" using these commands: ...
0
votes
1answer
23 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
2answers
44 views

Caculating the distance of a point from point cloud data

I'm getting the x,y,z values for three points as follows: x : -0.357200 y: -0.205010 z: 0.940000 ...
28
votes
12answers
13k views

Can ROS run on a Raspberry Pi?

Can ROS run on a Raspberry Pi? ROS is resigned to run on a network of machines, with different machines, even different cores on the same machine doing different jobs. Can one of those machines be a ...
5
votes
1answer
154 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 ...
7
votes
2answers
346 views

ROS on Raspberry Pi Model 2: UbuntuARM vs ROSBerryPi

Before I ask my question, I'd better confirm that I've read the most prominent post about running ROS on Raspberry Pi devices. That post contains some valuable information, but it's a bit dated, and ...
4
votes
1answer
46 views

Multiple machine ROS image transmission error

I'm currently trying to establish communication between my Raspberry Pi based robot and a Cluster which are on the same network. Although I am able to ping and SSH one device using the other, I'm ...
1
vote
3answers
620 views

Can't Read current on Pololu Dual MC33926 Motor Driver Shield for Arduino

I purchased a Pololu Dual MC33926 Motor Driver Shield for Arduino, and for some reason I cannot read current from the motor controller. On the Serial.println() it just prints weird data (garbage), and ...
0
votes
2answers
535 views

Mujoco and MoveIt!

I want to implement deep reinforcement learning using a UR5 robot. A little research told me nowadays researchers are using openAI gym, Mujoco, rllab as their frameworks. The thing is, I want to train ...
0
votes
1answer
17 views

Sourcing catkin workspace populates ROS_PACKAGE_PATH with individual package paths

When creating a new catkin workspace, building it and then sourcing devel/setup.sh, the ROS_PACKAGE_PATH is populated with paths ...
0
votes
1answer
2k 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 and extracted them into my catkin_ws/src folder and ran catkin_make. Then I edited the ...
0
votes
1answer
159 views

Simulating the robot using moveit with ROS

I'm an absolute beginner in this field so I request you to help me although the question seems very silly. I want to send the robot (in simulation) pose goal from ROS node. I want to use to moveit ...
0
votes
2answers
535 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 ...
0
votes
1answer
432 views

Real time implementation of EtherCAT master with ros_control

I want to control a motor using EtherCAT protocol. 1. I used IgH ethercat master to control motor in hard real time (1 kHz). 2. Later I want to integrate this in ros_control with hard real-time ...
0
votes
0answers
27 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. ...
2
votes
1answer
26 views

Command line boolean parameters to ros node

I'm working with ROS melodic and Gazebo 9.9.0 on an Ubuntu 18.04.2 LTS. I want to get two boolean parameters from command line. To do it, I have this code: ...
1
vote
0answers
42 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 ...
0
votes
1answer
31 views

how to implement autonomous navigation using lidar and hector?

I want to make an autonomous mobile robot, which can localise itself and navigate to the goal in an unknown environment. As sensor, i just have a RPLidar to get laser scan, that's it. I used Hector ...
1
vote
1answer
128 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-...
0
votes
0answers
8 views

Does USB read-rate from camera decrease when running inside of a docker container?

I have a general question regarding usb device performance inside of a docker container. For context, I have setup a docker image (for deploying containers on an nvidia jetson agx xavier platform) to ...
1
vote
2answers
34 views

Avoid to hit corners on diagonal steps using A* algorithm

I'm using ROS melodic with Gazebo 9.9.0 on an Ubuntu 18.04.2 LTS. I'm implementing an autonomous node that uses A* algorithm to move a robot from one position to another. The robot will be on a ...
1
vote
1answer
76 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 ...
0
votes
0answers
9 views

Custom Image and Depth map in ROS RTAB mapper

I read about RTAB package which builds 3D point clouds based on optical odometry. This fulfills my requirement, which will be clear by the end. The issue is, I don't have a Kinect camera. What I have ...
1
vote
1answer
257 views

rospack Error: package 'script' not found

I am trying to run rosrun script forward.py but it gives me an error saying [rospack] Error: package 'script' not found In my ...
4
votes
1answer
27 views

Native ROS vs ROS compatible via API

I am looking to buy a cobot for a research project (budget about 20k€). I happened to see some cobots (e.g. Mara) that claim running ROS natively, some others (e.g. Aubo i5) that is compatible with ...
1
vote
1answer
24 views

Action client waiting forever for server to start

I'm in the process of writing an action cpp file and the client side seems to be stuck waiting for the server to start and I'm not quite sure why. Here's the code: ...
1
vote
1answer
32 views

IMU outputs data to Arduino Serial Monitor but ROS hangs when waiting for IMU to boot?

I am trying to use an IMU in a robotic car. Specific IMU: https://learn.sparkfun.com/tutorials/9dof-razor-imu-m0-hookup-guide?_ga=2.87322972.515701132.1562620054-1210936642.1562620054 Specific ROS ...
1
vote
0answers
17 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 ...
4
votes
1answer
668 views

ROS MoveIt!, virtual joints, planar joints, prismatic joints

I do have a robotic application, where a 7Dof robot arm is mounted on a omnidirectional mobile platform. My overall goal is to get MoveIt! to calculate a sequence of joint movements, such that the ...
1
vote
2answers
538 views

What is the difference between ROSberry Pi builds?

I went to go install ROS for my Rassberry Pi and found that there are 5 different variants. What is the difference between them and where can I go to learn about these differences for future updates? ...
3
votes
3answers
91 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 ...
1
vote
1answer
707 views

Is rospython subscriber thread safe?

I'm trying to write a python node, which has one class and two member functions as callback functions. so a TimeSynchronizer and Subscriber in a node. I saw in this link and tested that python ...
0
votes
0answers
28 views

ROS meta-package ros-melodic-desktop-full doesn't include mav packages

Why doesn't the installation of the meta-package ros-melodic-desktop-full on Ubuntu 18.04 Melodic include the packages ...
0
votes
1answer
32 views

Subscriber to array type overwriting data from different publishers!

I have been witnessing some bizarre behaviour with my very simple node. I have a custom message that contains uint8[] type (it's 8 elements long). I have a ...
3
votes
1answer
47 views

Robot moving sideways in RVIZ ROS

Hi, I have a wheeled-legged robot as you can see in the picture. When I simulate it in ROS-Gazebo it works fine, however at the same time in Rviz it moves sideways instead of forward or backwards. I ...
0
votes
0answers
24 views

error: template argument 1 is invalid (ROS Publisher CPP Error)

I got some error when trying to create a publisher in ROS cpp. ...
1
vote
0answers
32 views

how to solve action client not connected?

does anyone knows how to solve error "action client not connected" this is error text: ...
1
vote
4answers
161 views

Why my robot is lying down in gazebo simulator?

this is my first post about ROS and Gazebo also I am new in ROS. I spawn KUKA robot in Gazebo using urdf file from KUKA github repository following answer from this question I spawned my urdf file in ...
0
votes
1answer
83 views

How to convert PointCloud2 message to a grid?

I'm using a Velodyne sensor which publishes on /velodyne_points topic, and its class type is PointCloud2. Now I want to convert ...
4
votes
1answer
130 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....
0
votes
0answers
15 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 (...
4
votes
1answer
92 views

Can ROS workspace safely exist in an external HDD?

Is it safe to create and operate a ROS workspace from an external hard drive? Are there any limitations or issues I should be aware of? Tutorials and manuals typically suggest that the workspace ...
0
votes
0answers
37 views

How can I specify parameter '~moveit_controller_manager'?

I followed this tutorial: Basic ROS MoveIt! and Gazebo Integration but when I launch moveit launch file from tutorial, I have error which says that I did not specify parameter '~...
0
votes
0answers
11 views

How to use two topics without using TimeSynchronizer

I need an Image topic and a PointCloud2 topic to find pose but it takes so long to get the ...
0
votes
1answer
37 views

setting custom variables on catkin workspace environment

I am developing a package for the ROS, in fact it is a package of resources / models for the Gazebo, and I need with the presence of this package in the Workspace of Catking, to be automatically set ...
1
vote
2answers
312 views

PTAM CameraCalibrator error

I am trying to run the cameracalibrator.launch using PTAM according to this Camera Calibration tutorial. However, when I do so, I get the following error: ...
0
votes
0answers
12 views

Improve altitude control on an outer loop PD controller for a UAV

I'm playing around with using PID control as an outer loop control for the position of a DJI drone in a Hardware in the loop simulator. I have three separate controller instances for each axis x, y, ...