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

process has died , exit code -11

I installed this framework and followed the instructions, but when I run it, I get the following error: ros melodic ubuntu 18.04 ...
  • 51
2 votes
1 answer
602 views

Implementing PID on a line following bot using turtlebot

I am using ROS melodic,turtlebot 2 on Ubuntu 18.04. The idea is to create an environment consisting of lines as a path (slightly curved), and to program the turtlebot to follow the lines. Basically, a ...
  • 131
1 vote
1 answer
198 views

Searching for object in an unknown environment using ROS

Using ROS, I'm trying to build a robot able to search for specific objects in an unknown environment. Right now, I'm experimenting with a mobile robot in a simple gazebo maze, using a LIDAR for ...
1 vote
1 answer
1k views

How do you integrate an external library to your ROS catkin_Workspace?

So following example: I have Package A with the function doA(); and I have Package B inside ...
0 votes
1 answer
2k views

Static transform difference between command line and launch file

I'm having a problem setting up the static transform between my base_link and my camera. If I use rosrun tf static_transform_publisher in a different command line the camera is alligned with my axes ...
  • 3
0 votes
0 answers
287 views

Takeoff service not working as expected

I'm simulating Iris quad sing px4+mavros+gazebo. I'm trying to get my drone to takeoff using python code. When I publish height using mavros/setpoint_position/pose, ...
0 votes
1 answer
103 views

Using Google Cartographer library standalone

I am working on a project that requires the analysis of the results of different SLAM libraries with respect their accuracy on building a map. Right now, I am more interested in the development with ...
0 votes
2 answers
268 views

Number of diagonal elements in the pose covariance matrix

The control.yaml file inside the husky_gazebo package defines the value of the ...
  • 195
0 votes
1 answer
24 views

Why does the quadcopter become unstable after turning?

I'm trying to write a simple test MAVROS node where my quadrotor is expected to go in a straight line and then have 180-degree turn and come back and land on where ...
  • 113
0 votes
1 answer
391 views

How to disable GPS in ROS/MAVROS and sent the points myself?

I'm trying to create a simple MAVROS node that takes off, goes to a specific location and then comes back to its home location. As this is currently being tested ...
  • 113
0 votes
1 answer
46 views

Count number of collisions while navigating to goal

I have the navigation stack working in ROS Kinetic on my computer. In Stage ROS simulations, I can specify the goal and the robot navigates to it. I need to count the number of collisions (if any) ...
2 votes
1 answer
75 views

Proper implementation of `pure_pursuit` for ground robots using waypoints

I am trying to understand and implement pure-pursuit waypoint following in 2D map. My questions are: 1. What exactly do I need to record in my waypoint.csv file? To ...
  • 21
1 vote
2 answers
80 views

Reflective surface

Have you encountered the problem of reflective surfaces for realsense camera (d435 or t265) and lidar (A1 or A2). I would like to know what are the ways to solve problems with reflective surfaces for ...
0 votes
1 answer
101 views

Rospy: Why does the loop not get interrupted?

I am working on the software for an autonomous Raspberry-Pi based robot which should keep moving for 2 minutes unless an unintended key is fed to it as input. Upon receipt of the unintended key, the ...
  • 101
0 votes
1 answer
55 views

doubt regarding the base_local_planner::transformGlobalPlan() function

