typedef struct {
// Complete this struct definition
} RobotState;
typedef struct {
// Complete this struct definition
} RobotControl;
RobotState robot(double T, RobotState s, RobotControl ctrl)
{
// Your implementation
}
double distance(RobotState s1, RobotState s2)
{
// Your implementation
}