Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
7 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
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
1 vote
1 answer
418 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
3 answers
1k views

ros2 spinning problem[SOLVED]

i'm trying to transform ego-planner-swarm founded in: https://github.com/ZJU-FAST-Lab/ego-planner-swarm to ros2... the problem was in one of the subscription's callbacks there was a function in which ...
arash mokhtari sherkat's user avatar
0 votes
2 answers
190 views

How to specify the network interface ros2 uses for communication?

When I launch my node, after installing a docker image, I get following warning, luckily it arbitrarily selects the right interface, but how can I specify it to get rid of the warning? ...
user avatar
0 votes
0 answers
126 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
844 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
17k 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
22 votes
2 answers
31k 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
  • 323
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
19 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,243
4 votes
1 answer
342 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
347 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
373 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
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
1 vote
1 answer
160 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
  • 47
1 vote
1 answer
144 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
215 views

Correct use of transformations while using coordinate frames

I would like to understand better the transformations between the frames established in REP-105. I did read the specification but I think I might be misunderstanding something. Let me bring one ...
ÁngeLoGa's user avatar
  • 157
1 vote
1 answer
169 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
433 views

convert/use rosbag1 with ROS2 on Ubuntu 22.04

Hi, I just got several datasets in the form of ROS1 rosbags. I would like to use them within ROS2 (humble), either by converting them to ROS2 bags, or by replaying them in ROS2, whatever is easier. Or ...
user avatar
1 vote
1 answer
872 views

Using Qt Designer and ROS2 together for a GUI

Hello, I want to create a GUI for my project using ROS2. I do not have any experience in developing graphical applications, so I decided to use Qt Designer for a more "Drag and Drop" ...
ssarkar's user avatar
  • 586
1 vote
1 answer
34 views

Linking library with node in same package

I have the following in my CMakeLists.txt ...
Rufus's user avatar
  • 486
1 vote
1 answer
128 views

ament_target_dependencies vs target_link_libraries

In the tutorial for adding dependencies, it mentions Sometimes it will be necessary to call the target_link_libaries CMake function What are the situations where I should use ...
Rufus's user avatar
  • 486
1 vote
0 answers
475 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
1 answer
46 views

Intel RealSense D455 is not working with ROS noetic in Jetson Orin Nano

I tried connecting the Realsense D455 camera, to get point cloud information from the camera. Works fine on a PC. But when connected to Jetson Orin Nano, its shows up with the SDK and Realsense viewer ...
SpaceDoug's user avatar
0 votes
1 answer
43 views

ROS1 Noetic Custom messages - Command line publish char[]/uint8[] support

I have a custom ROS1 Test.msg message which I use in roscpp Noetic: uint8[] a uint8[] b I use uint8[] to represent strings, because I can't use simple string type ...
Enikő's user avatar
  • 11
0 votes
1 answer
613 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
0 answers
637 views

Looking for a model in a gazebo

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

How to use (python) virtual environments with ROS2?

Hello, I am trying to run a python node which has imported some dependencies installed in a python virtual environment (using virtualenv). I have followed this tutorial: https://index.ros.org/doc/ros2/...
user avatar
0 votes
1 answer
93 views

How to install ros2 packages on Windows 10?

Hi! I have a lot of experience working with ros1 on ubuntu (specifically melodic), and all of the packages and ros itself was downloaded via apt package manager. I was wondering if there was something ...
user avatar
0 votes
2 answers
21 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,347
0 votes
1 answer
48 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
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