跳转到内容

VelocityProfile::SCurve API

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

176 / 178 个公开 API 符号没有说明。

继承关系总览

继承图尚未加载。

全部继承关系

共 13 个类型

类型目录
类

velocity_profile::SCurveProfile

查看源码

上游未提供类型说明。

继承关系

基类
  • IVelocityProfile公开

构造与析构

1

SCurveProfile

函数公开
        velocity_profile::SCurveProfile::SCurveProfile (const Config &cfg, float xs, float vs, float as, float xe, float ve=0, float ae=0)
      

上游未提供说明。

SCurve/src/s_curve.hpp:64

成员函数

32

BuildStopPrefix

函数私有静态
        SCurveProfile::PrefixPlan velocity_profile::SCurveProfile::BuildStopPrefix (const BoundaryState &start, float am, float jm)
      

上游未提供说明。

SCurve/src/s_curve.hpp:201

BuildVelocityClampPrefix

函数私有静态
        SCurveProfile::PrefixPlan velocity_profile::SCurveProfile::BuildVelocityClampPrefix (const BoundaryState &start, float target_v, float am, float jm)
      

上游未提供说明。

SCurve/src/s_curve.hpp:206

CalcA

函数公开const
        float velocity_profile::SCurveProfile::CalcA (float t) const override
      

上游未提供说明。

SCurve/src/s_curve.hpp:69

CalcV

函数公开const
        float velocity_profile::SCurveProfile::CalcV (float t) const override
      

上游未提供说明。

SCurve/src/s_curve.hpp:68

CalcX

函数公开const
        float velocity_profile::SCurveProfile::CalcX (float t) const override
      

上游未提供说明。

SCurve/src/s_curve.hpp:67

EvaluateConstantJerk

函数私有静态
        SCurveProfile::BoundaryState velocity_profile::SCurveProfile::EvaluateConstantJerk (const BoundaryState &state, float jerk, float dt)
      

上游未提供说明。

SCurve/src/s_curve.hpp:199

GetVelocityClampTarget

函数私有静态
        bool velocity_profile::SCurveProfile::GetVelocityClampTarget (const BoundaryState &start, float vm, float jm, float *target_v)
      

上游未提供说明。

SCurve/src/s_curve.hpp:208

IsFinite

函数私有静态
        bool velocity_profile::SCurveProfile::IsFinite (float value)
      

上游未提供说明。

SCurve/src/s_curve.hpp:196

MergePrefixWithLeadingJerk

函数私有静态
        SCurveProfile::PrefixPlan velocity_profile::SCurveProfile::MergePrefixWithLeadingJerk (const BoundaryState &start, float jerk, float lead_time, const PrefixPlan &tail)
      

上游未提供说明。

SCurve/src/s_curve.hpp:204

PrecheckCore

函数私有静态
        bool velocity_profile::SCurveProfile::PrecheckCore (const BoundaryState &start, const BoundaryState &end, float vm, float jm)
      

上游未提供说明。

SCurve/src/s_curve.hpp:210

PrepareSide

函数私有静态
        SCurveProfile::SidePrepare velocity_profile::SCurveProfile::PrepareSide (float v0, float a0, float vm, float jm)
      

上游未提供说明。

SCurve/src/s_curve.hpp:217

SampleCoreA

函数私有const
        float velocity_profile::SCurveProfile::SampleCoreA (const MotionCore &core, float t) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:237

SampleCoreV

函数私有const
        float velocity_profile::SCurveProfile::SampleCoreV (const MotionCore &core, float t) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:236

SampleCoreX

函数私有const
        float velocity_profile::SCurveProfile::SampleCoreX (const MotionCore &core, float t) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:235

SamplePrefixA

函数私有静态
        float velocity_profile::SCurveProfile::SamplePrefixA (const PrefixPlan &plan, float t)
      

上游未提供说明。

SCurve/src/s_curve.hpp:215

SamplePrefixV

