Motion Master
Loading...
Searching...
No Matches
OpenLoopFieldControl Class Reference

#include <open_loop_field_control.h>

Inheritance diagram for OpenLoopFieldControl:
Collaboration diagram for OpenLoopFieldControl:

Public Member Functions

 OpenLoopFieldControl (Cia402Drive &cia402_drive, int32_t angle, uint32_t velocity, uint32_t acceleration, uint32_t torque, uint32_t torque_speed)
MotionMasterError init () override
 Initialize open loop field control.
MotionMasterError start () override
 Start the open loop field control.
bool is_done () override
 Once the open loop field control procedure was started, this function is used to check if the procedure is done.
MotionMasterError get_result () override
 After the procedure is done, return the result.
MotionMasterError deinit () override
 Deinitialize open loop field control.
Public Member Functions inherited from DeviceProcedure
virtual ~DeviceProcedure ()=default

Constructor & Destructor Documentation

◆ OpenLoopFieldControl()

OpenLoopFieldControl::OpenLoopFieldControl ( Cia402Drive & cia402_drive,
int32_t angle,
uint32_t velocity,
uint32_t acceleration,
uint32_t torque,
uint32_t torque_speed )
explicit

Member Function Documentation

◆ deinit()

MotionMasterError OpenLoopFieldControl::deinit ( )
overridevirtual

Deinitialize open loop field control.

Returns
error if any

Implements DeviceProcedure.

◆ get_result()

MotionMasterError OpenLoopFieldControl::get_result ( )
overridevirtual

After the procedure is done, return the result.

Returns
error (if any)

Implements DeviceProcedure.

◆ init()

MotionMasterError OpenLoopFieldControl::init ( )
overridevirtual

Initialize open loop field control.

Returns
error if any

Implements DeviceProcedure.

◆ is_done()

bool OpenLoopFieldControl::is_done ( )
overridevirtual

Once the open loop field control procedure was started, this function is used to check if the procedure is done.

Returns
true is done, false otherwise

Implements DeviceProcedure.

◆ start()

MotionMasterError OpenLoopFieldControl::start ( )
overridevirtual

Start the open loop field control.

Returns
error

Implements DeviceProcedure.


The documentation for this class was generated from the following files: