Open 2016-new-Cheng opened 3 years ago
Hello, when i tried colcon build micro-ROS_moveit2_demo with the command
colcon build --event-handlers desktop_notification- status- --packages-select microros_moveit2_demo --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
but it met an error:
Starting >>> microros_moveit2_demo --- stderr: microros_moveit2_demo /microros_zephyr_ws/micro-ROS_moveit2_demo/src/microros_moveit2servo_demo.cpp: In lambda function: /microros_zephyr_ws/micro-ROS_moveit2_demo/src/microros_moveit2servo_demo.cpp:80:74: warning: unused parameter ‘msg’ [-Wunused-parameter] 80 | auto trigger_callback = [this](const std_msgs::msg::Empty::SharedPtr msg) -> void | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /microros_zephyr_ws/micro-ROS_moveit2_demo/src/microros_moveit2servo_demo.cpp: In member function ‘void ServoCppDemo::start()’: /microros_zephyr_ws/micro-ROS_moveit2_demo/src/microros_moveit2servo_demo.cpp:129:21: error: ‘class moveit_servo::Servo’ has no member named ‘waitForInitialized’ 129 | while (!servo_->waitForInitialized() && rclcpp::ok()) | ^~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/microros_moveit2servo_demo.dir/build.make:63: CMakeFiles/microros_moveit2servo_demo.dir/src/microros_moveit2servo_demo.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/microros_moveit2servo_demo.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 --- Failed <<< microros_moveit2_demo [13.4s, exited with code 2] Summary: 0 packages finished [13.6s] 1 package failed: microros_moveit2_demo 1 package had stderr output: microros_moveit2_demo
Moveit2 have updated the API, we should update this demo @jamoralp.
Give us a couple of days.
Hello, when i tried colcon build micro-ROS_moveit2_demo with the command
colcon build --event-handlers desktop_notification- status- --packages-select microros_moveit2_demo --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
but it met an error: