udacity / RoboND-Kinematics-Project

Pick and Place project for RoboND Term 1
MIT License
79 stars 306 forks source link

'math’ was not declared in this scope #24

Open majidsadrii opened 3 years ago

majidsadrii commented 3 years ago

when I‌ use catkin_ws,it stops at : [ 83%] Building CXX object RoboND-Kinematics-Project/gazebo_grasp_plugin/CMakeFiles/gazebo_grasp_fix.dir/src/GazeboGraspGripper.cpp.o

and the following error appears:

......src/RoboND-Kinematics-Project/gazebo_grasp_plugin/include/gazebo_grasp_plugin/GazeboGraspFix.h:157:38: error: ‘math’ was not declared in this scope bool checkGrip(const std::vector& forces, float minAngleDiff, float lengthRatio);

PedakolimiHarish commented 2 years ago

@majidsadrii same here, did you get any solution for that?