函数私有静态
        float velocity_profile::SCurveProfile::SamplePrefixV (const PrefixPlan &plan, float t)
      

上游未提供说明。

SCurve/src/s_curve.hpp:214

SamplePrefixX

函数私有静态
        float velocity_profile::SCurveProfile::SamplePrefixX (const PrefixPlan &plan, float t)
      

上游未提供说明。

SCurve/src/s_curve.hpp:213

SampleSuffixA

函数私有const
        float velocity_profile::SCurveProfile::SampleSuffixA (const SuffixPlan &suffix, float elapsed) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:233

SampleSuffixV

函数私有const
        float velocity_profile::SCurveProfile::SampleSuffixV (const SuffixPlan &suffix, float elapsed) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:232

SampleSuffixX

函数私有const
        float velocity_profile::SCurveProfile::SampleSuffixX (const SuffixPlan &suffix, float elapsed) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:231

ShiftPrefixWithVelocityBias

函数私有静态
        SCurveProfile::PrefixPlan velocity_profile::SCurveProfile::ShiftPrefixWithVelocityBias (const PrefixPlan &plan, float x_origin, float velocity_bias)
      

上游未提供说明。

SCurve/src/s_curve.hpp:202

Sign

函数私有静态
        float velocity_profile::SCurveProfile::Sign (float value)
      

上游未提供说明。

SCurve/src/s_curve.hpp:197

SolveCore

函数私有const
        SCurveProfile::SolveStatus velocity_profile::SCurveProfile::SolveCore (const Config &cfg, const BoundaryState &start, const BoundaryState &end, MotionCore *core) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:219

TrimPrefix

函数私有静态
        SCurveProfile::PrefixPlan velocity_profile::SCurveProfile::TrimPrefix (const PrefixPlan &plan, float cut_time)
      

上游未提供说明。

SCurve/src/s_curve.hpp:212

TryPrefixHandoff

函数私有const
        bool velocity_profile::SCurveProfile::TryPrefixHandoff (const Config &cfg, const PrefixPlan &prefix_seed, const BoundaryState &end, PrefixPlan *prefix, MotionCore *core) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:224

TryVelocityClampRecovery

函数私有const
        bool velocity_profile::SCurveProfile::TryVelocityClampRecovery (const Config &cfg, const BoundaryState &start, const BoundaryState &end, PrefixPlan *prefix, MotionCore *core) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:221

failureInfo

函数公开const
        const FailureInfo & velocity_profile::SCurveProfile::failureInfo () const
      

上游未提供说明。

SCurve/src/s_curve.hpp:72

getReverseAcceleration

函数私有const
        float velocity_profile::SCurveProfile::getReverseAcceleration (const MotionCore &core, float tau) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:230

getReverseDistance

函数私有const
        float velocity_profile::SCurveProfile::getReverseDistance (const MotionCore &core, float tau) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:228

getReverseVelocity

函数私有const
        float velocity_profile::SCurveProfile::getReverseVelocity (const MotionCore &core, float tau) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:229

getTotalTime

函数公开const
        float velocity_profile::SCurveProfile::getTotalTime () const override
      

上游未提供说明。

SCurve/src/s_curve.hpp:70

success

函数公开const
        bool velocity_profile::SCurveProfile::success () const override
      

上游未提供说明。

SCurve/src/s_curve.hpp:71

成员变量

6

failure_info_

变量私有
        FailureInfo velocity_profile::SCurveProfile::failure_info_
      

上游未提供说明。

SCurve/src/s_curve.hpp:240

嵌套类型

10

FailureCode

枚举公开

上游未提供说明。

InternalError = 8
上游未提供说明。
InvalidEndState = 3
上游未提供说明。
InvalidLimit = 2
上游未提供说明。
NonFiniteInput = 1
上游未提供说明。
None = 0
上游未提供说明。
PrefixHandoffFailed = 7
上游未提供说明。
SolveCoreFailed = 4
上游未提供说明。
StopPrefixFailed = 6
上游未提供说明。
VelocityClampRecoveryFailed = 5
上游未提供说明。
SCurve/src/s_curve.hpp:39

