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
6 votes
1 answer
4k views

Implementing a boustrophedon algorithm in a given room with obstacles

I have a mobile robot which is navigating around a room, I already have the map of the room. I am using the navigation_stack of ROS. I am using rotary encoders for odometry. I am fusing the data from ...
Naman Kumar's user avatar
6 votes
1 answer
18k views

How to get a python node in ROS subscribe to multiple topics?

How a ROS node written in Python could subscribe to multiple topics and publish to multiple topics? All examples I found were for a single topic. Is this an event-driven model so subscription to ...
Zoltan Fedor's user avatar
1 vote
1 answer
414 views

ROS : Performing 2-D Pedestrian Dead Reckoning on an AR Drone and displaying location on a floorplan [closed]

I'm trying to find a way where I can estimate the location of my drone on a floorplan. Note that right now, I will just be moving the drone around manually and not flying it. I read up on PDR and ...
Fadhil Abubaker's user avatar
0 votes
0 answers
71 views

How to fix ValueError: module PIL Image is not a class?

This is the node I've written in rospy. It opens a socket connection and then converts the received image to < ndarray > and then < sensormsg.Image > and publishes it ...
SM5's user avatar
  • 9
-1 votes
1 answer
767 views

How can I save messages publishing from a ROS package into a variable?

I am using darknet_ros_3d package and writing a subscriber. So far, I have followed the code given as under: ...
ahmed ali's user avatar
32 votes
14 answers
16k 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 ...
Rocketmagnet's user avatar
  • 6,457
21 votes
2 answers
29k views

ROS: catkin_make vs. catkin build

When using ROS: Why should I use catkin build from catkin_tools instead of catkin_make? I've been told that ...
SKA's user avatar
  • 313
19 votes
1 answer
4k views

ROS: Best practices?

I'm going to build a small robot system, and it seems like that ROS serves a nice framework to control and program the system. However, I am wondering which is the best practice to manage the ...
manf's user avatar
  • 193
18 votes
2 answers
8k views

How to choose a good IMU for a wheeled robot?

At our lab, we have a several "Kurt" type robots (about the size of a Pioneer, six wheels, differential drive). The built-in gyroscopes are by now really outdated; the main problem is that the ...
Martin's user avatar
  • 4,213
4 votes
1 answer
292 views

Does a stable library exist for docking robots using images?

I built a mobile base from scratch, and now I am focused on getting the robot to charge. The robot is using an on-board webcam (and PC) to detect a QR barcode on the charger unit. Using OpenCV I find ...
Mike's user avatar
  • 361
4 votes
2 answers
1k 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 ...
Franky's user avatar
  • 536
4 votes
1 answer
5k views

Calculate covariance matrix from x,y,z data

In ROS I've recorded a bag file from a custom robot (in real world) that does not provide covariance matrix and I want to use /odom to feed an EKF, but covariance ...
Maysam's user avatar
  • 345
3 votes
1 answer
2k views

Tf frame origin is offset from the actual base_link

I have built my differential drive mobile robot in solidworks and converted that to URDF file using soliworks2urdf converter. I successfully launched and robot and simulated with tele-operation node. ...
user3725099's user avatar
2 votes
1 answer
1k 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-...
Ilyas's user avatar
  • 53
2 votes
1 answer
281 views

What is the Point of Monocular SLAM

I am not a V-SLAM expert yet, but as far as I understand with monocular V-SLAM there is a scale ambiguity introduced by the fact that a camera essentially is an azimuth sensor that maps the 3D world ...
JJB_UT's user avatar
  • 120
2 votes
1 answer
264 views

cartesian velocity control loop implementation

I'm using ROS (noetic) to intuitively control a franka manipulator using the panda_robot package for the simulation. I've set up an extended kalman filter which fuses the following measures: IMU data:...
dcfg's user avatar
  • 81
1 vote
1 answer
160 views

Coordinates seem to show overlapping but RViz doesn't

How can you place two objects that seem to overlap with their units but appear stacked on top of each other [original intent] in RViz? I was watching this video tutorial on ROS and URDF. I have ...
heretoinfinity's user avatar
1 vote
1 answer
94 views

Problem with Define Robot Poses (in Moveit Setup Assistant)

In this picture, I can use GUI to define any pose of robot. However, I can't drag the slider or enter a number in the box. What is my problem?
Vrushab Jain's user avatar
1 vote
1 answer
83 views

How do you publish on a ROS topic when the message type is not known?

I am trying to publish a ROS message in Python but I do not know the message type. I tried using AnyMsg and it did not work. If this is possible would someone be able to provide a Python code snippet?
jasonsf's user avatar
  • 33
1 vote
0 answers
467 views

Gazebo crashes and burns launching empty world in new package [closed]

I'm launching empty_world copied into my package with the command roslaunch my_package empty_world.launch. Here is ...
Charles's user avatar
  • 111
0 votes
2 answers
8 views

costmap_2d with nothing but a clearing footprint?

I'd like to set up a costmap_2d initialized to be 100% unknown or obstacles, and have it do nothing except clear grid locations within the footprint. I don't want to have a static map that is ...
Lucas Walter's user avatar
  • 3,244
0 votes
2 answers
41 views

how do i create a /map frame?

I have the following tf tree, but I'm missing the /map frame. Where does it come from? What is supposed to publish it?
nolan's user avatar
  • 1
0 votes
3 answers
2k 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, ...
Redstone's user avatar
0 votes
1 answer
612 views

ROS + kinect depth data duplication

I am trying to get depth data from a Kinect in a ROS project. It currently looks like this: To arrive at this, I've done: ...
Ben's user avatar
  • 101
0 votes
1 answer
31 views

Cannot define robot poses in MoveIt setup assistant

I am using ROS Noetic Ninjemys with Ubuntu 20.04. I made a URDF of an end effector. I tried to configure it with MoveIt setup assistant. However, I am unable to adjust the prismatic joint "...
Sangeeth joseph's user avatar
0 votes
0 answers
629 views

Looking for a model in a gazebo

I have a small world file, say ...
Charles's user avatar
  • 111
0 votes
1 answer
951 views

Docker on WSL2: Dockerfile: how to test whether ROS gazebo can connect to already working X server (using its X11 display on Windows)?

I had the following errors and warnings in a ROS project. They showed up using docker-compose or when running a mere container from the image, which strangely had worked once somehow but then later ...
questionto42's user avatar