跳转到内容

Chassis::Omni4 API

文档稀疏
符号
33
已记录
16
类型
2
继承关系
1
源码分支
main

17 / 33 个公开 API 符号没有说明。

继承关系总览

继承图尚未加载。

全部继承关系

共 2 个类型

类型目录
类

chassis::motion::Omni4

查看源码

四轮全向轮底盘。 对外语义与其他 Motion 实现保持一致:上层只需要给底盘速度,不需要直接理解单轮运动学。

继承关系

基类
  • IChassisMotion公开

构造与析构

1

成员函数

7

applyVelocity

函数受保护
        void chassis::motion::Omni4::applyVelocity (const Velocity &velocity) override
      

把底盘速度换算为四个轮子的目标转速。

Chassis/Omni4/Omni4.hpp:65

enabled

函数公开const
        bool chassis::motion::Omni4::enabled () const override
      

上游未提供说明。

Chassis/Omni4/Omni4.hpp:52

forwardGetVelocity

函数公开
        Velocity chassis::motion::Omni4::forwardGetVelocity () override
      

由四个全向轮的反馈速度反解底盘车体系速度。

Chassis/Omni4/Omni4.hpp:55

isReady

函数公开const
        bool chassis::motion::Omni4::isReady () const override
      

当前实现没有额外校准流程,使能后即可认为 ready。

Chassis/Omni4/Omni4.hpp:61

成员变量

4

half_diag_

变量私有
        float chassis::motion::Omni4::half_diag_
      

轮心到底盘中心的等效半对角线长度 (unit: m)

Chassis/Omni4/Omni4.hpp:70

wheel_

变量私有
        controllers::MotorVelController* chassis::motion::Omni4::wheel_[static_cast< size_t >(WheelType::Max)] [static_cast< size_t >(WheelType::Max)]
      

上游未提供说明。

Chassis/Omni4/Omni4.hpp:72

嵌套类型

2

WheelType

枚举公开

上游未提供说明。

FrontLeft
左前轮
FrontRight = 0U
右前轮
Max
上游未提供说明。
RearLeft
左后轮
RearRight
右后轮
Chassis/Omni4/Omni4.hpp:26
结构体

chassis::motion::Omni4::Config

查看源码

上游未提供类型说明。

成员变量

7

wheel_distance_x

变量公开
        float chassis::motion::Omni4::Config::wheel_distance_x
      

前后轮距 (unit: mm), x 轴指向车体前方

Chassis/Omni4/Omni4.hpp:38

wheel_distance_y

变量公开
        float chassis::motion::Omni4::Config::wheel_distance_y
      

左右轮距 (unit: mm), y 轴指向车体左侧

Chassis/Omni4/Omni4.hpp:39

wheel_front_left

变量公开
        controllers::MotorVelController* chassis::motion::Omni4::Config::wheel_front_left
      

左前方

Chassis/Omni4/Omni4.hpp:42

wheel_front_right

变量公开
        controllers::MotorVelController* chassis::motion::Omni4::Config::wheel_front_right
      

右前方

Chassis/Omni4/Omni4.hpp:41

wheel_rear_left

变量公开
        controllers::MotorVelController* chassis::motion::Omni4::Config::wheel_rear_left
      

左后方

Chassis/Omni4/Omni4.hpp:43

wheel_rear_right

变量公开
        controllers::MotorVelController* chassis::motion::Omni4::Config::wheel_rear_right
      

右后方

Chassis/Omni4/Omni4.hpp:44

其他公开符号

函数

1

chassis::motion::anonymous_namespace{Omni4.cpp}::idx

函数
        size_t chassis::motion::anonymous_namespace{Omni4.cpp}::idx (const Omni4::WheelType w)
      

上游未提供说明。

Chassis/Omni4/Omni4.cpp:23

变量

1

chassis::motion::anonymous_namespace{Omni4.cpp}::kInvSqrt2

变量
        float chassis::motion::anonymous_namespace{Omni4.cpp}::kInvSqrt2
      

上游未提供说明。

Chassis/Omni4/Omni4.cpp:21

宏定义

4

文件

2

Chassis/Omni4/Omni4.cpp

文件

四轮全向轮底盘运动学实现。 ported by GitHub Copilot 2026-03-08

Chassis/Omni4/Omni4.cpp

Chassis/Omni4/Omni4.hpp

文件

四轮全向轮底盘运动学实现。 ported by GitHub Copilot 2026-03-08

Chassis/Omni4/Omni4.hpp