SolveStatus

枚举私有

上游未提供说明。

kInternalError
上游未提供说明。
kNeedsPrefixFallback
上游未提供说明。
kSuccess
上游未提供说明。
SCurve/src/s_curve.hpp:104
结构体

velocity_profile::SCurveProfile::BoundaryState

查看源码

上游未提供类型说明。

成员变量

3
结构体

velocity_profile::SCurveProfile::Config

查看源码

上游未提供类型说明。

成员函数

2

operator*

函数公开const
        Config velocity_profile::SCurveProfile::Config::operator* (const float ratio) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:29

operator/

函数公开const
        Config velocity_profile::SCurveProfile::Config::operator/ (const float factor) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:33

成员变量

3

max_jerk

变量公开
        float velocity_profile::SCurveProfile::Config::max_jerk
      

上游未提供说明。

SCurve/src/s_curve.hpp:27
结构体

velocity_profile::SCurveProfile::FailureInfo

查看源码

上游未提供类型说明。

成员变量

8

code

变量公开
        FailureCode velocity_profile::SCurveProfile::FailureInfo::code
      

上游未提供说明。

SCurve/src/s_curve.hpp:61
结构体

velocity_profile::SCurveProfile::MotionCore

查看源码

上游未提供类型说明。

成员变量

25

direction

变量公开
        float velocity_profile::SCurveProfile::MotionCore::direction
      

上游未提供说明。

SCurve/src/s_curve.hpp:160

has_const

变量公开
        bool velocity_profile::SCurveProfile::MotionCore::has_const
      

上游未提供说明。

SCurve/src/s_curve.hpp:159

process1

变量公开
        SCurveAccel velocity_profile::SCurveProfile::MotionCore::process1
      

上游未提供说明。

SCurve/src/s_curve.hpp:185

process3

变量公开
        SCurveAccel velocity_profile::SCurveProfile::MotionCore::process3
      

上游未提供说明。

SCurve/src/s_curve.hpp:186

total_time

变量公开
        float velocity_profile::SCurveProfile::MotionCore::total_time
      

上游未提供说明。

SCurve/src/s_curve.hpp:183
结构体

velocity_profile::SCurveProfile::PrefixPlan

查看源码

上游未提供类型说明。

成员变量

19

j_settle

变量公开
        float velocity_profile::SCurveProfile::PrefixPlan::j_settle
      

上游未提供说明。

SCurve/src/s_curve.hpp:134

t_settle

变量公开
        float velocity_profile::SCurveProfile::PrefixPlan::t_settle
      

上游未提供说明。

SCurve/src/s_curve.hpp:138

total_time

变量公开
        float velocity_profile::SCurveProfile::PrefixPlan::total_time
      

上游未提供说明。

SCurve/src/s_curve.hpp:148
类

velocity_profile::SCurveProfile::SCurveAccel

查看源码

上游未提供类型说明。

构造与析构

1

SCurveAccel

函数公开
        velocity_profile::SCurveProfile::SCurveAccel::SCurveAccel ()
      

上游未提供说明。

SCurve/src/s_curve.hpp:78

成员函数

6

getAcceleration

函数公开const
        float velocity_profile::SCurveProfile::SCurveAccel::getAcceleration (float t) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:83

getDistance

函数公开const
        float velocity_profile::SCurveProfile::SCurveAccel::getDistance (float t) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:81

getTotalDistance

函数公开const
        float velocity_profile::SCurveProfile::SCurveAccel::getTotalDistance () const
      

上游未提供说明。

SCurve/src/s_curve.hpp:84

getTotalTime

函数公开const
        float velocity_profile::SCurveProfile::SCurveAccel::getTotalTime () const
      

上游未提供说明。

