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
1answer
68 views

ROS2 and TypeError when publishing custom message to Topic

I have defined a custom message: uint8[] data The custom message is imported in my Node class with no problems: ...
0
votes
1answer
27 views

Use 2 Cameras as 1 Stereo Camera

I have one Picamera and one normal USB Webcam and would like to use them together as one stereo camera. Is this even possible as the 2 cameras aren't exactly the same? I would like to use them in ROS ...
0
votes
1answer
401 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
0answers
4 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
2answers
45 views

How to investigate the relation between planning frequency and control response?

I have a speed control system which is part of a hierarchical planning and control stack. The final output of this system is torque and the input is desired speed. The system is experiencing some ...
0
votes
3answers
78 views

ROS Webcam Stream Really Slow

I am trying to stream the images from my camera to a VM via ROS. Here is my setup: Raspberry Pi 3B+ with Picamera v2. It is running ROS Noetic with cv_camera_node ...
0
votes
0answers
9 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 ...
0
votes
1answer
10 views

How to remap /move_base_simple/goal to my own topic in turtlebot3_navigation?

I am running turtlebot3_navigation and want to make it subscribe to my own waypoints topic /my_waypoints rather than RVIZ's Set 2D Goal topic ...
0
votes
1answer
1k 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 ...
29
votes
13answers
15k 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 ...
0
votes
0answers
9 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 ...
0
votes
0answers
4 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 ...
0
votes
1answer
206 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
35 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 ...
1
vote
1answer
457 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 ...
0
votes
0answers
24 views

Docker on WSL2: ROS gazebo in “docker-compose”: demo “test talker” needed as the input of the standard RViz listener

Taking the image and the X server setting that you get from Docker on WSL2: how to test whether ROS gazebo can connect to already working X server (using its X11 window on Windows)?, I was curious how ...
0
votes
1answer
21 views

Docker - Dockerfile: /bin/bash: catkin_init_workspace / catkin_make: command not found

I follow the guide of kinetic - Installing from source and put the steps in a Dockerfile. At this point, I get an error, although I follow exactly the guide, and although it works in the bash of the ...
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 ...
0
votes
2answers
42 views

Is this encoder error expected?

I'm working with the iRobot Create 2. When I read the encoder count and sum it for total, I'm able to do so without apparent error. I've used this to 'successfully' estimate position combining with ...
2
votes
1answer
70 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 ...
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 ...
0
votes
1answer
97 views

ROS Navigation stack with Omni-wheel robot

I have worked through navigation stack on diff-drive, I'm wondering how to get the stack running on 4 wheeled Omni-wheel robot equipped with Arduino and how to get odometry from 4 wheel encoders It ...
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 ...
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 ...
0
votes
1answer
84 views

Error in Pose(): All values are zero for turtlesim/Pose

Here is the program I have written. The function is to make the turtlesim complete one revolution, with a fixed angular velocity and speed. ...
0
votes
1answer
28 views

How to handle curved paths in maze

-I have an RPi on Ubuntu with ROS (Kinetic). The task is to solve a maze. I have implemented a left-hand algorithm to navigate through the maze. -The robot is equipped with 3 ultrasonic HC-SR04 ...
0
votes
0answers
15 views

Simulating Manipulators with ROS and Gazebo

I'm working with a project that requires some sort of simulating specific manipulators like Puma 560. To test control algorithms, we need to test them first with a model that resembles the real ones (...
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 <...
0
votes
0answers
21 views

RGBD Camera Compatibility with ROS

I am looking for a good RGBD Camera that I want to use with ROS. Is there a way to know if a camera will work with ROS? Or is it that every camera is compatible with the usb_cam node? I want to send ...
1
vote
2answers
1k views

Inverse kinematics for differential robot knowing linear and angular velocities

I have a differential robot and I am using ROS to run it. When I need to move the robot, I can send commands to it, specifically linear X and angular Z velocities. Linear X is in m/s whereas angular Z ...
2
votes
3answers
618 views

