motion_interface module
Classes for robot movement
Edited from official ROS tutorial by Lukas Rustler
- class motion_interface.MoveGroupPythonInterface(group_)[source]
Bases:
object- all_close(goal, actual, tolerance)[source]
Convenience method for testing if a list of values are within a tolerance of their counterparts in another list @param: goal A list of floats, a Pose or a PoseStamped @param: actual A list of floats, a Pose or a PoseStamped @param: tolerance A float @returns: bool
- display_trajectory(plan)[source]
Display trajectory in Rviz, the following code is needed for proper displaying.
- execute_plan(plan, wait=True)[source]
Note: The robot’s current joint state must be within some tolerance of the first waypoint in the `RobotTrajectory`_ or
execute()will fail