DYNAMIXEL Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Variables
dynamixel::p1_error Namespace Reference

Protocol 1.0 error flags (the error byte of a status packet). More...

Variables

constexpr uint8_t kInputVoltage
 Input voltage out of the configured range (condition).
 
constexpr uint8_t kAngleLimit
 Goal position outside the angle limits (command fault).
 
constexpr uint8_t kOverheating = 0x04
 Internal temperature above the limit (condition).
 
constexpr uint8_t kRange = 0x08
 An instruction value out of range (command fault).
 
constexpr uint8_t kChecksum
 The instruction's checksum was wrong (command fault).
 
constexpr uint8_t kOverload
 Load beyond what the torque limit controls (condition).
 
constexpr uint8_t kInstruction
 
constexpr uint8_t kCommandFaults
 Flags that mean the instruction was not carried out.
 
constexpr uint8_t kConditions
 Flags that report the servo's condition, not the instruction.
 

Detailed Description

Protocol 1.0 error flags (the error byte of a status packet).

Variable Documentation

◆ kAngleLimit

constexpr uint8_t dynamixel::p1_error::kAngleLimit
inlineconstexpr
Initial value:
=
0x02

Goal position outside the angle limits (command fault).

◆ kChecksum

constexpr uint8_t dynamixel::p1_error::kChecksum
inlineconstexpr
Initial value:
=
0x10

The instruction's checksum was wrong (command fault).

◆ kCommandFaults

constexpr uint8_t dynamixel::p1_error::kCommandFaults
inlineconstexpr
Initial value:
= static_cast<uint8_t>(
uint32_t{kAngleLimit} | uint32_t{kRange} | uint32_t{kChecksum} | uint32_t{kInstruction})
constexpr uint8_t kAngleLimit
Goal position outside the angle limits (command fault).
Definition dynamixel_types.hpp:244
constexpr uint8_t kRange
An instruction value out of range (command fault).
Definition dynamixel_types.hpp:247

Flags that mean the instruction was not carried out.

◆ kConditions

constexpr uint8_t dynamixel::p1_error::kConditions
inlineconstexpr
Initial value:
=
static_cast<uint8_t>(uint32_t{kInputVoltage} | uint32_t{kOverheating} | uint32_t{kOverload})
constexpr uint8_t kInputVoltage
Input voltage out of the configured range (condition).
Definition dynamixel_types.hpp:242
constexpr uint8_t kOverheating
Internal temperature above the limit (condition).
Definition dynamixel_types.hpp:246

Flags that report the servo's condition, not the instruction.

◆ kInputVoltage

constexpr uint8_t dynamixel::p1_error::kInputVoltage
inlineconstexpr
Initial value:
=
0x01

Input voltage out of the configured range (condition).

◆ kInstruction

constexpr uint8_t dynamixel::p1_error::kInstruction
inlineconstexpr
Initial value:
=
0x40

Undefined instruction, or Action without Reg Write (command fault).

◆ kOverload

constexpr uint8_t dynamixel::p1_error::kOverload
inlineconstexpr
Initial value:
=
0x20

Load beyond what the torque limit controls (condition).