ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

aprotyas's profile - activity

2023-01-30 04:12:06 -0500 received badge  Nice Answer (source)
2022-10-25 15:52:01 -0500 received badge  Student (source)
2022-09-21 02:35:32 -0500 received badge  Guru (source)
2022-09-21 02:35:32 -0500 received badge  Great Answer (source)
2022-08-03 10:42:19 -0500 received badge  Notable Question (source)
2022-08-03 10:42:19 -0500 received badge  Popular Question (source)
2022-08-03 10:42:19 -0500 received badge  Famous Question (source)
2022-08-01 18:16:21 -0500 received badge  Notable Question (source)
2022-08-01 18:16:21 -0500 received badge  Famous Question (source)
2022-08-01 18:16:21 -0500 received badge  Popular Question (source)
2022-07-22 10:57:53 -0500 received badge  Nice Answer (source)
2022-06-28 19:55:28 -0500 commented answer Colcon test not running gtests

I want to say "I was there when it was written", but really I also wasted a couple of hours and was frustrated enough to

2022-06-28 18:42:53 -0500 received badge  Good Answer (source)
2022-06-17 09:55:07 -0500 received badge  Notable Question (source)
2022-06-17 09:55:07 -0500 received badge  Popular Question (source)
2022-06-17 09:55:07 -0500 received badge  Famous Question (source)
2022-05-29 01:31:25 -0500 answered a question Installing Python module in ROS2 package

Yes, I believe you're looking for the following functions from the ament_cmake API: ament_python_install_package ament

2022-05-29 01:31:25 -0500 received badge  Rapid Responder (source)
2022-05-19 12:24:52 -0500 received badge  Enlightened (source)
2022-05-19 12:24:51 -0500 received badge  Good Answer (source)
2022-05-19 09:55:10 -0500 received badge  Nice Answer (source)
2022-05-18 19:33:16 -0500 commented answer Problem with subscriber ROS2

I don't know if I'm interpreting your question correctly, but do you mean to say why are we not passing a reference to t

2022-05-18 19:02:35 -0500 answered a question How to convert a ROS message file to an IDL file?

The rosidl_adapter core package exposes both scripts and an API to perform these conversions. For your case, use the msg

2022-05-18 19:02:35 -0500 received badge  Rapid Responder (source)
2022-05-18 03:05:27 -0500 received badge  Nice Answer (source)
2022-05-18 01:45:30 -0500 answered a question Managing dependencies in ROS2 workspaces

I've had success with this sequence: In your package manifest, list depend tags on the library you need, i.e. EIPScann

2022-05-18 01:36:34 -0500 answered a question Converting xacro to urdf ROS2

ros-galactic-xacro is installed as a Python executable and can be invoked as such: xacro [in.urdf.xacro] > [out.urdf

2022-05-18 01:31:36 -0500 received badge  Rapid Responder (source)
2022-05-18 01:31:36 -0500 answered a question Problem with subscriber ROS2

The problem is with your subscription callback signature. In Foxy, std::function<void (const std::shared_ptr<const

2022-05-05 22:37:11 -0500 received badge  Nice Answer (source)
2022-04-28 14:36:52 -0500 received badge  Rapid Responder (source)
2022-04-28 14:36:52 -0500 answered a question List all other node's parameters inside a node

You can access this information through each node's NodeGraphInterface instance. This snippet should work with rclcpp on

2022-04-27 15:26:03 -0500 edited answer Cannot set ROS2 publisher rate correctly

ros2 topic hz is a Python-based CLI tool and has measurement problem for high publish rates. The discourse thread shared

2022-04-27 15:21:18 -0500 answered a question Cannot set ROS2 publisher rate correctly

ros2 topic hz is a Python-based CLI tool and has measurement performance for high publish rates. The discourse thread sh

2022-04-27 15:21:18 -0500 received badge  Rapid Responder (source)
2022-04-27 15:04:39 -0500 commented question ROS2 official parameter monitor example doesn't compile

ParameterEventHandler exists only in Galactic and later distributions. It looks like your rclcpp library may be setup in

2022-04-27 03:14:46 -0500 commented answer ros2 launch arg filepath to contents

For completeness, to then pass the file content as a parameter to some node: LaunchDescription([ Node( pack

2022-04-27 03:14:01 -0500 commented answer ros2 launch arg filepath to contents

For completeness, to then pass the file content as a parameter to some node: LaunchDescription([ Node(package='pkg'

2022-04-27 02:48:38 -0500 received badge  Rapid Responder (source)
2022-04-27 02:48:38 -0500 answered a question ros2 launch arg filepath to contents

Let's say you've declared a LaunchConfiguration substitution for the file path argument, you would have to resolve the p

2022-04-25 18:47:00 -0500 answered a question Error linking lapack and blas to armadillo

It seems that the -llapack and -lblas linking options are not implicit. In addition to what you have, you may want to fi

2022-04-25 18:47:00 -0500 received badge  Rapid Responder (source)
2022-04-25 11:42:22 -0500 edited answer Dynamically create subcription callback functions (Python)

What's happening is that you're assigning new_cb a local scope function of DynamicSubscriptions.make_callback(). As such

2022-04-25 11:41:46 -0500 commented answer Dynamically create subcription callback functions (Python)

Ah, my bad. I forgot to actually bind the unbound callback method to the class. This updated snippet should work: def m

2022-04-25 07:32:30 -0500 received badge  Nice Answer (source)
2022-04-25 03:50:01 -0500 edited answer Dynamically create subcription callback functions (Python)

What's happening is that you're assigning new_cb a local scope function of DynamicSubscriptions.make_callback(). As such

2022-04-25 03:41:14 -0500 received badge  Rapid Responder (source)
2022-04-25 03:41:14 -0500 answered a question Dynamically create subcription callback functions (Python)

What's happening is that you're assigning new_cb a local scope function of DynamicSubscriptions.make_callback(). As such

2022-04-25 02:34:46 -0500 received badge  Rapid Responder (source)
2022-04-25 02:34:46 -0500 answered a question ros2 param dump multiple nodes into a single .yaml file

Since you already have the node names and you know that every output yaml file looks like [node-name].yaml, I reckon thi