SCurve/src/s_curve.hpp:85

getVelocity

函数公开const
        float velocity_profile::SCurveProfile::SCurveAccel::getVelocity (float t) const
      

上游未提供说明。

SCurve/src/s_curve.hpp:82

init

函数公开
        void velocity_profile::SCurveProfile::SCurveAccel::init (float vs, float vp, float am, float jm)
      

上游未提供说明。

SCurve/src/s_curve.hpp:79

成员变量

11

has_uniform_

变量私有
        bool velocity_profile::SCurveProfile::SCurveAccel::has_uniform_
      

上游未提供说明。

SCurve/src/s_curve.hpp:88

total_distance_

变量私有
        float velocity_profile::SCurveProfile::SCurveAccel::total_distance_
      

上游未提供说明。

SCurve/src/s_curve.hpp:93

total_time_

变量私有
        float velocity_profile::SCurveProfile::SCurveAccel::total_time_
      

上游未提供说明。

SCurve/src/s_curve.hpp:92
结构体

velocity_profile::SCurveProfile::SidePrepare

查看源码

上游未提供类型说明。

成员变量

6

t_shift

变量公开
        float velocity_profile::SCurveProfile::SidePrepare::t_shift
      

上游未提供说明。

SCurve/src/s_curve.hpp:123
结构体

velocity_profile::SCurveProfile::SuffixPlan

查看源码

上游未提供类型说明。

成员变量

3

reverse_plan

变量公开
        PrefixPlan velocity_profile::SCurveProfile::SuffixPlan::reverse_plan
      

上游未提供说明。

SCurve/src/s_curve.hpp:191
结构体

velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalConfig

查看源码

上游未提供类型说明。

成员变量

5

am

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalConfig::am
      

上游未提供说明。

SCurve/src/s_curve.cpp:25

am_square

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalConfig::am_square
      

上游未提供说明。

SCurve/src/s_curve.cpp:27

inv_double_am

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalConfig::inv_double_am
      

上游未提供说明。

SCurve/src/s_curve.cpp:29

jerk_ramp_time

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalConfig::jerk_ramp_time
      

上游未提供说明。

SCurve/src/s_curve.cpp:28

jm

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalConfig::jm
      

上游未提供说明。

SCurve/src/s_curve.cpp:26
结构体

velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile

查看源码

上游未提供类型说明。

成员变量

9

has_uniform

变量公开
        bool velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::has_uniform
      

上游未提供说明。

SCurve/src/s_curve.cpp:41

t1

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::t1
      

上游未提供说明。

SCurve/src/s_curve.cpp:44

t2

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::t2
      

上游未提供说明。

SCurve/src/s_curve.cpp:45

total_distance

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::total_distance
      

上游未提供说明。

SCurve/src/s_curve.cpp:49

total_time

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::total_time
      

上游未提供说明。

SCurve/src/s_curve.cpp:48

v1

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::v1
      

上游未提供说明。

SCurve/src/s_curve.cpp:47

v_base

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::v_base
      

上游未提供说明。

SCurve/src/s_curve.cpp:42

vp

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::vp
      

上游未提供说明。

SCurve/src/s_curve.cpp:43

x1

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalProfile::x1
      

上游未提供说明。

SCurve/src/s_curve.cpp:46
结构体

velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalResult

查看源码

上游未提供类型说明。

成员变量

3

delta

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalResult::delta
      

上游未提供说明。

SCurve/src/s_curve.cpp:56

dx1

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalResult::dx1
      

上游未提供说明。

SCurve/src/s_curve.cpp:54

dx3

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalResult::dx3
      

上游未提供说明。

SCurve/src/s_curve.cpp:55
结构体

velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalSide

查看源码

上游未提供类型说明。

成员变量

3

t_shift

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalSide::t_shift
      

上游未提供说明。

SCurve/src/s_curve.cpp:36

v_base

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalSide::v_base
      

上游未提供说明。

