Struct tmcl::modules::generic::instructions::MVP
[−]
[src]
pub struct MVP { /* fields omitted */ }
MVP - Move to Position
A movement towards the specified position is started, with automatic generation of acceleration and deceleration ramps. The maximum velocity and acceleration are defined by axis parameters #4 and #5.
Methods
impl MVP
[src]
pub fn new(motor_number: u8, value: MoveOperation) -> MVP
[src]
Trait Implementations
impl Debug for MVP
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for MVP
[src]
fn eq(&self, __arg_0: &MVP) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MVP) -> bool
[src]
This method tests for !=
.
impl Instruction for MVP
[src]
const INSTRUCTION_NUMBER: u8
INSTRUCTION_NUMBER: u8 = 4
The command number (sometimes referred to as the instruction number).
fn operand(&self) -> [u8; 4]
[src]
Return the operand serialized. Read more
fn type_number(&self) -> u8
[src]
fn motor_bank_number(&self) -> u8
[src]
The motor/bank number