You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

/*
* thicknessDataCollection.h
*
* Created on: Nov 7, 2025
* Author: BingooRobotFJX
*/
#ifndef FSM_INC_THICKNESSDATACOLLECTION_H_
#define FSM_INC_THICKNESSDATACOLLECTION_H_
#include "BHBF_ROBOT.h"
#include "fsm_state.h"
#include "tilt_action.h"
#include "robot_Task.h"
typedef enum _DataCollection_Continuous_STATE
{
DataCollection_Continuous_Pre,
DataCollection_Continuous_StartMessure,
DataCollection_Continuous_StartMove,
DataCollection_Continuous_WaitForDistance,
DataCollection_Continuous_Complete
} DataCollection_Continuous_STATE;
typedef enum _DataCollection_Single_STATE
{
DataCollection_Single_Pre,
DataCollection_Single_Start,
DataCollection_Single_Complete,
DataCollection_Single_Complete2,
} DataCollection_Single_STATE;
extern int thicknessDataCollection_Single_Sensor();
void thicknessDataCollection_Continuous(int IsForwardMode);
void thicknessDataCollection_Continuous_Reset();
void thicknessDataCollection_Single_Reset();
extern int IsThickness_Measureing;
extern int Thickness_DoMeasureing;
extern int Thickness_DoMeasureing_Last;
#endif /* FSM_INC_THICKNESSDATACOLLECTION_H_ */