ReadAnalog

class compas_rrc.ReadAnalog(io_name)[source]

Bases: compas_fab.backends.ros.messages.std_msgs.ROSmsg

Read analog is a call that requests the value of an analog input signal.

Examples

# Read analog
analog_input_1 = abb.send_and_wait(rrc.ReadAnalog('ai_1'))

RAPID Instruction: AInput

Note

For additional help, check the ABB Reference Manual.

Methods

__init__(io_name)

Create a new instance of the instruction.

from_msg(msg)

parse(msg, msg_type)

Parses a msg in various possible input formats and tries to return an instance of the class that wraps it.

parse_feedback(result)

Parses the result as a float.