Stack Exchange Network

Stack Exchange network consists of 175 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.

3
votes
1answer
97 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
0answers
18 views

Robot control project

So currently I have an unused robot car, my plan here is to be able to control the robot car with a joystick using ros_control. I am really new to ROS and is hoping you guys can guide me along. I ...
0
votes
0answers
11 views

Roboclaw node on ROS error: “Encoders None None”. Encoders can't be read properly. What might the cause be?

My two wheels robot was working properly with ROS Roboclaw node before changing a burnt Motor. After changing this motor with a similar motor, I reconfigured it as usual without touching the node or ...
5
votes
1answer
95 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
17 views

Caculating the distance of a point from point cloud data

I'm getting the x,y,z values for three points as follows: x : -0.357200 y: -0.205010 z: 0.940000 ...
0
votes
0answers
11 views

Robot fails to move in Webots environment

I am trying to teleoperate a robot which is a forklift. The details of the robot are as follows: Weight 700KG 1 actively steered caster wheel and 2 passively steered rear wheels 2 passive standard ...
1
vote
3answers
70 views

Why my robot is lying down in gazebo simulator?

this is my first post about ROS and Gazebo also I am new in ROS. I spawn KUKA robot in Gazebo using urdf file from KUKA github repository following answer from this question I spawned my urdf file in ...
1
vote
1answer
31 views

ROS how to use published data in a python script (darknet_ros)

I'm writing a python script to run with darknet_ros and bebop_autonomy package in order to take the bounding boxes of the detected objects and depending on the position of the detected objects send ...
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
92 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 ...
0
votes
0answers
33 views

Real-time python reinforcement learning library

I'm looking for a reinforcement learning library that can be used for real-time robot control. What I first had in mind was ROS to describe the robot, Mujoco to simulate physics, and OpenAI gym to ...
0
votes
2answers
398 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
367 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
35 views

Technologies needed for indoor and outdoor navigating robot

Before I begin, I should add that I am a complete beginner in robotics and hope that I can figure out where I should start by asking this question. I am trying to make a robot that is able to ...
0
votes
0answers
33 views
2
votes
1answer
57 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
0answers
26 views

Gazebo crashes and burns launching empty world in new package [closed]

I'm launching empty_world copied into my package with the command roslaunch my_package empty_world.launch. Here is ...
4
votes
2answers
52 views

ROS Theoretical Question - How does work properly a node

I'm new at ROS and I'm trying to figure out how does the node works with a pyton/C++ code. I have two codes for the same situation: Use a Xbox Controller to move the turtle in turtlesim FIRST - ...
0
votes
1answer
7 views

If you move the RGBD camera to other places on a Turtlebot, same orientation, create a map, does ROS navigation stack with AMCL still works?

I got a Turtlebot, and I’m thinking of putting the RGBd camera to other places. If you move RGBD camera to other places on a robot, same orientation, create a map, does ROS AMCL still works? I am ...
11
votes
5answers
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
27 views

rostopic list not showing topic

When I use the rostopic list commands, the output is only returning /rosout & /rosout_agg...
0
votes
0answers
37 views

Have you done take-home robotics(ROS) coding test in interviews?

Have you done take-home robotics(ROS) coding test in interviews? Do you want to share the coding test instructions with me? or point me in the right direction where I can find some to practice? I'm ...
1
vote
1answer
169 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 ...
1
vote
0answers
16 views

How to use MoveIt and ros_control (from setup assistant) to control Gazebo robot?

I've noticed that in the MoveIt setup assistant, there is a "ROS Control" that auto-generates 2 files: - ros_controllers.yaml - ros_controllers.launch I wanted to ask if it was possible to use these ...
0
votes
0answers
8 views

How to translate individual rotor trust to Wrench object in ROS (force&torque)

I am learning about ros and dronesim Basically following this. There is a wrench object where I can create with force and torque vectors. My question is how can I translate individual rotor trust to ...
0
votes
0answers
17 views

Sending RTCM corrections from u-center NTRIP Server (Windows) to ROS NTRIP client (Linux)

I'm trying to set up an RTK GPS (NEO-M8P) but I need to send corrections using NTRIP. For my initial tests, I installed the u-center application on a Windows computer as my base station and then I ...
1
vote
1answer
157 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
2answers
67 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
20 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
20 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
135 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?
0
votes
1answer
121 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'...
4
votes
1answer
9k 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
104 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
41 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
24 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
69 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
32 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
630 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
274 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
331 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
34 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
74 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
81 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
2answers
943 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: ...
2
votes
2answers
338 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
1answer
86 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
406 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 ...
1
vote
1answer
93 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 ...