Class of a motion frame.
More...
#include <Motion.h>
Class of a motion frame.
- Attention
- The firmware backs up memory allocation of an instance to external EEPROM, so if you change the order of member instances, PLEN does not work properly if you did not re-install all motions.
Enumerator |
---|
UPDATE_INTERVAL_MS |
Update interval between frames.
- See also
- Refer to ISR(TIMER1_OVF_vect), in JointController.cpp.
|
FRAME_BEGIN |
Beginning value of frames.
|
FRAME_END |
Ending value of frames.
|
static bool PLEN2::Motion::Frame::get |
( |
uint8_t |
slot, |
|
|
uint8_t |
index, |
|
|
Frame & |
frame |
|
) |
| |
|
static |
Read the frame from external EEPROM.
- Parameters
-
[in] | slot | Slot number of a motion. |
[in] | index | Index of the frame. |
[in,out] | frame | An instance of frame. |
- Returns
- Result
static void PLEN2::Motion::Frame::init |
( |
Frame & |
frame | ) |
|
|
static |
Initialize the frame.
- Parameters
-
[in,out] | frame | An instance of frame. |
static bool PLEN2::Motion::Frame::set |
( |
uint8_t |
slot, |
|
|
uint8_t |
index, |
|
|
const Frame & |
frame |
|
) |
| |
|
static |
Write the frame to external EEPROM.
- Parameters
-
[in] | slot | Slot number of a motion. |
[in] | index | Index of the frame. |
[in] | frame | An instance of frame. |
- Returns
- Result
uint8_t PLEN2::Motion::Frame::index |
uint16_t PLEN2::Motion::Frame::transition_time_ms |
Time of transit to the frame.
The documentation for this class was generated from the following file: