Questions tagged [ros]

Questions related to ROS(Robotics Operating System)

ROS (Robot Operating System) provides libraries and tools to help software developers create robotics applications. It provides hardware abstraction, device drivers, libraries, visualizers, message-passing, package management, and more. ROS has different distributions for different Ubuntu versions.

The latest version is ROS Noetic Ninjemys, which is targeted at Ubuntu 20.04 (Focal), has a May 2025 end of life. The list of available versions can be found in documentation.

You may also want to consider asking your question on robotics stack exchange which is currently in the process of having the ROS Answers (answers.ros.org) Q&A database merged into it.

Links

3393 questions
1
vote
0 answers

Measure size of box from camera image(s)

I'm currently working on grasping cuboid objects (aka small cardboard boxes) that are placed on a table with a robot that has a camera attached to its gripper. I need the exact size of the box (error ~ 1mm) and its position on the box. I have some…
Foo
  • 130
  • 1
  • 12
1
vote
1 answer

Ros Dynamic Config file

I am trying to perform a segmentation task with PCL/ROS. I am using the dynamic configuration option in ROS as the number of inputs to my segmentation task is large and would like to study the influence of each param. There is no problem with my C++…
Whereismywall
  • 188
  • 1
  • 12
1
vote
0 answers

Integrating SCXML in ROS node using PYSCXML

In the last weeks a faced a problem that still I could not find a solution: I execute a ROS node that starts a StateMachine object from pyscxml. The first time that this node receives a message from another node, an event is send to the StateMachine…
1
vote
3 answers

Undefined reference to 'libvlc_new" but linked correctly?

I want to use the VLC library in a ROS-based project using C++. I am using QT Creator as code editor. I tried to follow the following tutorial to implement a simple playback of a mp3 file: A simple C program to play mp3 using libvlc Since then I'm…
stromflut
  • 186
  • 1
  • 9
1
vote
1 answer

Irobot Create encoders in ROS

I am programming my iRobot Create robot with ROS, but I have not found the wheel encoders in ROS. Is it possible to use encoders for the iRobot Create robot in ROS?
Andrea Diaz
  • 1,168
  • 4
  • 13
  • 29
1
vote
1 answer

return an array from a function member of a class in C++

I'm using ROS and OpenCV in C++ environment in order to acquire a video (gray-scale) from a ROS node, convert the data through cv_bridge (in order to elaborate it through OpenCV), extract some data and publish them on a topic as ROS messages. My…
Matteo
  • 51
  • 1
  • 1
  • 5
1
vote
1 answer

joystick control/navigation using python in ros

I'm a beginner in ros. I want to get some data from joystick. I'm a python fan - don't much know the cpp. I would like to connect my joystick in a usb port, and want to create a node(/package) that gives the datas from joystick ,so that I can…
UTP
  • 79
  • 1
  • 1
  • 5
1
vote
1 answer

ROS Qt media not showing until re make

I have a Smach state machine that communicates with a Qt app via ROS middleware to display a dynamic GUI based on what the Smach state passes to the GUI. Video and Audio is used with the help of Phonon libraries, however, each time I start up Ubuntu…
swahilian
  • 63
  • 1
  • 5
1
vote
0 answers

Determining Joint Rotations in Gazebo using KDL

I am trying to use the Kinematic Dynamics Library (KDL) within Gazebo to make a "robot arm" position it's palm onto a target model. My current issue is that when I rotate my joints to the computed values, my robot is not at all where I expect it to…
Chris Flynn
  • 953
  • 6
  • 11
1
vote
1 answer

OpenCV writing images with different names to disk

I am writing a ROS node in which i subsribe to images from another node. I use cv_bridge to use imshow and display the image. I want to save the image to disk. I used imwrite and can save it. But when the other node publishes another image, its…
Karthik Murugan
  • 1,595
  • 4
  • 19
  • 26
1
vote
2 answers

opencv class "cvKalman" not recognised

I have a problem, in ROS I process a camera feed with openCv. Now i try to implement the cvKalman, but this type is not recognized, however the opencv example works well. What am i missing, why is not recognized this type? here is my include to the…
Elod
  • 499
  • 9
  • 25
1
vote
1 answer

free(): invalid pointer for vector c++

my problem is that a std:vector ( p_lines and filt_lines) are created in a function which can not be deallocate at the end of the function. So i get an free(): invalid pointer error while running the code. In some cases i go segmentation…
Elod
  • 499
  • 9
  • 25
1
vote
1 answer

ROS integration with SMACH

I am currently developing a GUI using QT that changes based on an XML string it receives from a ROS message being sent from another QT GUI. This is working fine however I need to create a node using ROS and SMACH that will send different XML strings…
swahilian
  • 63
  • 1
  • 5
1
vote
3 answers

Linking CXX executable - /usr/bin/ld: cannot find

Hello C++ and/or ROS Experts I just made a fresh install of Ubuntu 12.04 and ROS. My old installations was also on ubunru 12.04, and it worked great. But now when i try to make or rosmake on of my project, i get the follwing error: Linking CXX…
Bjarkes
  • 99
  • 1
  • 2
  • 8
1
vote
3 answers

Configuring Eclipse for ROS

I am new to Linux. I am trying to develop ROS application using eclipse. I don't understand the below which is provided in ROS website. Can you explain this in more simple way, So that I can configure my eclipse after downloading from eclipse.org.…
Subhasis P
  • 11
  • 1
  • 3