pub fn enable_jogcon(&mut self) -> Result<(), E> {
        let mut buffer = [0u8; MESSAGE_MAX_LENGTH];

        // Wake up the controller if needed
        self.send_command(CMD_POLL, &mut buffer)?;

        self.send_command(CMD_ENTER_ESCAPE_MODE, &mut buffer)?;
        self.send_command(CMD_SET_MODE, &mut buffer)?;
        self.send_command(CMD_MOTOR_JOGCON, &mut buffer)?;
        self.send_command(CMD_EXIT_ESCAPE_MODE, &mut buffer)?;

        Ok(())
    }
/// Configure the JogCon for wheel control.
/// 
/// If no digital buttons are pressed in this mode for 60 seconds, the
/// JogCon will go to sleep until buttons are pressed. If no polling is
/// done for 10 seconds, it will drop out of this mode and revert to
/// the standard Controller mode
Configure the JogCon for wheel control.
If no digital buttons are pressed in this mode for 60 seconds, the
JogCon will go to sleep until buttons are pressed. If no polling is
done for 10 seconds, it will drop out of this mode and revert to
the standard Controller mode
Configure the JogCon for wheel control . If no digital buttons are pressed in this mode for 60 seconds the JogCon will go to sleep until buttons are pressed . If no polling is done for 10 seconds it will drop out of this mode and revert to the standard Controller mode
pub fn enable_jogcon(&mut self) -> Result<(), E> {
        let mut buffer = [0u8; MESSAGE_MAX_LENGTH];
        // Wake up the controller if needed
        self.send_command(CMD_POLL, &mut buffer)?;
        self.send_command(CMD_ENTER_ESCAPE_MODE, &mut buffer)?;
        self.send_command(CMD_SET_MODE, &mut buffer)?;
        self.send_command(CMD_MOTOR_JOGCON, &mut buffer)?;
        self.send_command(CMD_EXIT_ESCAPE_MODE, &mut buffer)?;
        Ok(())
    }
pub fn enable_jogcon ( & mut self ) -> Result < ( ) , E > { let mut buffer = [ 0u8 ; MESSAGE_MAX_LENGTH ] ; // Wake up the controller if needed self . send_command ( CMD_POLL , & mut buffer ) ? ; self . send_command ( CMD_ENTER_ESCAPE_MODE , & mut buffer ) ? ; self . send_command ( CMD_SET_MODE , & mut buffer ) ? ; self . send_command ( CMD_MOTOR_JOGCON , & mut buffer ) ? ; self . send_command ( CMD_EXIT_ESCAPE_MODE , & mut buffer ) ? ; Ok ( ( ) ) }
Configure the JogCon for wheel control.
Configure the JogCon for wheel control .
&mut self
&mut self