Closed AdamSorrel closed 6 years ago
The success
variable needs to be a MoveitErrorCode type.
Furthermore, the instructions for that tutorial should indicate running a setup launch file beforehand in order to load the robot and the move group planning node.
Going through the demo 1.5, I have encountered a few issues. I have adjusted my code according to the suggested 'correct result', but I was still not able to compile it, getting this error:
I have found a solution that worked for me in the robotics.stackexchange.com, suggesting replacing
bool success = move_group.move()
withbool success = move_group.move() == moveit::planning_interface::MoveItErrorCode::SUCCESS
.This seemed to allow the package to build successfully. However, I might have been wrong from the get go, since I did not find the folder demo_manipulation that is mentioned in the command line build process.
_...Alternatively, in a terminal cd into the '''demomanipulation''' directory and do the following: ...
I'm not sure what that is referring to.
There is actually also a controversy around using mongo_db and the warehouse_ros in general. The python script has been removed as stated here, but it is still accessible and can be installed following this procedure. However it seems as though the required script is no longer in
ros_warehouse
but inros_warehouse_mongo
, which needs to be corrected in thewarehouse.launch
files in the package.However even after successfully building the package, I was not able to run it with the following command after sourcing
devel/setup.bash
.The output of the run is following: