ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2023-04-12 17:18:03 -0500 | received badge | ● Great Question (source) |
2022-07-30 21:28:12 -0500 | received badge | ● Good Question (source) |
2022-02-24 03:37:13 -0500 | received badge | ● Nice Question (source) |
2021-09-09 09:01:55 -0500 | received badge | ● Taxonomist |
2020-06-23 19:53:30 -0500 | marked best answer | ROS2 and Rviz : only displays values with a radius < 1 meter around the laser Hello, I'm using ROS2 bouncy and Rviz, both built from source on Ubuntu 18.04 and I'm trying to display the laser scan on Rviz, but it only shows the value that are on a 1 meter radius around the laser. Did I miss a parameter in Rviz ? Is it a bug ? A bit more details : I'm using an Hokuyo ust-20lx, which is supposed to have ~20 meters range, with the urg_node package from link text which is a version for Beta2 (or maybe Ardent, not sure) that I have just slightly modified to make it work on Bouncy. Everything works fine and I've checked the published values which are normals, but rviz only shows values whose range is < 1 meter. I have tried the laser on ROS1 melodic with the urg_node and rviz and it shows the normal values. Any suggestion ? Should I post an issue on rviz' github ? |
2020-06-23 19:53:08 -0500 | received badge | ● Nice Question (source) |
2020-05-01 01:27:57 -0500 | received badge | ● Famous Question (source) |
2020-04-22 11:43:55 -0500 | received badge | ● Nice Question (source) |
2020-04-22 11:40:27 -0500 | received badge | ● Nice Answer (source) |
2020-03-22 07:50:29 -0500 | received badge | ● Notable Question (source) |
2020-02-27 19:26:25 -0500 | received badge | ● Popular Question (source) |
2020-02-18 18:20:33 -0500 | marked best answer | Trying to compile a ROS 2 Eloquent package depending on a pure cmake package using colcon Hello there, I have been fighting for some time with CMakeLists trying to compile a ROS 2 Eloquent package (bar) depending on a pure cmake package (foo) using colcon but I get the following error:
I've made a minimal repo showing my problem here: https://github.com/MarcTestier/ros2_c.... The install folder of the cmake package (foo) seems somewhat normal though, its folder tree looks like this: It seems like the ROS 2 package (bar) has trouble finding the cmake package (foo) library and headers but I found an ugly solution (available in the repo here) which consists of 2 steps: 1.Manually add the include directory If I only perform step 1, I can find the header files but I get an error: Bar still can't properly find the foo library. 2.If on top of the first step I link directly against the .so file: Now the packages can compile but the solution seems a bit ugly. I'm out of idea and I can't tell if the problem comes from a pure cmake problem, colcon moving/linking stuff around or anything else so any suggestions are welcomed, thanks. |
2020-02-18 18:20:26 -0500 | commented answer | Trying to compile a ROS 2 Eloquent package depending on a pure cmake package using colcon It works, thank you for the help!! |
2020-02-17 23:38:23 -0500 | asked a question | Trying to compile a ROS 2 Eloquent package depending on a pure cmake package using colcon Trying to compile a ROS 2 Eloquent package depending on a pure cmake package using colcon Hello there, I have been figh |
2020-01-28 02:33:09 -0500 | marked best answer | ROS2 : How to call a service from the callback function of a subscriber ? Hello, This question is actually related to : https://answers.ros.org/question/3018... But I wrote a minimal example and wanted to have your feedback on how to fix this. So I'm using ROS2 Bouncy, built from source on Ubuntu 18.04.
I have a node that subscribe to a topic and in the callback function of the sub, I get stuck if I try to I wrote a minimal package to show the problem, which can be found here : https://github.com/MarcTestier/test_r... I was actually trying to call a service from the callback function but got stuck when doing So any idea how to call a service from the callback function of a subscriber ?? Maybe threads ?? Thanks. |
2019-11-27 15:04:00 -0500 | received badge | ● Nice Answer (source) |
2019-09-20 06:16:44 -0500 | received badge | ● Self-Learner (source) |
2019-09-20 06:16:44 -0500 | received badge | ● Necromancer (source) |
2019-09-19 20:02:03 -0500 | edited answer | ROS 2 Crystal : Can't get parameter list of string from YAML file Seems like the issue as been fixed: https://github.com/ros2/rcl/issues/461. |
2019-09-19 20:01:47 -0500 | marked best answer | ROS 2 Crystal : Can't get parameter list of string from YAML file Hi, I'm using ROS 2 Crystal and I'm trying to get a list of string from a YAML file in Python. But the parser keeps converting the strings '1', '2', etc into numbers so I get an error If I change I tried using double quotes As a temporary solution, I escape my list with a Thanks. edit: Same problem in ROS 2 Dashing. |
2019-09-19 20:01:32 -0500 | answered a question | ROS 2 Crystal : Can't get parameter list of string from YAML file Seems like the issue as been fixed: https://github.com/ros2/rcl/issues/461, so I'm closing this question. |
2019-08-19 02:06:13 -0500 | marked best answer | ROS 2 Bouncy get_parameter Hi, I'm using ROS 2 Bouncy and I'm trying to get parameters from a yaml file. I checked a few ways to get parameters and I found one that works but takes 3 lines for each parameter : Is there a nicer way to get parameters in one line like in ROS 1 ? I could change I also tried to use All the examples from the demos pkg that use Whereas for Am I missing something or is it just the way we have to get parameters for now ? Thanks. Edit : I can do something like : And then : But I feel like it should be something that's already there. |
2019-06-20 09:07:59 -0500 | received badge | ● Famous Question (source) |
2019-06-19 19:52:45 -0500 | commented question | ROS 2 Crystal : Can't get parameter list of string from YAML file ok, I opened an issue: https://github.com/ros2/rcl/issues/461 |
2019-06-18 20:42:53 -0500 | received badge | ● Notable Question (source) |
2019-06-12 07:09:17 -0500 | received badge | ● Popular Question (source) |
2019-06-11 21:23:11 -0500 | edited question | ROS 2 Crystal : Can't get parameter list of string from YAML file ROS 2 Crystal : Can't get parameter list of string from YAML file Hi, I'm using ROS 2 Crystal and I'm trying to get a li |
2019-06-11 03:19:51 -0500 | edited question | ROS 2 Crystal : Can't get parameter list of string from YAML file ROS 2 Crystal : Can't get parameter list of string from command line Hi, I'm using ROS 2 Crystal and I'm trying to get a |
2019-06-11 03:16:49 -0500 | asked a question | ROS 2 Crystal : Can't get parameter list of string from YAML file ROS 2 Crystal : Can't get parameter list of string from command line Hi, I'm using ROS 2 Crystal and I'm trying to get a |
2019-02-26 17:26:18 -0500 | marked best answer | ROS 2 Bouncy : Node, Log and Classes best practice Hello I am working with ROS 2 Bouncy and was wondering what is the best practice to log stuff in classes that are instantiated in a Node ? I know it's now recommended to inherit the My question is about the best practice to log in customs classes inside the Node. For example, let's say we have this class : Which of this 4 options is the recommended way to give Option 1 : We give the Node to the Option 2 : We give the logger to the Option 3 : We give the node to each Option 4 : We only give the Node's logger to each Any other option ? Does any of this really matter or can we choose any option ? Thank you. |
2019-02-26 17:20:10 -0500 | received badge | ● Famous Question (source) |
2019-02-15 02:53:29 -0500 | marked best answer | Ros 2 command line service call with array of custom msg Hi, I'm using ROS 2 Bouncy on Ubuntu 18 and I'm trying to call a service from command line.
I can't seem to formulate a good srv while using the command line and get an error :
The command I'm using is : So I have a srv file called GetLiftInfoArray.srv: And LiftId.msg is defined as bellow: To note that I can make it works when the array is empty : And I can also make it works when I use a python file with a client calling the service : It works, but I would like to be able to use the command line, does anyone have any idea of what's wrong with my command ? Thank you. |
2019-02-11 04:13:01 -0500 | received badge | ● Famous Question (source) |
2019-01-30 11:54:39 -0500 | received badge | ● Self-Learner (source) |
2019-01-16 08:24:23 -0500 | received badge | ● Notable Question (source) |