From cb3ad3940600697a737f93b71950f105886ef55e Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 17 Nov 2020 08:17:23 +0100 Subject: [PATCH] vmount: add comment about possible NAN values --- src/modules/vmount/output.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/vmount/output.h b/src/modules/vmount/output.h index 14011707ee..e62e427095 100644 --- a/src/modules/vmount/output.h +++ b/src/modules/vmount/output.h @@ -114,8 +114,8 @@ protected: void _handle_position_update(bool force_update = false); const ControlData *_cur_control_data = nullptr; - float _angle_setpoints[3] = { 0.f, 0.f, 0.f }; ///< [rad] - float _angle_speeds[3] = { 0.f, 0.f, 0.f }; + float _angle_setpoints[3] = { 0.f, 0.f, 0.f }; ///< [rad], can be NAN if not specifically set + float _angle_speeds[3] = { 0.f, 0.f, 0.f }; ///< [rad/s], can be NAN if not specifically set bool _stabilize[3] = { false, false, false }; // Pitch and role are by default aligned with the horizon.