comparison Discovery/Inc/motion.h @ 597:132e7e3d13a7

MotionControl-Sector: Map sectors during switch T7 <=> T3: The number and available custom views may differ between the setup for T3 and T7 view. That's why the sectors have to be remapped during every T3 <=> T7 switch
author Ideenmodellierer
date Mon, 04 Jan 2021 21:38:28 +0100
parents e3237f580ae9
children 916998f90e39
comparison
equal deleted inserted replaced
596:16e369eae6e5 597:132e7e3d13a7
74 74
75 void InitMotionDetection(void); 75 void InitMotionDetection(void);
76 void resetMotionDeltaHistory(); 76 void resetMotionDeltaHistory();
77 void evaluateMotionDelta(float roll, float pitch, float yaw); 77 void evaluateMotionDelta(float roll, float pitch, float yaw);
78 void DefinePitchSectors(float centerAngle, uint8_t numOfSectors); 78 void DefinePitchSectors(float centerAngle, uint8_t numOfSectors);
79 void MapCVToSector(void);
79 detectionState_t detectPitch(float currentPitch); 80 detectionState_t detectPitch(float currentPitch);
80 detectionState_t detectSectorButtonEvent(float curPitch); 81 detectionState_t detectSectorButtonEvent(float curPitch);
81 detectionState_t detectScrollButtonEvent(float curPitch); 82 detectionState_t detectScrollButtonEvent(float curPitch);
82 83
83 void anglesToCoord(float roll, float pitch, float yaw, SCoord *pCoord); 84 void anglesToCoord(float roll, float pitch, float yaw, SCoord *pCoord);