mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
camera_trigger: lower the polling rate from 200Hz to 20Hz to reduce the CPU load
This commit is contained in:
parent
2b54e19adf
commit
3d44077f2c
@ -512,7 +512,7 @@ void
|
||||
CameraTrigger::Run()
|
||||
{
|
||||
// default loop polling interval
|
||||
int poll_interval_usec = 5000;
|
||||
int poll_interval_usec = 50000;
|
||||
|
||||
vehicle_command_s cmd{};
|
||||
unsigned cmd_result = vehicle_command_s::VEHICLE_CMD_RESULT_TEMPORARILY_REJECTED;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user