Struct drs_0x01::advanced::MessageBuilderPositionSJOG [−][src]
pub struct MessageBuilderPositionSJOG { /* fields omitted */ }
This is a specialized version of the MessageBuilder
which contains an ID and a position
request.
Methods
impl MessageBuilderPositionSJOG
[src]
impl MessageBuilderPositionSJOG
pub fn s_jog(
&mut self,
mode: JogMode,
color: JogColor,
id: u8
) -> Result<(), MessageBuilderError>
[src]
pub fn s_jog(
&mut self,
mode: JogMode,
color: JogColor,
id: u8
) -> Result<(), MessageBuilderError>
Append a new SJOG command to this message.
Errors
Return MessageBuilderError::MaximumDataReached if there is already 10 sjog command in this message.
Invalid Values
The maximum id
value is 0xFE
.
The maximum playtime
value is 0xFE
.
pub fn build(self) -> HerkulexMessage
[src]
pub fn build(self) -> HerkulexMessage
Build the final message to be sent to the servomotor through a serial connection.
Auto Trait Implementations
impl Send for MessageBuilderPositionSJOG
impl Send for MessageBuilderPositionSJOG
impl Sync for MessageBuilderPositionSJOG
impl Sync for MessageBuilderPositionSJOG