camera_trigger: lower the polling rate from 200Hz to 20Hz to reduce the CPU load

This commit is contained in:
Dusan Zivkovic 2020-03-23 14:25:19 +01:00 committed by Daniel Agar
parent 2b54e19adf
commit 3d44077f2c

View File

@ -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;