plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::adapters::FeetechBus类 参考

#include <feetech.h>

Public 成员函数

rt::ErrorCode configure (const FeetechConfig &config)
rt::ErrorCode bind (const std::uint8_t *ids, std::size_t count)
rt::ErrorCode build_cycle (const ServoSetpoints *setpoints, std::size_t count, FeetechPacket &sync_write, FeetechPacket &sync_read)
rt::ErrorCode build_cycle (FeetechPacket &sync_write, FeetechPacket &sync_read)
rt::ErrorCode build_initialize (std::size_t index, FeetechPacket &packet) const
void latch (std::size_t index, const ServoSetpoints &setpoints)
void begin_feedback_cycle ()
void consume (const FeetechPacket &packet)
void push (std::uint8_t byte)
std::size_t count () const
void end_feedback_cycle ()
void read_feedback (std::size_t index, ServoFeedback &feedback) const
bool stale (std::size_t index) const
std::uint8_t raw_status (std::size_t index) const

静态 Public 成员函数

static constexpr std::size_t cycle_wire_bytes (std::size_t count)
static constexpr double utilization_percent (std::size_t count, std::size_t frequency_hz)

静态 Public 属性

static constexpr std::size_t StorageCapacity = 32
static constexpr std::size_t ProtocolCycleCapacity = 31

详细描述

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

成员函数说明

◆ begin_feedback_cycle()

void plcopen::core::adapters::FeetechBus::begin_feedback_cycle ( )
inline

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

◆ bind()

rt::ErrorCode plcopen::core::adapters::FeetechBus::bind ( const std::uint8_t * ids,
std::size_t count )
inline

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

◆ build_cycle() [1/2]

rt::ErrorCode plcopen::core::adapters::FeetechBus::build_cycle ( const ServoSetpoints * setpoints,
std::size_t count,
FeetechPacket & sync_write,
FeetechPacket & sync_read )
inline

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

◆ build_cycle() [2/2]

rt::ErrorCode plcopen::core::adapters::FeetechBus::build_cycle ( FeetechPacket & sync_write,
FeetechPacket & sync_read )
inline

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

◆ build_initialize()

rt::ErrorCode plcopen::core::adapters::FeetechBus::build_initialize ( std::size_t index,
FeetechPacket & packet ) const
inline

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

◆ configure()

rt::ErrorCode plcopen::core::adapters::FeetechBus::configure ( const FeetechConfig & config)
inline

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

◆ consume()

void plcopen::core::adapters::FeetechBus::consume ( const FeetechPacket & packet)
inline

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

◆ count()

std::size_t plcopen::core::adapters::FeetechBus::count ( ) const
inline

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

◆ cycle_wire_bytes()

constexpr std::size_t plcopen::core::adapters::FeetechBus::cycle_wire_bytes ( std::size_t count)
inlinestaticconstexpr

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

◆ end_feedback_cycle()

void plcopen::core::adapters::FeetechBus::end_feedback_cycle ( )
inline

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

◆ latch()

void plcopen::core::adapters::FeetechBus::latch ( std::size_t index,
const ServoSetpoints & setpoints )
inline

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

◆ push()

void plcopen::core::adapters::FeetechBus::push ( std::uint8_t byte)
inline

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

◆ raw_status()

std::uint8_t plcopen::core::adapters::FeetechBus::raw_status ( std::size_t index) const
inline

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

◆ read_feedback()

void plcopen::core::adapters::FeetechBus::read_feedback ( std::size_t index,
ServoFeedback & feedback ) const
inline

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

◆ stale()

bool plcopen::core::adapters::FeetechBus::stale ( std::size_t index) const
inline

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

◆ utilization_percent()

constexpr double plcopen::core::adapters::FeetechBus::utilization_percent ( std::size_t count,
std::size_t frequency_hz )
inlinestaticconstexpr

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

类成员变量说明

◆ ProtocolCycleCapacity

std::size_t plcopen::core::adapters::FeetechBus::ProtocolCycleCapacity = 31
staticconstexpr

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

◆ StorageCapacity

std::size_t plcopen::core::adapters::FeetechBus::StorageCapacity = 32
staticconstexpr

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


该类的文档由以下文件生成: