plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::adapters 命名空间参考

命名空间

namespace  ipc

类

class  Cia402Machine
struct  FeedbackGuardConfig
class  FeedbackGuard
struct  FeetechPacket
struct  FeetechFrame
class  FeetechParser
struct  FeetechConfig
class  FeetechBus
class  FeetechServo
class  FeetechSim
class  ModeManager
struct  ServoSetpoints
struct  ServoFeedback
class  Servo
class  ServoSim

枚举

enum class  Cia402State : std::uint8_t {
  not_ready_to_switch_on , switch_on_disabled , ready_to_switch_on , switched_on ,
  operation_enabled , quick_stop_active , fault_reaction_active , fault
}
enum class  Cia402Command : std::uint8_t {
  shutdown , switch_on , enable_operation , disable_voltage ,
  quick_stop , disable_operation , fault_reset
}
enum class  FeedbackFaultKind {
  none = 0 , non_finite , position_jump , velocity_envelope ,
  acceleration_envelope , torque_envelope , latched_tripped
}
enum class  FeedbackGuardOutcome { none = 0 , applied , rejected_held , tripped }
enum class  FeetechInstruction : std::uint8_t {
  ping = 0x01 , read = 0x02 , write = 0x03 , sync_read = 0x82 ,
  sync_write = 0x83
}
enum class  OperationMode : std::uint8_t { csp , csv , cst }

函数

std::uint8_t feetech_checksum (const std::uint8_t *bytes, std::size_t begin, std::size_t end)
rt::ErrorCode encode_instruction (std::uint8_t id, FeetechInstruction instruction, const std::uint8_t *parameters, std::size_t parameter_count, FeetechPacket &packet)
rt::ErrorCode encode_status (std::uint8_t id, std::uint8_t error, const std::uint8_t *parameters, std::size_t parameter_count, FeetechPacket &packet)
std::uint16_t encode_sign_magnitude (int value, std::uint16_t sign_mask)
int decode_sign_magnitude (std::uint16_t value, std::uint16_t sign_mask)
ServoSetpoints make_setpoints (const axis::AxisSnapshot &snapshot)
rt::ErrorCode bridge_feedback (axis::AxisModel &axis, const ServoFeedback &feedback)

枚举类型说明

◆ Cia402Command

enum class plcopen::core::adapters::Cia402Command : std::uint8_t
strong
枚举值
shutdown 
switch_on 
enable_operation 
disable_voltage 
quick_stop 
disable_operation 
fault_reset 

在文件 cia402.h 第 30 行定义.

◆ Cia402State

enum class plcopen::core::adapters::Cia402State : std::uint8_t
strong
枚举值
not_ready_to_switch_on 
switch_on_disabled 
ready_to_switch_on 
switched_on 
operation_enabled 
quick_stop_active 
fault_reaction_active 
fault 

在文件 cia402.h 第 17 行定义.

◆ FeedbackFaultKind

枚举值
none 
non_finite 
position_jump 
velocity_envelope 
acceleration_envelope 
torque_envelope 
latched_tripped 

在文件 feedback_guard.h 第 18 行定义.

◆ FeedbackGuardOutcome

枚举值
none 
applied 
rejected_held 
tripped 

在文件 feedback_guard.h 第 29 行定义.

◆ FeetechInstruction

enum class plcopen::core::adapters::FeetechInstruction : std::uint8_t
strong
枚举值
ping 
read 
write 
sync_read 
sync_write 

在文件 feetech.h 第 15 行定义.

◆ OperationMode

enum class plcopen::core::adapters::OperationMode : std::uint8_t
strong
枚举值
csp 
csv 
cst 

在文件 mode_manager.h 第 20 行定义.

函数说明

◆ bridge_feedback()

rt::ErrorCode plcopen::core::adapters::bridge_feedback ( axis::AxisModel & axis,
const ServoFeedback & feedback )
inline

在文件 servo.h 第 83 行定义.

◆ decode_sign_magnitude()

int plcopen::core::adapters::decode_sign_magnitude ( std::uint16_t value,
std::uint16_t sign_mask )
inline

在文件 feetech.h 第 159 行定义.

◆ encode_instruction()

rt::ErrorCode plcopen::core::adapters::encode_instruction ( std::uint8_t id,
FeetechInstruction instruction,
const std::uint8_t * parameters,
std::size_t parameter_count,
FeetechPacket & packet )
inline

在文件 feetech.h 第 48 行定义.

◆ encode_sign_magnitude()

std::uint16_t plcopen::core::adapters::encode_sign_magnitude ( int value,
std::uint16_t sign_mask )
inline

在文件 feetech.h 第 151 行定义.

◆ encode_status()

rt::ErrorCode plcopen::core::adapters::encode_status ( std::uint8_t id,
std::uint8_t error,
const std::uint8_t * parameters,
std::size_t parameter_count,
FeetechPacket & packet )
inline

在文件 feetech.h 第 73 行定义.

◆ feetech_checksum()

std::uint8_t plcopen::core::adapters::feetech_checksum ( const std::uint8_t * bytes,
std::size_t begin,
std::size_t end )
inline

在文件 feetech.h 第 40 行定义.

◆ make_setpoints()

ServoSetpoints plcopen::core::adapters::make_setpoints ( const axis::AxisSnapshot & snapshot)
inline

在文件 servo.h 第 66 行定义.