comparison Discovery/Inc/motion.h @ 642:c737cf5d9067

Do not show focus indicator in case motion detection is suspended: Motion detection will be suspended in case the diver is operating the OSTC using the buttons. In previous versions the focus indicator was shown even the motion detection was not active => may cause confusion. The indicator is now only shown in case the detection is active Added hystresis for switching between sector views: In previous versions small jitter at the angle signal could cause fast switching of the custom view. An offset has now been added to avoid this scenario
author Ideenmodellierer
date Wed, 24 Mar 2021 21:28:41 +0100
parents 028d8f3a9410
children
comparison
equal deleted inserted replaced
641:ed5422ac4ffb 642:c737cf5d9067
90 90
91 void anglesToCoord(float roll, float pitch, float yaw, SCoord *pCoord); 91 void anglesToCoord(float roll, float pitch, float yaw, SCoord *pCoord);
92 void calibrateViewport(float roll, float pitch, float yaw); 92 void calibrateViewport(float roll, float pitch, float yaw);
93 float checkViewport(float roll, float pitch, float yaw, uint8_t enableAxis); 93 float checkViewport(float roll, float pitch, float yaw, uint8_t enableAxis);
94 uint8_t viewInFocus(void); 94 uint8_t viewInFocus(void);
95 uint8_t viewDetectionSuspended(void);
95 void resetFocusState(void); 96 void resetFocusState(void);
96 97
97 #endif /* INC_MOTION_H_ */ 98 #endif /* INC_MOTION_H_ */