I am trying to understand the base_local_planner::transformGlobalPlan() function. As per my understanding, the function takes in the global_plan (generated by the <...
  • 195
0 votes
2 answers
129 views

Significance of fixed_frame parameter in lookupTransform function

I was going through the implementation of the lookupTransform function defined inside the base_local_planner::getGoalPose() function. What is the significance of ...
  • 195
1 vote
0 answers
134 views

unable to integrate local planner plugin into move_base

I am trying to integrate my local path planner plugin into move_base. On launching the modified ...
  • 195
1 vote
1 answer
34 views

Log file getting spammed by "writing header" when calling service

I have a rospy node that hosts a very simple service, indicating if a modem is ready to send data. Another node calls this service very often. For some reason, the following log statement gets logged ...
  • 11
0 votes
1 answer
763 views

Modifying Turtlebot3 to include different camera

I'm new to robotics in ROS. I've been learning about ROS and Gazebo using turtlebot (not turtlebot3 actually) on the platform The Construct. I would now like to incorporate turtlebot3 into my project. ...
1 vote
1 answer
92 views

Robot Operating System can be usable other than Robot application?

I am asking very general question, but i would appreciate if someone helps me. I want to use ROS for manufacturing process (Not robots) as a middleware that can create simulated Cyber physical system ...
0 votes
1 answer
112 views

Unable to figure out the source for the bad_alloc error

I am getting a bad_alloc error when I try to use the costmap_2d::Costmap2DROS::getRobotPose function inside the ...
  • 195
1 vote
2 answers
419 views

Is there a way to send commands to the Staubli CS9 from remote system via TCP/IP??(like ur_rtde, urx libraries for UR robots)

I am new to ROS development and Staubli robots. Though i have some prior knowledge on UR5e, I am finding it hard to understand the architecture of Staubli and its other programming interfaces (like ...
2 votes
1 answer
995 views

Why does ROS2 claim to be "real time"?

ROS2 uses DDS, in the wiki it says that DDS is "The Data Distribution Service (DDS) for real-time systems is an Object Management Group (OMG) machine-to-machine (sometimes called middleware or ...
2 votes
1 answer
1k views

How to reset odom positions of robots while setting initial positions of robots in gazebo simulation through launch file

I'm in the process of creating a coordination system for a multi robot system. For that i currently have created a ROS based simulation in gazebo using Rosbot2.0 (Robot physically available as well). ...
0 votes
1 answer
203 views

can't install smach_viewer on ros melodic

I tried installing smach on ROS Melodic with the command: ...
0 votes
1 answer
190 views

How to setup ROS and it's GUI tools in local server and connect to local macbook

I recently started learning ROS and I am having Macbook (MacOS Catalina) which is not ideal for running ROS. So, I decided to install ROS in my local home ubuntu 20.04 desktop server and connect it to ...
  • 1
0 votes
1 answer
499 views

Drone Development using ROS Noetic on Ubuntu 20.04

I installed ROS Noetic on Ubuntu Mate 20.04 in my Raspberry Pi but couldn't find any specific tutorial to follow along for Noetic. Most are available for Melodic, which doesn't work with the latest ...
0 votes
1 answer
161 views

Small AGV robot for ROS application

I am looking for an off-the-shelf small AGV which runs or could be used with ROS. It may include some basic sensors like a camera, an IMU, an Ultrasonic range finder, etc. Really appreciate all the ...
  • 526
0 votes
1 answer
119 views

ROS Publish Stereo Image From 2 USB Cameras

I have two monocular USB cameras and I want to use ROS to make it a stereo camera. I am having a hard time finding a ROS package that consumes 2 monocular camera image streams and publishes a depth ...
-1 votes
1 answer
736 views

How to generate a mesh file for URDF

Pybullet needs a mesh file to go along with URDF. Is there a non painful way how to generate one? Ideally I'd love to generate one from the URDF file itself, as it has all the boxed already defined ...
  • 103
0 votes
1 answer
88 views

How to extract robots coordinates using ICP algo

I would like to know How to extract robots localization from the icp or ndt algo, currently I'm using scan registration for this reason
  • 123
1 vote
1 answer
96 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 ...
1 vote
1 answer
97 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 ...
  • 195
2 votes
1 answer
26 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 ...
  • 195
1 vote
1 answer
416 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 ...
  • 13
2 votes
2 answers
74 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 ...
1 vote
0 answers
56 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 ...
  • 195
2 votes
1 answer
57 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 ...
  • 195
1 vote
1 answer
882 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 ...
0 votes
1 answer
677 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
0 answers
141 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 ...
  • 11
0 votes
1 answer
125 views

Eliminate grey space around the saved map

I have mapped my Gazebo environment using the slam_gmapping node. On running ...
  • 195
1 vote
1 answer
74 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 ...
0 votes
1 answer
198 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 ...
  • 101
1 vote
1 answer
77 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
2 answers
59 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
1 answer
137 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 votes
1 answer
516 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: ...
0 votes
1 answer
71 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 ...
-1 votes
1 answer
595 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 2
3
4 5
10