Новые методы для мОторов

This commit is contained in:
Andrey Pokidov 2026-01-28 20:25:05 +07:00
parent b85a554cb8
commit f7e0b1cff5
2 changed files with 49 additions and 0 deletions

View file

@ -3,6 +3,15 @@
extern inline void bt_motor_reset_fp32(BtMotorFP32* motor);
extern inline void bt_motor_reset_fp64(BtMotorFP64* motor);
extern inline void bt_motor_copy_fp32(const BtMotorFP32* source, BtMotorFP32* destination);
extern inline void bt_motor_copy_fp64(const BtMotorFP64* source, BtMotorFP64* destination);
extern inline void bt_motor_convert_fp64_to_fp32(const BtMotorFP64* source, BtMotorFP32* destination);
extern inline void bt_motor_convert_fp32_to_fp64(const BtMotorFP32* source, BtMotorFP64* destination);
extern inline int bt_motor_is_zero_fp32(const BtMotorFP32* motor);
extern inline int bt_motor_is_zero_fp64(const BtMotorFP64* motor);
extern inline int bt_motor_is_vector_fp32(const BtMotorFP32* motor);
extern inline int bt_motor_is_vector_fp64(const BtMotorFP64* motor);