mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 13:41:37 +08:00
IO driver: Run attitude control group limited until the device speed gets set
This commit is contained in:
@@ -951,7 +951,7 @@ PX4IO::task_main()
|
|||||||
* primary PWM output or not.
|
* primary PWM output or not.
|
||||||
*/
|
*/
|
||||||
_t_actuator_controls_0 = orb_subscribe(ORB_ID(actuator_controls_0));
|
_t_actuator_controls_0 = orb_subscribe(ORB_ID(actuator_controls_0));
|
||||||
// orb_set_interval(_t_actuator_controls_0, 20); /* default to 50Hz */
|
orb_set_interval(_t_actuator_controls_0, 20); /* default to 50Hz */
|
||||||
_t_actuator_controls_1 = orb_subscribe(ORB_ID(actuator_controls_1));
|
_t_actuator_controls_1 = orb_subscribe(ORB_ID(actuator_controls_1));
|
||||||
orb_set_interval(_t_actuator_controls_1, 33); /* default to 30Hz */
|
orb_set_interval(_t_actuator_controls_1, 33); /* default to 30Hz */
|
||||||
_t_actuator_controls_2 = orb_subscribe(ORB_ID(actuator_controls_2));
|
_t_actuator_controls_2 = orb_subscribe(ORB_ID(actuator_controls_2));
|
||||||
|
|||||||
Reference in New Issue
Block a user