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

Minphie's profile - activity

2022-05-11 23:07:23 -0500 received badge  Famous Question (source)
2021-11-30 02:09:12 -0500 commented answer Guide for ROS2/colcon project in CLion

Then answer is very helpful but then how can I debug a ros2 node in clion?

2021-11-02 06:06:35 -0500 received badge  Notable Question (source)
2021-11-02 00:11:32 -0500 marked best answer AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

I am learnning ROS2 and AutowareAuto due to a recent project. I follow the setps on the offcial website and install autoware.auto without ade. Some problems appear when building using "colcon build" command.

problem 1 --- stderr: xsens_nodes
In file included from /home/minphie/AutowareAuto/src/drivers/xsens_nodes/src/xsens_imu_node.cpp:17: /home/minphie/AutowareAuto/src/drivers/xsens_nodes/include/xsens_nodes/xsens_imu_node.hpp:28:10: fatal error: serial_driver/serial_driver_node.hpp: No such file or directory 28 | #include "serial_driver/serial_driver_node.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Failed <<< xsens_nodes [0.27s, exited with code 2] Aborted <<< autoware_auto_msgs [3.76s] Aborted <<< rosapi [1.29s]
Summary: 28 packages finished [4.50s] 1 package failed: xsens_nodes 2 packages aborted: autoware_auto_msgs rosapi 1 package had stderr output: xsens_nodes 62 packages not processed

I read the source code and get that xsens_nodes package depends on serial_drvier package. Next, I find the ros-foxy-serial-driver is installed but installed include path "/opt/ros/foxy/include/serial_driver" doesn't contain the file "serial_driver/serial_driver_node.hpp". There are serial_bridge_node.hpp serial_port.hpp serial_driver.hpp visibility_control.hpp.

problem 2---stderr: euclidean_cluster

The problem 1 is not resolved, but I plan to ignore it bucause I don't need xsens driver and nodes packages. I copy COLCON_IGNORE file to the both packages so that colcon build will pass xsens driver and nodes packages.

Unfortunately, new problem appeared like this: /home/minphie/AutowareAuto/src/perception/segmentation/euclidean_cluster/include/euclidean_cluster/euclidean_cluster.hpp:89:36: error: ‘clusters’ is not a member of ‘autoware::perception::segmentation::euclidean_cluster::Clusters’ {aka ‘autoware_auto_msgs::msg::PointClusters_<std::allocator<void> >’} 89 | using Cluster = decltype(Clusters::clusters)::value_type;

...

Failed <<< euclidean_cluster [19.8s, exited with code 2] Aborted <<< off_map_obstacles_filter [1min 14s]
Aborted <<< localization_nodes [47.7s]
Aborted <<< voxel_grid [26.0s]
Aborted <<< controller_common [27.0s]
Aborted <<< trajectory_smoother [22.9s]
Aborted <<< vehicle_interface [1min 37s]
Aborted <<< had_map_utils [1min 41s]

Summary: 38 packages finished [1min 47s] 1 package failed: euclidean_cluster 7 packages aborted: controller_common had_map_utils localization_nodes off_map_obstacles_filter trajectory_smoother vehicle_interface voxel_grid 3 packages had stderr output: euclidean_cluster had_map_utils rosapi 45 packages not processed


My soft environment

Uubuntu 20.04 LTS

ROS2 foxy full-desktop installed from debian package

Autoware Auto Tag 1.00 (Relase 1.0.0) built outside ade

My hardware

Intel I7 16G RAM


Looking forward to your guidance, thank you.

2021-11-02 00:11:14 -0500 edited answer AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

I am sure the problems come from the version of seral_driver and udp_driver packages. They are newest version (1.0.0) in

2021-11-01 23:03:14 -0500 received badge  Self-Learner (source)
2021-11-01 23:03:14 -0500 received badge  Teacher (source)
2021-11-01 23:02:56 -0500 received badge  Popular Question (source)
2021-11-01 22:37:59 -0500 answered a question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

I am sure the problems come from the version of seral_driver and udp_driver packages. They are newest version (1.0.0) in

2021-11-01 20:45:08 -0500 commented question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

The ros seral_driver and udp_driver are both intalled and the information is as follows: Package: ros-foxy-serial-driv

2021-11-01 20:44:10 -0500 commented question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

The ros seral_driver and udp_driver are both intalled and the information is as follows: Package: ros-foxy-serial-driv

2021-11-01 20:32:10 -0500 commented question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

I have tried running rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO and get that #All required

2021-10-31 00:10:57 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster I am learnning ROS2 and AutowareAuto due to a rec

2021-10-28 20:07:07 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

AutowareAuto 1.0.0 build failed I am learnning ROS2 and AutowareAuto due to a recent project. I follow the setps on the

2021-10-28 02:16:30 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

AutowareAuto 1.0.0 build failed I am learnning ROS2 and AutowareAuto due to a recent project. I follow the setps on the

2021-10-28 02:16:02 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

[AutowareAuto 1.0.0 build failed] I am learnning ROS2 and AutowareAuto due to a recent project. I follow the setps on t

2021-10-28 02:13:37 -0500 received badge  Famous Question (source)
2021-10-28 02:09:01 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

[AutowareAuto 1.0.0 build failed] I am learnning ROS2 and AutowareAuto due to a recent project. I follow the setps on t

2021-10-28 02:08:11 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

[AutowareAuto 1.0.0 build failed] I am learnning ROS2 and AutowareAuto due to a recent project. I follow the setps on t

2021-10-28 02:08:11 -0500 received badge  Editor (source)
2021-10-28 02:07:35 -0500 edited question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

[AutowareAuto 1.0.0 build failed] I am learnning ROS2 and AutowareAuto due to a recent project. I followe the setps on

2021-10-28 02:05:58 -0500 asked a question AutowareAuto 1.0.0 build failed with xsens_nodes and euclidean_cluster

[AutowareAuto 1.0.0 build failed] I am learnning ROS2 and AutowareAuto due to a recent project. I followe the setps on

2016-06-14 02:41:18 -0500 received badge  Enthusiast
2016-06-05 08:59:11 -0500 received badge  Notable Question (source)
2016-06-05 08:59:11 -0500 received badge  Notable Question (source)
2016-01-12 17:06:50 -0500 received badge  Popular Question (source)
2016-01-12 03:05:12 -0500 received badge  Scholar (source)
2016-01-12 02:58:13 -0500 commented answer why do i have to change the environment path every time when i open a new terminal? I am a beginner and now is learning tutorials, Thank you.

Thank you very much, that works for me.

2016-01-12 02:53:37 -0500 received badge  Supporter (source)
2016-01-12 02:11:22 -0500 asked a question why do i have to change the environment path every time when i open a new terminal? I am a beginner and now is learning tutorials, Thank you.

minphie@Lenovo:~$ rosrun beginner_tutorials add_two_ints_sever [rospack] Error: package 'beginner_tutorials' not found

As above, I know enter the catkin space and $ source ./devel/setup.bash can resolve the problem. But every time when I open a new terminal I have to do this step. Is there another way to solve the problem?