perf(continuous_move): 将连续运动线程频率从50Hz提升至100Hz以改善运动平滑度
This commit is contained in:
@@ -151,7 +151,7 @@ bool CustomRobot::start() {
|
|||||||
running_ = true;
|
running_ = true;
|
||||||
|
|
||||||
// Start continuous movement thread
|
// Start continuous movement thread
|
||||||
traj_th_ = unitree::common::CreateRecurrentThreadEx("continuous_move", UT_CPU_ID_NONE, 50,
|
traj_th_ = unitree::common::CreateRecurrentThreadEx("continuous_move", UT_CPU_ID_NONE, 100,
|
||||||
&CustomRobot::continuousMoveLoop, this);
|
&CustomRobot::continuousMoveLoop, this);
|
||||||
|
|
||||||
LOG_INFO("CustomRobot started successfully");
|
LOG_INFO("CustomRobot started successfully");
|
||||||
|
|||||||
Reference in New Issue
Block a user