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

GuimingChen's profile - activity

2023-04-18 14:15:23 -0500 received badge  Nice Answer (source)
2023-04-06 08:47:17 -0500 answered a question Error compiling c++ code (ros/ros.h: No such file or directory)

This error indicates that your compiler cannot find ros/ros.h. You probably need to source your ros setup.bash in the ne

2023-04-06 08:47:17 -0500 received badge  Rapid Responder (source)
2023-04-06 08:39:42 -0500 answered a question [ros2] Issue with subscribing to topic using SingleThreadedExecutor and Node in ROS2.

When you created a shared_ptr node as you did in the commented code, it exists in "main" scope. On the other hand, when

2023-04-06 08:39:42 -0500 received badge  Rapid Responder (source)
2023-04-05 23:33:52 -0500 answered a question How to handle cloned packages that have no package.xml or CMake.txt file in ROS workspace.

You likely need to have CMakeLists.txt and package.xml file to build a package. src folder only gives you source code.

2023-04-05 23:33:52 -0500 received badge  Rapid Responder (source)
2023-03-23 13:43:45 -0500 commented answer Is it possible to query the result of the action server?

you may need node->get_node_base_interface() depending on what exactly the node here mean

2023-03-23 13:31:58 -0500 commented answer Is it possible to query the result of the action server?

Oh, and I just realized that I forgot to add rclcpp::spin_until_future_complete to block the waiting until the future is

2023-03-23 13:31:15 -0500 edited answer Is it possible to query the result of the action server?

In ROS 2 Humble, when you send out a goal with "async_send_goal", assign the returned future goal handle to a variable.

2023-03-23 13:30:15 -0500 commented answer Is it possible to query the result of the action server?

Oh, and I just realized that I forgot to add rclcpp::spin_until_future_complete to block the waiting until the future is

2023-03-23 13:30:11 -0500 commented answer Is it possible to query the result of the action server?

Oh, and I just realized that I forgot to add rclcpp::spin_until_future_complete to block the waiting until the future is

2023-03-23 10:31:16 -0500 commented answer Is it possible to query the result of the action server?

hmm... interesting, I thought this should return immediately since it is a std::shared_future. Did it give you any error

2023-03-23 07:15:02 -0500 received badge  Teacher (source)
2023-03-23 07:06:31 -0500 edited answer Is it possible to query the result of the action server?

In ROS 2 Humble, when you send out a goal with "async_send_goal", assign the returned future goal handle to a variable.

2023-03-23 07:00:52 -0500 edited answer Is it possible to query the result of the action server?

In ROS 2 Humble, when you send out a goal with "async_send_goal", assign the returned future goal handle to a variable.

2023-03-23 07:00:52 -0500 received badge  Editor (source)
2023-03-23 06:59:00 -0500 edited answer Is it possible to query the result of the action server?

In ROS 2 Humble, when you send out a goal with "async_send_goal", assign the returned future goal handle to a variable.

2023-03-23 06:58:41 -0500 answered a question Is it possible to query the result of the action server?

In ROS 2 Humble, when you send out a goal with "async_send_goal", assign the returned future goal handle to a variable.

2023-03-23 06:58:41 -0500 received badge  Rapid Responder (source)
2023-03-23 06:25:47 -0500 received badge  Enthusiast
2023-03-22 09:51:28 -0500 answered a question How to handle a blocking function inside a node?

You can probably use rclpy.executors.MultiThreadedExecutor() to achieve what you want. This example shows you how to im

2023-03-22 09:51:28 -0500 received badge  Rapid Responder (source)
2023-03-22 09:31:45 -0500 commented question Having trouble reading ROS 2 bag with custom messages in Matlab

Which version of MATLAB are you using? Is there a github repo you can share the custom message you are using?

2021-01-25 07:24:59 -0500 received badge  Famous Question (source)
2020-07-05 12:39:58 -0500 received badge  Notable Question (source)
2020-07-05 12:39:27 -0500 answered a question ERROR: Unable to communicate with service [/clear], address [rosrpc:/xxx-GP62MVR-6RF:36963]

Hi, I also experienced this error before. shutdown all the nodes and roscore with Ctrl-C, and then restart roscore shoul

2020-05-10 07:29:44 -0500 received badge  Popular Question (source)
2020-03-21 05:55:17 -0500 asked a question Missing frames when converting Velodyne VLP16 pcap file to rosbag file

Missing frames when converting Velodyne VLP16 pcap file to rosbag file I was trying to convert a raw pcap file (recorded

2020-03-21 05:55:17 -0500 commented answer Convert Raw Velodyne VLP16 pcap to bagFile

Hi, I was trying to do the same thing. But I realized that the recorded rosbag file has some missing frames compared wit