pycram.process_modules.hsrb_process_modules
Module Contents
Classes
The process module to move the robot from one position to another. |
|
This process module moves the head to look at a specific point in the world coordinate frame. |
|
This process module controls the gripper of the robot. They can either be opened or closed. |
|
This process module tries to detect an object with the given type. To be detected the object has to be in |
|
This process moves the tool center point of either the right or the left arm. |
|
This process modules moves the joints of either the right or the left arm. The joint states can be given as |
|
Process Module for generic joint movements, is not confined to the arms but can move any joint of the robot |
|
This process module detectes an object even if it is not in the field of view of the robot. |
|
Low-level implementation of opening a container in the simulation. Assumes the handle is already grasped. |
|
Low-level implementation that lets the robot close a grasped container, in simulation |
|
Process module for the real HSRB that sends a cartesian goal to giskard to move the robot base |
|
Process module for the real HSRB that sends a cartesian goal to giskard to move the robot base |
|
Process module for the real robot to move that such that it looks at the given position. Uses the same calculation |
|
Process Module for the real HSRB that tries to detect an object fitting the given object description. Uses Robokudo |
|
Moves the tool center point of the real HSRB while avoiding all collisions |
|
Moves the arm joints of the real HSRB to the given configuration while avoiding all collisions |
|
Moves any joint using giskard, avoids all collisions while doint this. |
|
Opens or closes the gripper of the real HSRB with the help of giskard. |
|
Tries to open an already grasped container |
|
Tries to close an already grasped container |
|
Functions
|
Calculates the inverse kinematics for the given target pose and applies it to the robot. |
|
Defines the joint poses for the parking positions of the arms of HSRB and applies them to the |
|
- pycram.process_modules.hsrb_process_modules.calculate_and_apply_ik(robot, gripper: str, target_position: pycram.datastructures.pose.Point, max_iterations: int | None = None)
Calculates the inverse kinematics for the given target pose and applies it to the robot.
- pycram.process_modules.hsrb_process_modules._park_arms(arm)
Defines the joint poses for the parking positions of the arms of HSRB and applies them to the in the World defined robot. :return: None
Bases:
pycram.process_module.ProcessModule
The process module to move the robot from one position to another.
Create a new process module.
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveHead(lock)
Bases:
pycram.process_module.ProcessModule
This process module moves the head to look at a specific point in the world coordinate frame. This point can either be a position or an object.
Create a new process module.
- _execute(desig: LookingMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveGripper(lock)
Bases:
pycram.process_module.ProcessModule
This process module controls the gripper of the robot. They can either be opened or closed. Furthermore, it can only moved one gripper at a time.
Create a new process module.
- _execute(desig: MoveGripperMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBDetecting(lock)
Bases:
pycram.process_module.ProcessModule
This process module tries to detect an object with the given type. To be detected the object has to be in the field of view of the robot.
Create a new process module.
- _execute(desig: DetectingMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveTCP(lock)
Bases:
pycram.process_module.ProcessModule
This process moves the tool center point of either the right or the left arm.
Create a new process module.
- _execute(desig: MoveTCPMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveArmJoints(lock)
Bases:
pycram.process_module.ProcessModule
This process modules moves the joints of either the right or the left arm. The joint states can be given as list that should be applied or a pre-defined position can be used, such as “parking”
Create a new process module.
- _execute(desig: MoveArmJointsMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveJoints(lock)
Bases:
pycram.process_module.ProcessModule
Process Module for generic joint movements, is not confined to the arms but can move any joint of the robot
Create a new process module.
- _execute(desig: MoveJointsMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBWorldStateDetecting(lock)
Bases:
pycram.process_module.ProcessModule
This process module detectes an object even if it is not in the field of view of the robot.
Create a new process module.
- _execute(desig: WorldStateDetectingMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBOpen(lock)
Bases:
pycram.process_module.ProcessModule
Low-level implementation of opening a container in the simulation. Assumes the handle is already grasped.
Create a new process module.
- _execute(desig: OpeningMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBClose(lock)
Bases:
pycram.process_module.ProcessModule
Low-level implementation that lets the robot close a grasped container, in simulation
Create a new process module.
- _execute(desig: ClosingMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- pycram.process_modules.hsrb_process_modules._move_arm_tcp(target: Pose, robot: Object, arm: str) None
Bases:
pycram.process_module.ProcessModule
Process module for the real HSRB that sends a cartesian goal to giskard to move the robot base
Create a new process module.
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
Bases:
pycram.process_module.ProcessModule
Process module for the real HSRB that sends a cartesian goal to giskard to move the robot base
Create a new process module.
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveHeadReal(lock)
Bases:
pycram.process_module.ProcessModule
Process module for the real robot to move that such that it looks at the given position. Uses the same calculation as the simulated one
Create a new process module.
- _execute(desig: LookingMotion)
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBDetectingReal(lock)
Bases:
pycram.process_module.ProcessModule
Process Module for the real HSRB that tries to detect an object fitting the given object description. Uses Robokudo for perception of the environment.
Create a new process module.
- _execute(desig: DetectingMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveTCPReal(lock)
Bases:
pycram.process_module.ProcessModule
Moves the tool center point of the real HSRB while avoiding all collisions
Create a new process module.
- _execute(designator: MoveTCPMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveArmJointsReal(lock)
Bases:
pycram.process_module.ProcessModule
Moves the arm joints of the real HSRB to the given configuration while avoiding all collisions
Create a new process module.
- _execute(designator: MoveArmJointsMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveJointsReal(lock)
Bases:
pycram.process_module.ProcessModule
Moves any joint using giskard, avoids all collisions while doint this.
Create a new process module.
- _execute(designator: MoveJointsMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBMoveGripperReal(lock)
Bases:
pycram.process_module.ProcessModule
Opens or closes the gripper of the real HSRB with the help of giskard.
Create a new process module.
- _execute(designator: MoveGripperMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBOpenReal(lock)
Bases:
pycram.process_module.ProcessModule
Tries to open an already grasped container
Create a new process module.
- _execute(designator: OpeningMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.
- class pycram.process_modules.hsrb_process_modules.HSRBCloseReal(lock)
Bases:
pycram.process_module.ProcessModule
Tries to close an already grasped container
Create a new process module.
- _execute(designator: ClosingMotion) Any
Helper method for internal usage only. This method is to be overwritten instead of the execute method.