ros-industrial / industrial_training

ROS-Industrial Training Material
https://industrial-training-master.readthedocs.io
Apache License 2.0
421 stars 237 forks source link

Industrial Training Demo 1.2 Fails to compile #408

Closed BHolmes92 closed 11 months ago

BHolmes92 commented 11 months ago

Currently using the humble vm to work through the first demo. Colcon build fails due to an error in set_attached_object.cpp

/perception_driven_ws/src/pick_and_place_application/src/tasks/set_attached_object.cpp:34:30: error: no matching function for call to 'moveit::core::RobotState::attachBody(std::string&, std::vector<std::shared_ptr<const shapes::Shape>&, EigenSTL::vectorIsometry3d&, std::vector<std::__cxx11::basic_strin<char>&, std::string&)'

It looks like const trajectory_msgs::JointTrajectory is missing?

reidchristopher commented 11 months ago

This was a bug that got fixed shortly after the VM was published, so pulling the latest changes for the template and then copying into your workspace should fix it (see #400)

BHolmes92 commented 11 months ago

perfect that did the trick, would it make sense to add a note to the doc until the vm is updated?

reidchristopher commented 11 months ago

There's already instructions to pull down the latest changes to your VM on the PC setup page, it can just be easy to overlook