pub fn reboot(&mut self, motor_id: u8) -> Result<(), TransferError> {
		if motor_id == packet_id::BROADCAST {
			self.broadcast_action()?;
		} else {
			let response = self.transfer_single(motor_id, instruction_id::REBOOT, 0, |_| ())?;
			crate::InvalidParameterCount::check(response.parameters().len(), 0).map_err(crate::ReadError::from)?;
		}
		Ok(())
	}
/// Send a reboot command to a specific motor.
///
/// Certain error conditions can only be cleared by rebooting a motor.
/// When a motor reboots, all volatile (non-EEPROM) registers are reset to their initial value.
/// This also has the effect of disabling motor torque and resetting the multi-revolution information.
///
/// The `motor_id` parameter may be set to [`packet_id::BROADCAST`],
/// although the [`Self::broadcast_reboot`] is generally easier to use.
Send a reboot command to a specific motor.
Certain error conditions can only be cleared by rebooting a motor.
When a motor reboots, all volatile (non-EEPROM) registers are reset to their initial value.
This also has the effect of disabling motor torque and resetting the multi-revolution information.


Send a reboot command to a specific motor . Certain error conditions can only be cleared by rebooting a motor . When a motor reboots all volatile ( non - EEPROM ) registers are reset to their initial value . This also has the effect of disabling motor torque and resetting the multi - revolution information .
pub fn reboot(&mut self, motor_id: u8) -> Result<(), TransferError> {
		if motor_id == packet_id::BROADCAST {
			self.broadcast_action()?;
		} else {
			let response = self.transfer_single(motor_id, instruction_id::REBOOT, 0, |_| ())?;
			crate::InvalidParameterCount::check(response.parameters().len(), 0).map_err(crate::ReadError::from)?;
		}
		Ok(())
	}
pub fn reboot ( & mut self , motor_id : u8 ) -> Result < ( ) , TransferError > { if motor_id == packet_id :: BROADCAST { self . broadcast_action ( ) ? ; } else { let response = self . transfer_single ( motor_id , instruction_id :: REBOOT , 0 , | _ | ( ) ) ? ; crate :: InvalidParameterCount :: check ( response . parameters ( ) . len ( ) , 0 ) . map_err ( crate :: ReadError :: from ) ? ; } Ok ( ( ) ) }
Send a reboot command to a specific motor.
Send a reboot command to a specific motor .
&mut self
motor_id
u8
&mut self
motor_id
u8