genericroboticarm.robo_APIs.dummy_robot module

An exemplary implementation of a robotic arm. It can change its simulated location in 3d space and print logging messages. This serves as a demo on how to implement an interface to a real robotic arm

class genericroboticarm.robo_APIs.dummy_robot.DummyRobot[source]

Bases: RoboInterface

_abc_impl = <_abc._abc_data object>
property current_coordinates: Dict[str, float]

return:

classmethod get_name() str[source]

The name will be used as parameter in command line startup (-r), as sila server name and to save the position graph. :return: the name

classmethod get_used_cli_args() dict[str, str][source]

Defines the arguments that are forwarded from the command line to the robots constructor. :return: a dictionary of type [constructor parameter name, command line argument name]

grip_close()[source]
Returns:

grip_open()[source]
Returns:

init_connection()[source]

Sets up the hardware connection :return:

property joint_names: list[str]

Returns a list of names of the individual coordinates used by the robot. For example [x, y, z, roll, pitch, grip] or [j1, j2, j3, j4, j5] :return:

move_relative(movements: List[Tuple[str, float]], **kwargs)[source]
Parameters:

movements

Returns:

move_to_coordinates(coords: Dict[str, float], **kwargs) None[source]
Parameters:

coords

Returns: