Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ros]

ROS (Robot Operating System) is a free, open-source robot software framework developed by Willow Garage.

0
votes
0answers
12 views

message_filters doesn't call the callback function

I'm trying to use the message_filters in order to subscribe to two topics. Here's my code ...
2
votes
1answer
25 views

How can I preserve a high framerate while using at least 1280x720 resolution on 2 USB cameras on the same computer?

To expand on this, I have a down-facing camera using the whycon ROS node on Ubuntu 16.04 Kinetic on a quad-core computer with 640x480@60fps MJPG video. I'm also using the ...
-1
votes
0answers
29 views

How to get the Turtlebot2 Gazebo simulation to produce Scan data

My Turtlebot2 Gazebo simulation is not able to produce Scan data. Steps to produce the problem: ...
1
vote
1answer
38 views

Is rospython subscriber thread safe?

I'm trying to write a python node, which has one class and two member functions as callback functions. so a TimeSynchronizer and Subscriber in a node. I saw in this link and tested that python ...
0
votes
1answer
22 views

Libraries to simulate path planning in a dynamic environment for a 2D space

I need to simulate a path planning approach for a 2D space where the obstacles are moving. Initially, I need to implement probabilistic road map, D* lite, A* and Bug2 algorithm. The robot needs to be ...
-1
votes
0answers
10 views

ROS callbacks' scope and objects' lifecycles

I am quite new to C++. I know that callbacks with return type of ConstPtr& are of boost::shared_ptr<const MsgType> ...
1
vote
1answer
78 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 ...
0
votes
1answer
33 views

Running ROS on Digital Ocean?

Has anyone done this? Create a "droplet" or whatever they call it and set up ROS, and be able to actually run roscore, gazebo, rviz, etc. from there? I can imagine various complications, like having ...
0
votes
1answer
18 views

Subscriber to array type overwriting data from different publishers!