SCurve/src/s_curve.cpp:34

x_pre

变量公开
        float velocity_profile::anonymous_namespace{s_curve.cpp}::FastEvalSide::x_pre
      

上游未提供说明。

SCurve/src/s_curve.cpp:35

其他公开符号

函数

4

velocity_profile::anonymous_namespace{s_curve.cpp}::BuildFastEvalProfile

函数
        FastEvalProfile velocity_profile::anonymous_namespace{s_curve.cpp}::BuildFastEvalProfile (const FastEvalConfig &cfg, const float v_base, const float vp)
      

上游未提供说明。

SCurve/src/s_curve.cpp:59

velocity_profile::anonymous_namespace{s_curve.cpp}::EvaluateDistanceDelta

函数
        FastEvalResult velocity_profile::anonymous_namespace{s_curve.cpp}::EvaluateDistanceDelta (const FastEvalConfig &cfg, const FastEvalSide &start, const FastEvalSide &end, const float len, const float vp)
      

上游未提供说明。

SCurve/src/s_curve.cpp:136

velocity_profile::anonymous_namespace{s_curve.cpp}::EvaluateFastEvalDistance

函数
        float velocity_profile::anonymous_namespace{s_curve.cpp}::EvaluateFastEvalDistance (const FastEvalConfig &cfg, const FastEvalProfile &profile, const float t)
      

上游未提供说明。

SCurve/src/s_curve.cpp:101

velocity_profile::anonymous_namespace{s_curve.cpp}::EvaluateSideDistance

函数
        float velocity_profile::anonymous_namespace{s_curve.cpp}::EvaluateSideDistance (const FastEvalConfig &cfg, const FastEvalSide &side, const float vp)
      

上游未提供说明。

SCurve/src/s_curve.cpp:125

变量

8

velocity_profile::anonymous_namespace{s_curve.cpp}::kDistanceTolerance

变量
        float velocity_profile::anonymous_namespace{s_curve.cpp}::kDistanceTolerance
      

上游未提供说明。

SCurve/src/s_curve.cpp:18

velocity_profile::anonymous_namespace{s_curve.cpp}::kEpsilon

变量
        float velocity_profile::anonymous_namespace{s_curve.cpp}::kEpsilon
      

上游未提供说明。

SCurve/src/s_curve.cpp:17

velocity_profile::anonymous_namespace{s_curve.cpp}::kHalf

变量
        float velocity_profile::anonymous_namespace{s_curve.cpp}::kHalf
      

上游未提供说明。

SCurve/src/s_curve.cpp:14

velocity_profile::anonymous_namespace{s_curve.cpp}::kOneSixth

变量
        float velocity_profile::anonymous_namespace{s_curve.cpp}::kOneSixth
      

上游未提供说明。

SCurve/src/s_curve.cpp:15

velocity_profile::anonymous_namespace{s_curve.cpp}::kPeakVelocityBisectIterations

变量
        int velocity_profile::anonymous_namespace{s_curve.cpp}::kPeakVelocityBisectIterations
      

上游未提供说明。

SCurve/src/s_curve.cpp:21

velocity_profile::anonymous_namespace{s_curve.cpp}::kRecoveryRefineSteps

变量
        int velocity_profile::anonymous_namespace{s_curve.cpp}::kRecoveryRefineSteps
      

上游未提供说明。

SCurve/src/s_curve.cpp:20

velocity_profile::anonymous_namespace{s_curve.cpp}::kRecoverySearchSteps

变量
        int velocity_profile::anonymous_namespace{s_curve.cpp}::kRecoverySearchSteps
      

上游未提供说明。

SCurve/src/s_curve.cpp:19

velocity_profile::anonymous_namespace{s_curve.cpp}::kZero

变量
        float velocity_profile::anonymous_namespace{s_curve.cpp}::kZero
      

上游未提供说明。

SCurve/src/s_curve.cpp:16

宏定义

1

文件

2