/
Sangak
/
ardupilot
Обзор
Документация
Войти
/
Sangak
/
ardupilot
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
libraries/AP_Scripting/examples/esc_rpm_scale.lua
11 строк
297 B
Andrew Tridgell
AP_Scripting: added set_rpm_scale example
13 сен 2022, 00:48
13 сен 2022, 00:48
5ad860a
Код
Авторство
О чём код?
--[[ set scale factor for RPM on some ESCs to allow for different pole count on some ESCs --]] -- set ESC 4 (index 3) to 2.0 times reported RPM esc_telem:set_rpm_scale(3, 2.0) -- set ESC 6 (index 5) to 2.0 times reported RPM esc_telem:set_rpm_scale(5, 2.0) gcs:send_text(0,"Setup motor poles")