Error compiling Moveit Robot state display tutorial
I'm trying to compile the moveit robot state display tutorial for my robot, however I'm getting the following errors:
/home/.../catkin_ws/src/moveit_test/src/state_display_tutorial.cpp: In function ‘int main(int, char**)’:
/home/.../catkin_ws/src/moveit_test/src/state_display_tutorial.cpp:87:22: error: ‘class robot_state::RobotState’ has no member named ‘setToRandomPositions’
/home/.../catkin_ws/src/moveit_test/src/state_display_tutorial.cpp:108:70: error: ‘class robot_state::RobotState’ has no member named ‘getGlobalLinkTransform’
/home/.../catkin_ws/src/moveit_test/src/state_display_tutorial.cpp:123:38: error: ‘class robot_state::RobotState’ has no member named ‘setFromIK’
I have added the dependencies as in the tutorial for the CMakeLists and Package.xml files, what could I be missing?
Thanks