Object which execute the Arm trajectories via MoveIt
Static Method | display |
Undocumented |
Static Method | filtering |
Undocumented |
Method | __init__ |
Undocumented |
Method | cancel |
Undocumented |
Method | compute |
Compute a cartesian plan according to list_poses and then, execute it The robot will follow a straight line between each points If the plan is not validate, raise ArmCommanderException :param list_poses: :param velocity_factor: :param acceleration_factor: :return: status, message... |
Method | compute |
Firstly try to compute the plan to the set target. If fails a first time, will try ComputePMaxTries times to stop the arm and recompute the plan Then, execute the plan :return: status, message |
Method | compute |
Compute cartesian plan from a list of poses As 2 poses cannot be the same, the first operation is to filter list_poses to be sure this condition is met :param list_poses: list of Pose Object :param compute_max_tries: number of tries to compute the path, if None the default value will be taken :return: Computed plan : RobotTrajectory object... |
Method | execute |
No summary |
Method | execute |
Execute the plan given Firstly, calculate a timeout which is : 1.5 times the estimated time of the plan Then send execute command to MoveIt and wait until the execution finished or the timeout happens :param plan: Computed plan :type plan: RobotTrajectory :return: CommandStatus, message... |
Method | link |
Undocumented |
Method | plan |
Undocumented |
Method | retime |
Take a plan and retime it |
Method | stop |
Undocumented |
Method | stop |
Undocumented |
Static Method | __get |
Extract duration from a plan. If it cannot be done, raise ArmCommanderException :param plan: plan given by MoveIt :type plan: RobotTrajectory :return: duration in seconds |
Method | __callback |
Undocumented |
Method | __callback |
Undocumented |
Method | __callback |
Function called when the action is finished :param msg: :return: |
Method | __callback |
Happens when a new goal is published. Set the current goal :param msg: Object containing info on the new goal :type msg: FollowJointTrajectoryActionGoal :return: None |
Method | __get |
Get computed plan from MoveIt :return: the computed plan if MoveIt succeed else None |
Method | __get |
Undocumented |
Method | __reset |
Undocumented |
Method | __set |
Activate or deactivate the learning mode using the ros service /niryo_robot/learning_mode/activate |
Method | __set |
Stop the Robot where it is :return: None |
Instance Variable | __arm |
Undocumented |
Instance Variable | __cancel |
Undocumented |
Instance Variable | __cartesian |
Undocumented |
Instance Variable | __cartesian |
Undocumented |
Instance Variable | __collision |
Undocumented |
Instance Variable | __collision |
Undocumented |
Instance Variable | __compute |
Undocumented |
Instance Variable | __current |
Undocumented |
Instance Variable | __current |
Undocumented |
Instance Variable | __current |
Undocumented |
Instance Variable | __error |
Undocumented |
Instance Variable | __hardware |
Undocumented |
Instance Variable | __joint |
Undocumented |
Instance Variable | __joints |
Undocumented |
Instance Variable | __reset |
Undocumented |
Instance Variable | __traj |
Undocumented |
Instance Variable | __traj |
Undocumented |
Instance Variable | __trajectory |
Undocumented |
Compute a cartesian plan according to list_poses and then, execute it The robot will follow a straight line between each points If the plan is not validate, raise ArmCommanderException :param list_poses: :param velocity_factor: :param acceleration_factor: :return: status, message
Firstly try to compute the plan to the set target. If fails a first time, will try ComputePMaxTries times to stop the arm and recompute the plan Then, execute the plan :return: status, message
Compute cartesian plan from a list of poses As 2 poses cannot be the same, the first operation is to filter list_poses to be sure this condition is met :param list_poses: list of Pose Object :param compute_max_tries: number of tries to compute the path, if None the default value will be taken :return: Computed plan : RobotTrajectory object
Execute the plan given Firstly, calculate a timeout which is : 1.5 times the estimated time of the plan Then send execute command to MoveIt and wait until the execution finished or the timeout happens :param plan: Computed plan :type plan: RobotTrajectory :return: CommandStatus, message
Take a plan and retime it
Extract duration from a plan. If it cannot be done, raise ArmCommanderException :param plan: plan given by MoveIt :type plan: RobotTrajectory :return: duration in seconds
Happens when a new goal is published. Set the current goal :param msg: Object containing info on the new goal :type msg: FollowJointTrajectoryActionGoal :return: None