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
1
vote
1answer
33 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
0answers
5 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
0answers
10 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 ...
1
vote
1answer
14 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 ...
2
votes
2answers
47 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
0answers
10 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 ...
1
vote
0answers
5 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
0answers
27 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 ...
1
vote
1answer
27 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
1answer
38 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
0answers
14 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
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 (...
0
votes
0answers
22 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 ...
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 ...
0
votes
0answers
39 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 ...
1
vote
1answer
65 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
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
36 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
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: ...
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 ...
-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 (...
0
votes
3answers
80 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
6 views

Mavproxy command returns no link

I have been having trouble in connecting the mavproxy.py script to the dronekit-SITL. I have tried mavproxy.py - - master tcp:127.0.0.1:5760 - - out udp:127.0.0.1:14550. The udp connects to the ...
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 ...
0
votes
1answer
14 views

Multi-Agent simulation causing trouble in Rviz

I'm trying multi-agent simulations using ROSBOT 2.0 by husarion. I'm comfortable with single agent but when it comes to multiple agents I'm able to spawn them and control them independently but the ...
1
vote
1answer
66 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 ...
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)...
0
votes
1answer
60 views

Tried to advertise a service that is already advertised in this node [/leo/controller_manager/list_controllers]

I'm trying to do a multi agent simulation using leo_rover which is open source. I'm comfortable with single system, but when I add a second robot using namespaces i get the second robot spawned in the ...
0
votes
2answers
52 views

Where to learn ROS? [closed]

I am trying to learn ROS and so I was looking for some guide or tutorial series. I already managed to set up ROS Kinetic on a Raspberry Pi and ROS Noetic on a Ubuntu VM. I am quite experienced in ...
1
vote
1answer
57 views

Gazebo freezes on vm after running roscore

I'm a beginner in ROS, since the learning curve for ROS is steep i decided to use a book to learn how to use ros ([ROS Robotics Projects - Second Edition][1]). I'm currently on the third chapter. I'm ...
0
votes
0answers
23 views

CHOMP Planner freezes rviz Motionplanning in ros

I am trying to use the CHOMP planner for my custom robot by following the tutorial. After setting everything up as shown in the tutorial, I tried to plan a very simple movement. As one can see in the ...
0
votes
0answers
19 views

Robot doesn't load properly in Gazebo when inertia values are small

The complete question is posted here.
0
votes
1answer
48 views

Failed to load plugin libgazebo…: libgazebo…: cannot open shared object file: No such file or directory

When running a command similar to the roslaunch gazebo_ros empty_world.launch of the Tutorial: Using roslaunch to start Gazebo, world files and URDF models, I get ...
0
votes
1answer
42 views

pid tuning the wheel velocity

I am using diff drive controller to control the wheels of my robot. Here i am trying to use the control toolbox pid class for making the input velocity and velocity measured from wheel encoder to be ...
0
votes
1answer
37 views

What causes rviz black screen at startup?

I have been running the same rviz conf for months and mostly have had no issues. But lately there is often a black screen at rviz startup and it happens seemingly randomly, without any error messages ...
1
vote
1answer
178 views

Hector_navigaton on ROS Melodic error

I'm a newbie on robotics, and currently, I'm working on a project to make an autonomous robot that can mapping the surrounding environment and decide the shortest route towards the goal while avoiding ...
0
votes
1answer
48 views

How to make two frames relative to each other

I have a Velodyne and camera that both have transformations specified relative to the origin of the robot. The original transformations were specified as yaw, roll, pitch, x, y, z. I wrote a script to ...
0
votes
1answer
103 views

Is it possible to use ROS2 real-time on a computer and connect to the robot actuator using a CAN bus?

I am using ROS2 real-time (still a lot to learn) to implement the various control element of my robot : SLAM, path planning, controller, etc... For the first step of prototyping we would like to build ...
0
votes
1answer
68 views

Solidworks to URDF for robot arm with complex joint's

I've tried to create a URDF model of an arm robot similar to the following links using Solidworks to URDF plugin. This plugin creates a hierarchy relation between joint and links in any robot ...
0
votes
0answers
27 views

Ros Kinetic teb_local_planner computation issue

I have very limited experience in operating systems and compiler, and most of my experience is with integration and control systems. Currently I am using ros kinetic with teb_local_planner for ...
0
votes
1answer
89 views

How to add, additional prismatic joint to the end of Universal robot last joint inside URDF file?

Could you please tell me how can I add, additional prismatic joint to the end 6th joint in URDF file of an Universal robot as in the link below: https://github.com/ros-industrial/universal_robot/blob/...
0
votes
0answers
42 views

To calculate roll,pitch and yaw

How do I calculate roll,pitch and yaw value from the position co ordinates of the drone, that is x,y and z from the gps sensor??? Using the x,y and z co ordinates I have to calculate roll,pitch and ...
0
votes
1answer
46 views

Error when “catkin_make” is run

I cloned a gazebo ROS package from https://github.com/YugAjmera/omni3ros_pkg and if I try to do catkin_make,I get the following error. I am using Gazebo 11 and ROS Noetic and i've made sure to source ...
2
votes
1answer
71 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 ...
0
votes
0answers
21 views

Setting An Initial Pose Rotation In ORB SLAM2

I am running ORB SLAM 2 on a drone with a downward facing, RGBD camera. I'm using Gazebo to simulate and Rviz to see the vision_pose ROS topic (the orientation/...
0
votes
1answer
99 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 ...
0
votes
0answers
9 views

I get an error when I try to install ROS on VMware fusion 12 pro

I'm trying to install ROS on my VMware fusion 12, but after updating the bash file as per the installation document, I get an error when I enter roscore in the terminal. The error seems to be that my ...
0
votes
1answer
88 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. ...

1
2 3 4 5
8