Are Rospy subscriber callbacks executed sequentially for a single topic?

Suppose a ROS node receives new batch of data on a topic while the previous batch is still being processed by callback. Will ROS wait for its completion or will it spin a new thread and run both at ...
2
votes
1answer
853 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
1answer
66 views

Planar Robot Boundary Detection

I am tasked with building a robot that needs to localise and navigate itself on a rectangular surface (like a large desk). The rectangle's shorter sides will be marked with a red tape (or with two ...
0
votes
1answer
25 views

Eliminate grey space around the saved map

I have mapped my Gazebo environment using the slam_gmapping node. On running ...
1
vote
1answer
51 views

Localization and Mapping in a Small Crop Field

I have a small crop field inside my house and I want to create a map of it. The goal is to create a map so that I can monitor the growth of the plants and do some post processing to analyze the ...
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 ...
0
votes
0answers
35 views

LEGO-LOAM: Creating and Saving a Map

I have implemented LEGO-LOAM on my system. I have a velodyne VLP16 lidar. I am getting a display like this in the rviz window. I need help in creating and saving a map from this data. What should I do?...
0
votes
1answer
40 views

Is it possible to setup a wireless network without internet for the robot and PC?

The system includes three devices: PC, robot's computer, and wireless device. In order to improve the signal quality of the wireless in the whole robot's environment. I'd like to put a big wireless ...
0
votes
1answer
334 views

catkin build with multi-core make for building individual packages

I have multiple libraries and the main program. When I run catkin build command it starts with 8 jobs but after finishing building libraries continues to build the ...
-1
votes
1answer
57 views

How to subscribe message coming from a package of ROS into Python code of another package?

I am using darknet_ros_3d package and getting the published 3D coordinates. Now I need to subscribe these coordinates into a Python file (...
1
vote
1answer
64 views

Learning ROS for Absolute Beginners in Robotics [closed]

I am a student studying in 11th grade. I have some knowledge about python (more than what an ordinary student in 12th grade will have). I also have some knowledge of C# as I have been creating games ...
0
votes
1answer
132 views

How to convert serial data to sensor_msgs/Range Message

I have a ROS node which manipulates a serial frame, the frame contains ultrasonic measurements, I have to extract this measurement and publish it as ...
1
vote
1answer
28 views

Determining (Heading) Yaw to rotate the Turtle Robot to desired point (X,Y) so it moves towards it

I have a turtle bot and I want to modify its heading so it moves to certain point (x,y) in the world. Now I reckon that yaw is angle from robots reference, how do I determine the yaw as the point (x,y)...
5
votes
3answers
2k views

What is the easiest way to install ROS on OSX Mountain Lion?

The latest OSX documentation I found on the website is from 2011, and the latest build is from over a year ago. I'm a complete n00b to all things ROS and wanted to start playing with it. What is the ...
-2
votes
1answer
34 views

AttributeError: darknet_ros_3d instance has no attribute 'Xmin' [duplicate]

After publishing the messages from another package, I am using darknet_ros_3d package and writing a subscriber. For saving the messages into variables for the later use, I am following the answer ...
1
vote
1answer
34 views

Inverse kinematics in KDL without rotation

I am trying to use KDL to do inverse kinematics. However I am not interested in the orientation of the end effector, but only in the location. Is there a way to specify this in KDL? The function ...
-1
votes
1answer
52 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: ...
2
votes
1answer
261 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
2answers
1k views

Roslaunch include file remotely

I am trying to launch a file from remote computer but I could not success. Actually I can connect to remote computer but I think the problem is with including a file from remote computer. In other ...
0
votes
1answer
77 views

Usage of Falkolib(OpenSLAM) for 2D lidar landmark extraction

I am using Falkolib for landmark extraction in a 2D environment. Currently I am using the testKeypointOC executable from the bin directory. I have changed the testKeypointOC.cpp file and the ...

1
2 3 4 5
8