I have been witnessing some bizarre behaviour with my very simple node. I have a custom message that contains uint8[] type (it's 8 elements long). I have a ...
0
votes
1answer
32 views

Why no cmd_vel topic when running Turtlebot simulation on ROS + Gazebo?

I have been having a very difficult time trying to understand why my system does not have the cmd_vel topic. I am trying to get a ROS system running with Gazebo so that I can work through tutorials ...
1
vote
0answers
25 views

Convert sonar scans to Lidar scan file

Has anyone tried to map environments using Sonars or 1D ToF sensors? Since it's very difficult to implement such an algorithm from the scratch, I'm planning to use an existing ROS packages such as ...
1
vote
0answers
22 views

Writing IMU accelerometer data into as twist messages into cmd_vel

I am reading accelerometer data from the wiimote /wiimote/state topic. A sample of the data I'm working with is as follows: ...
0
votes
1answer
18 views

setting custom variables on catkin workspace environment

I am developing a package for the ROS, in fact it is a package of resources / models for the Gazebo, and I need with the presence of this package in the Workspace of Catking, to be automatically set ...
2
votes
1answer
49 views

ROS CMakeLists.txt confusion

I am using Ubuntu 16.04 LTS with ROS Kinetic distro. I have a custom package called gps_msgs in my catkin_ws directory. I have other two packages that utilize the message by including it into source. ...
1
vote
1answer
58 views

Spherical (Ball) Joint in Robot Model not Working in Gazebo

I'm having trouble including a spherical/ball joint in my robot model. I have tried using the 'ball' joint type defined by sdf (http://sdformat.org/spec?ver=1.6&elem=joint#joint_type) but the urdf ...
0
votes
1answer
64 views

Simulating the robot using moveit with ROS

I'm an absolute beginner in this field so I request you to help me although the question seems very silly. I want to send the robot (in simulation) pose goal from ROS node. I want to use to moveit ...
4
votes
1answer
400 views

ROS: catkin_make vs. catkin build

When using ROS: Why use catkin build from catkin_tools instead of catkin_make? I've been told catkin build is better but no one who tells me this can give me a reason why.
0
votes
2answers
294 views

Control a DIY Robot Arm Kit Educational Robotic Claw Set with ROS

I've just started robotics and ROS and I wondering if I can control a DIY Robot Arm Kit Educational Robotic Claw Set (I think its motherboard is arduino). You can find the kit here. Can I use ROS to ...
2
votes
0answers
11 views

Fiducials in conjuction with AMCL

I'm having some trouble getting fiducials (using aruco_detect) to work alongside amcl. The goal here is to use normal amcl localization when a fiducial is not present, and to switch to localization ...
0
votes
2answers
96 views

Mobile robot navigation without static map

I am working on an autonomous mobile robot based on ROS. All the tutorials and examples requires a static map which need to be generated in order to do the localization and mapping. Do i need to ...
2
votes
0answers
36 views

How rational is it to use Intel Realsense for my affordable indoor autonomous robot?

Right now, I am using ESP32 for the motors and planning to add either Raspberry Pi Zero or ARM Cortex-M4 (STM32) and use ROS with Intel RealSense RGBD camera. How sensible is it? I am not expert in ...
0
votes
1answer
92 views

Does SolidWorks CAD-to-URDF (ROS robot definition XML) exporter works from open source alternatives (e.g. FreeCAD, Blender) as well?

It is quite hard (or almost impossible for large robots) to hand code ROS robot definitions in URDF XML files, so that is why SolidWorks has model exporter http://wiki.ros.org/sw_urdf_exporter. ...
0
votes
1answer
471 views

ROS for Ubuntu 18.04 and x86

I am trying to put ROS on my Intel-based Ubuntu 18.04 laptop and it seems by the documentation that they only made if for Amd? Am I missing something. It never finds any of the packages. Unable to ...
1
vote
1answer
86 views

Is this SLAM performance typical or am I doing something wrong?

I'm experimenting with SLAM for the first time. I am using ROS on a Turtlebot3, which has a Raspberry Pi and a single Lidar sensor, Robotis LDS-01. I am running a configuration with three computers, ...
3
votes
1answer
81 views

Wait simulation time in a non realtime ROS simulation en python

I want to control a quadrotor with a Python script and run the simulation as fast as my laptop can, not only in real time. I've modified my world and now the simulation runs with 7-10 real time factor....
0
votes
1answer
18 views

Adding encoders to Nomad 4WD

i have a nomad 4wd rover kit but i saw that motors doesn't have encoders. But to use odometry with ros i need it. I cannot found any suggestion on google search, so i ask here if someone could route ...
2
votes
1answer
189 views

Calibrating Logitic C920 HD 1080p using ros kinetic

I am trying to follow the ROS monocular camera calibration for a USB camera I have, but the calibration routine fails when I try to run it. I was expecting to see an image like the one below, but I ...
0
votes
2answers
139 views

rosservice via Python

I have a drone which has certain services, say random.srv. I want to use this service via Python. Now I know that there is a page in ROS wiki that tells you how to create a service client in Python. ...
1
vote
3answers
863 views

Alternative to ROS? [closed]

This might be a tricky question, but having dug in deep with ROS I am noticing the complexity that one has to deal with. Simple Arduino programming is much simpler but of course can’t do many useful ...
1
vote
2answers
41 views

ROS: Sensor data via USB

Im working on a project and i want to use a sensor. I can plug in the sensor via usb. I do not need any driver for the sensor. My task is to have an access to the sensor data. I have followed the ...
4
votes
1answer
69 views

Is it possible to list all runtime dependencies for ROS

I've read this link: http://wiki.ros.org/kinetic/Installation/Source and have known that the command ...
3
votes
1answer
52 views

ROS: Human to Robot Mapping (Baxter)

I'm having some difficulties understanding the concept of teleoperation in ROS so hoping someone can clear some things up. I am trying to control a Baxter robot (in simulation) using a HTC Vive ...
0
votes
0answers
582 views

Invoking “make cmake_check_build_system” failed

I am getting an error while building ROS workspace using catkin_make. I am not sure but it seems to be related with anaconda. Here are the details:- ...
2
votes
1answer
117 views

Is ROS 2 due to replace ROS 1?

I have read ROS 2 document and they did not give many clues on the subject. Does anybody have more insight on the subject?
3
votes
1answer
73 views

CMakeLists.txt vs package.xml

I've read this link: https://answers.ros.org/question/217475/cmakeliststxt-vs-packagexml/ But still, I can't understand very clearly. When I try to compile ROS project with the command: ...
1
vote
0answers
111 views

ROS: joint_state_publisher dies when used in remote launch file

I've been trying to run robot_state_publisher and joint_state_publisher on a remote TX1 running Ubuntu 16.04 and ROS Kinetic. When running the node from a local launch file (manually ssh into the ...
1
vote
1answer
79 views

Why adding odometry data as control vectors to EKF-Monoslam algorithm fails?

I am working on EKF-MonoSlam (Davson) method for the mere input as a webcam, (it works "fine" if we calibrate and use reasonable sigmas) , and I am trying to add the odometry of some dataset (as ...
0
votes
1answer
32 views

publishing on rostopics

I want to publish via terminal a particular message format - sensor_msgs/Joy. However, every format I use seems to be wrong and I cannot understand how it is meant to be written on the terminal. On ...
2
votes
1answer
149 views

Are both of C++ and Python necessary in ROS

I'm a newbie on ROS and I'm trying to figure out how ROS works so I'm installing ROS from source. I've found that most of ROS packages contains two kinds of codes: C++ and Python. For example, here ...
0
votes
0answers
19 views

accessing serial and ethercat devices

I want to, ask is accessing all the serial devices/sensors eg. RS-422, RS-232 done in same way? And also is accessing all the devices in market with ethercat connection can be done in same way? For ...
1
vote
0answers
41 views

Orientation problem between Gripper and Object ??

I am working on a pick and place project using ROS & MoveIt!, I wrote my own pick and place functions which generate grasp poses according to the pose of the object and then automatically picks. (...
0
votes
0answers
48 views

Reliable IMUs for ROS

I'm having problems in finding reliable IMU's in ROS. So far, I have tried the UM7 and the myAHRS+ with no luck. The first one, keeps resetting its magnetic reference and the second one works well but ...
0
votes
1answer
89 views

Turtlebot3 Burger - XBOX360 Controller

I am using ROS on the Turtlebot3 and try to teleop the robot with an XBOX 360 controller without success. I'm already able to teleop the robot via keyboard. Setup: Ubuntu 16.04 ROS Kinetic What I'...
0
votes
1answer
61 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?
1
vote
2answers
124 views

Ackermann Motion Model Does not Drive in an Arc, but Turns on the Spot

Im trying to implement an ackermann motion model which estimates the x,y and theta for a robot I have. I have a gazebo simulation running which publishes a steering angle for the virtual tricycle ...
1
vote
0answers
19 views

DSO_ROS is not giving right coordinates after taking turn (left/right)

Hi all , i got stuck in a problem and really need your help. Goal: I want to move little Toy vehicle autonomously (localization and mapping) and want to get distance covered by vehicle using DSO in ...
0
votes
1answer
36 views

Ontology/marketplace of robotics components and integration environment (BPEL or CAD for robotics)?

It should be possible to take the formal description of robotics components (in form of ontology, formal API descriptions or other kind of formal specification of the capabilities and requirements of ...
1
vote
0answers
43 views

ROS: TurtleBot3 motors runs 60 seconds after message is seen in topic /cmd_vel

I am running ROS Kinetic, on a Turtlebot3 Burger with a Raspberry Pi3. The goal here is to remotely control the Turtlebot from another Raspberry Pi. The remote controller Pi sends movement ...
1
vote
1answer
27 views

Better way to use info. received from ROS subscriber nodes

I want to use information together received from the different ROS subscriber nodes. One way I think of is to make separate callback functions for each subscriber node and then receive messages from ...
1
vote
1answer
63 views

How can I access the cliff sensors on an iRobot Create 2 via ROS/ Python?

I have an iRobot Create 2 and am currently using the create_autonomy package. Currently, they have cliff sensors as a "planned" feature. I see in the documentation that there are 4 cliff sensors (...