ronelib
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs
bumpBehaviors.h
Go to the documentation of this file.
1 
10 #ifndef BUMPBEHAVIORS_H_
11 #define BUMPBEHAVIORS_H_
12 
13 
14 
15 #define BUMPMOVE_REFLECT_DISTANCE 110
16 #define BUMPMOVE_REFLECT_DIST_SHORT 20
17 
18 // obstacle avoidance behaviors
19 
28 Beh* behIRObstacleAvoid(Beh* behPtr, int32 tv, boolean invalidate);
29 
30 
37 Beh* behBumpMoveOutOfWay(Beh* behPtr);
38 
39 
49 Beh* behIRObstacleAvoid_ExcludeRobots(Beh* behPtr, int32 tv, NbrList* nbrListPtr, boolean invalidate);
50 
51 
63 Beh* behBumpAvoid(Beh* behPtr, int32 tv, int32 forwardDist);
64 
65 
74 Beh* behBumpReflect(Beh* behPtr, int32 tv , int32 reflectDist);
75 
76 
86 void behBumpReflectDemo(Beh* behPtr, int32 rotate_rv);
87 
88 
95 Beh* behBumpBackoff(Beh* behPtr, int32 tv);
96 
97 
110 Beh* behBumpNavigate(Beh* behPtr, uint8 headingRobot);
111 
112 #endif /* BUMPBEHAVIORS_H_ */