Zhefan-Xu / CERLAB-UAV-Autonomy

[CMU] A Versatile and Modular Framework Designed for Autonomous Unmanned Aerial Vehicles [UAVs] (C++/ROS/PX4)
MIT License
252 stars 37 forks source link

How to modify maximum speed and acceleration #10

Closed cheslee-z closed 5 months ago

cheslee-z commented 5 months ago

Hi,

For real flight, I set desired_velocityto 5, desired_acceleration to 1.5, But the actual velocity is probably less than 1m/s.

I feel it makes sense to modify this parameter in the simulation. Can you give me some advice?

Thank you.

Zhefan-Xu commented 5 months ago

Hi @cheslee-z , so for velocity I would recommend trying the following combination: v = 0.5-1.0 m/s, a = 1-2m/s^2 v = 1.0-2.0 m/s, a = 2-4m/s^2 v = 2.0-3 m/s, a = 4-6m/s^2 If you set a high velocity, you will have to also increase the acceleration limit. Also, I highly don't recommend to set a velocity beyond 3m/s and usually 1-2m/s will be fine for tasks indoor.

cheslee-z commented 5 months ago

Hi @Zhefan-Xu, thank You for your helpful suggestions!