当前位置:网站首页>Modify the system time of Px4 flight control

Modify the system time of Px4 flight control

2022-07-07 01:46:00 Childe_ plume

1. stay platforms/nuttx/src/px4/stm/stm32_common/hrt/hrt.c Customize a time offset in the file , And added to the system time calculation .

2. stay src/drivers/drv_hrt.h The document states that .

 

 3. Declare again where you need to use .

 4. You can write the algorithm at your favorite position , modify abs_time_offset. This abs_time_offset Can affect the system time .

原网站

版权声明
本文为[Childe_ plume]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061751287193.html