Skip to content

[WIP] Abstract HWOBJ 6

Marcus Oskarsson requested to merge github/fork/rhfogh/abstract_hwobj_6 into master

Created by: rhfogh

Proposal for AbstractActuator (Abstract hardware object) to incorporate discussion at Hamburg meeting

  • There are only two abstract methods, get_value and _set_value

  • State changing, limits setting and limits handling must also be done in subclasses

  • The value is stored inside this class only for mock objects - I am assuming that for real hardware the value will be got from / set on the hardware control system.

Example include a general mock actuator, a specific implementation of the latter MockTransmission) and an attempt to use the new abstract class to implement an ExporterMotor. NB, the latter could need very thorough code review, in the (not unlikely) case I have misunderstood something

Merge request reports