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.

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
vote
1answer
125 views

rospack Error: package 'script' not found

I am trying to run rosrun script forward.py but it gives me an error saying [rospack] Error: package 'script' not found In my ...
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
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
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?
-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: ...
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'...
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 ...
4
votes
1answer
8k 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 ...
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
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 ...
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 ...
-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> ...
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 ...
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 ...
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. ...
6
votes
1answer
602 views

Simulated kinect rotation around X [gazebo bug?]

I asked this question on answers.ros.org and gazebo.ros.org but still haven't got any answer. I'm posting my question here with the hope someone can help me. In our robot, the Kinect can be mounted ...
1
vote
1answer
239 views

Transform timestamped messages recorded in a bag file using tf messages

Note: this question was also asked in the ROS official Q&A website, but even after one week nobody has given me an answer. I have a .bag which contains ...
2
votes
1answer
321 views

How to implement RANSAC and kalman filter or particle filter algorithms with ROS packages?

I'd like to implement those algorithms by using ROS packages to solve one way the SLAM problem. I know that gmapping, Rviz, slam_gmapping and robot_pose_ekf (for extended kalman filter) could be ...
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
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?
0
votes
1answer
79 views

Cmake Error While Buliding Pixhawk simulator

I am trying to run "px4 SITL simulation" using gazebo7 on my machine with "UBUNTU-14.04 LTS" using these commands: ...
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....
3
votes
2answers
886 views

ROS Calibration Camera Problems

I am trying to calibrate a monocular camera using ROS with the help of this website: How to Calibrate a Monocular Camera. When I run rostopic list, I get: ...
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 ...
0
votes
1answer
2k views

hector SLAM in ROS with RPLIDAR

Trying to set up Hector SLAM with the RPLidar A2. I downloaded both rplidar_ros-master and hector_slam-catkin and extracted them into my catkin_ws/src folder and ran catkin_make. Then I edited the ...
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 ...
2
votes
2answers
276 views

RViz: How to Visualize a Voxblox Mesh as a MarkerArray?

I am currently trying to run the test cow and lady dataset with Voxblox. The process appears to execute properly in the terminal, but I cannot view the mesh in RViz. When I try to add the topic <...
0
votes
2answers
322 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
1answer
324 views

Real time implementation of EtherCAT master with ros_control

I want to control a motor using EtherCAT protocol. 1. I used IgH ethercat master to control motor in hard real time (1 kHz). 2. Later I want to integrate this in ros_control with hard real-time ...
0
votes
1answer
79 views

.launch file associated while using a sensor

What is the general structure of .launch file for using a sensor? For example: 1.Following code is example for using a JoyStick to control TurtleSim ...
0
votes
2answers
343 views

Mujoco and MoveIt!

I want to implement deep reinforcement learning using a UR5 robot. A little research told me nowadays researchers are using openAI gym, Mujoco, rllab as their frameworks. The thing is, I want to train ...
9
votes
3answers
5k views

How to setup CLion for ROS?

How can I setup the C++ IDE CLion to display documentation and auto completion correctly when working with ROS?
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
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 ...
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.
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
1answer
470 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 ...
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. ...
1
vote
3answers
886 views

Is a virtual machine with ros-kinetic available anywhere?

I want to learn ros-kinetic from a virtual machine. I found that ros-indigo is available from nootrix; similarly, is there a ...
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, ...
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 ...
1
vote
1answer
1k views

How do I control a servo using a beaglebone black running ubuntu

I have a BeagleBoneBlack and would like to use it to control a servo for my robot. I'm mostly programming in ros and as such am looking preferably for a c++ solution. Is there an easy way of ...
1
vote
1answer
2k 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 ...
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. ...
6
votes
2answers
595 views

Transforming Point Cloud to get Top Down Image [closed]

My task: I have a task where I am asked to track parcels(carton boxes) of different dimensions moving on a conveyor. I am using Asus Xtion pro camera mounted on top of a conveyor in any inclined ...
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 ...