trajectory::MotorTrajectory
上游未提供类型说明。
构造与析构
3MotorTrajectory
trajectory::MotorTrajectory< MotorNum >::MotorTrajectory (controllers::MotorVelController *motor_controller, const ProfileConfig &profile_cfg, const PD::Config &error_pd_cfg, const float finish_threshold=2.0)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:66MotorTrajectory
trajectory::MotorTrajectory< MotorNum >::MotorTrajectory (controllers::MotorVelController *motor_controllers[MotorNum], const ProfileConfig &profile_cfg, const PD::Config &error_pd_cfg, const float finish_threshold=2.0)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:36MotorTrajectory
trajectory::MotorTrajectory< MotorNum >::MotorTrajectory (controllers::MotorVelController(&motors)[MotorNum], ProfileConfig profile_cfg, const PD::Config &error_pd_cfg, const float finish_threshold=2.0)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:51成员函数
23controllerUpdate
void trajectory::MotorTrajectory< MotorNum >::controllerUpdate ()
更新速度环
MotorTrajectory/motor_trajectory.hpp:107disable
void trajectory::MotorTrajectory< MotorNum >::disable ()
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:282enable
bool trajectory::MotorTrajectory< MotorNum >::enable ()
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:263enabled
bool trajectory::MotorTrajectory< MotorNum >::enabled () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:293errorUpdate
void trajectory::MotorTrajectory< MotorNum >::errorUpdate ()
更新误差补偿
MotorTrajectory/motor_trajectory.hpp:95getCurrentAvePosition
float trajectory::MotorTrajectory< MotorNum >::getCurrentAvePosition () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:228getCurrentAveVelocity
float trajectory::MotorTrajectory< MotorNum >::getCurrentAveVelocity () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:236getCurrentPosition
float trajectory::MotorTrajectory< MotorNum >::getCurrentPosition () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:245getCurrentVelocity
float trajectory::MotorTrajectory< MotorNum >::getCurrentVelocity () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:251getTotalTime
float trajectory::MotorTrajectory< MotorNum >::getTotalTime () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:256isFinished
bool trajectory::MotorTrajectory< MotorNum >::isFinished () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:295lastFailureInfo
const velocity_profile::SCurveProfile::FailureInfo & trajectory::MotorTrajectory< MotorNum >::lastFailureInfo () const
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:258profileUpdate
void trajectory::MotorTrajectory< MotorNum >::profileUpdate (const float dt)
更新速度规划曲线 dt 间隔时间 (unit: s)
MotorTrajectory/motor_trajectory.hpp:79setDefaultProfileConfig
void trajectory::MotorTrajectory< MotorNum >::setDefaultProfileConfig (const ProfileConfig &cfg)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:301setRelativeTarget
bool trajectory::MotorTrajectory< MotorNum >::setRelativeTarget (const float target)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:215setRelativeTarget
bool trajectory::MotorTrajectory< MotorNum >::setRelativeTarget (const float target, const LinkMode link_mode)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:219setRelativeTarget
bool trajectory::MotorTrajectory< MotorNum >::setRelativeTarget (const float target, const LinkMode link_mode, const ProfileConfig &config)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:193setRelativeTarget
bool trajectory::MotorTrajectory< MotorNum >::setRelativeTarget (const float target, const ProfileConfig &config)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:223setTarget
bool trajectory::MotorTrajectory< MotorNum >::setTarget (const float target)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:180setTarget
bool trajectory::MotorTrajectory< MotorNum >::setTarget (const float target, const LinkMode link_mode)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:184setTarget
bool trajectory::MotorTrajectory< MotorNum >::setTarget (const float target, const LinkMode link_mode, const ProfileConfig &config)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:123setTarget
bool trajectory::MotorTrajectory< MotorNum >::setTarget (const float target, const ProfileConfig &config)
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:188stop
void trajectory::MotorTrajectory< MotorNum >::stop ()
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:115成员变量
12ctrl_
controllers::MotorVelController* trajectory::MotorTrajectory< MotorNum >::ctrl_[MotorNum] [MotorNum]
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:304default_profile_cfg_
ProfileConfig trajectory::MotorTrajectory< MotorNum >::default_profile_cfg_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:314enabled_
bool trajectory::MotorTrajectory< MotorNum >::enabled_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:307finish_threshold_
float trajectory::MotorTrajectory< MotorNum >::finish_threshold_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:310last_failure_info_
velocity_profile::SCurveProfile::FailureInfo trajectory::MotorTrajectory< MotorNum >::last_failure_info_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:317now_
float trajectory::MotorTrajectory< MotorNum >::now_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:323p_ref_curr_
float trajectory::MotorTrajectory< MotorNum >::p_ref_curr_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:319pd_
PD trajectory::MotorTrajectory< MotorNum >::pd_[MotorNum] [MotorNum]
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:312profile_
velocity_profile::SCurveProfile trajectory::MotorTrajectory< MotorNum >::profile_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:315stopped_
bool trajectory::MotorTrajectory< MotorNum >::stopped_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:308v_ref_curr_
float trajectory::MotorTrajectory< MotorNum >::v_ref_curr_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:320v_ref_curr_rpm_
float trajectory::MotorTrajectory< MotorNum >::v_ref_curr_rpm_
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:321嵌套类型
1ProfileConfig
using trajectory::MotorTrajectory< MotorNum >::ProfileConfig = velocity_profile::SCurveProfile::Config
上游未提供说明。
MotorTrajectory/motor_trajectory.hpp:34