![]()  | 
  
    ronelib
    
   Operating System for the r-one robot 
   | 
 
Basic swarm functionality behaviors. More...
Go to the source code of this file.
Functions | |
| Beh * | behFlock (Beh *behPtr, NbrList *nbrListPtr, int32 tv) | 
| Robots flock together.  More... | |
| int32 | behFlockAngle (NbrList *nbrListPtr) | 
| Computes the flock angle.  More... | |
| Beh * | behOrbit (Beh *behPtr, Nbr *nbrPtr, int32 tv) | 
| Robot orbits the input neighbor.  More... | |
| Beh * | behFollowPredesessor (Beh *behPtr, NbrList *nbrListPtr, int32 tv) | 
| Follow robot whose ID is larger than yours.  More... | |
| Beh * | behWallFollow (Beh *behPtr, NbrList *nbrListPtr, uint32 tv) | 
| Robot follows a wall.  More... | |
| Beh * | behClusterBroadcast (Beh *behPtr, NbrList *nbrListPtr, int32 tv, BroadcastMessage *msgPtr) | 
| Moves robot towards other robots broadcasting a message.  More... | |
| Beh * | rvBearingController (Beh *behPtr, int32 angle, int32 gain) | 
| Rotate the robot to a given bearing using a proportional controller.  More... | |
| Beh * | behMoveForward (Beh *behPtr, int32 tv) | 
| Simple Behavior: move straight forward (no turning)  More... | |
| Beh * | behBearingController (Beh *behPtr, int32 angle) | 
| Rotate the robot to a given bearing using a proportional controller.  More... | |
| Beh * | behMoveToNbr (Beh *behPtr, Nbr *nbrPtr, int32 tv) | 
| Moves robot towards specified neighbor.  More... | |
| Beh * | behMoveFromNbr (Beh *behPtr, Nbr *nbrPtr, int32 tv) | 
| Moves robot away from specified neighbor.  More... | |
Basic swarm functionality behaviors.
This includes remote control, flocking, wall following, and follow-the-leader.
Rotate the robot to a given bearing using a proportional controller.
| behPtr | behavior that is updated by this function | 
| angle | the robot should rotate to | 
| Beh* behClusterBroadcast | ( | Beh * | behPtr, | 
| NbrList * | nbrListPtr, | ||
| int32 | tv, | ||
| BroadcastMessage * | msgPtr | ||
| ) | 
Moves robot towards other robots broadcasting a message.
| behPtr | behavior that is updated by this function | 
| nbrListPtr | list of neighbors | 
| tv | desired translational velocity | 
| msgPtr | 
Robots flock together.
| behPtr | behavior that is updated by this function | 
| nbrListPtr | list of neighbors | 
| tv | desired translational velocity | 
| int32 behFlockAngle | ( | NbrList * | nbrListPtr) | 
Computes the flock angle.
| nbrListPtr | list of neighbors | 
Follow robot whose ID is larger than yours.
| behPtr | behavior that is updated by this function | 
| nbrListPtr | list of neighbors | 
| tv | desired translational velocity | 
Simple Behavior: move straight forward (no turning)
| behPtr | behavior that is updated by this function | 
| tv | desired translational velocity | 
Moves robot away from specified neighbor.
| behPtr | behavior that is updated by this function | 
| nbrPtr | for neighbor | 
| tv | desired translational velocity | 
Moves robot towards specified neighbor.
| behPtr | behavior that is updated by this function | 
| nbrPtr | for neighbor | 
| tv | desired translational velocity | 
Robot orbits the input neighbor.
| behPtr | behavior that is updated by this function | 
| nbrPtr | neighbor to be orbited | 
| tv | desired translational velocity | 
Robot follows a wall.
| behPtr | behavior that is updated by this function | 
| nbrListPtr | for list of neighbors | 
| tv | desired translational velocity | 
Rotate the robot to a given bearing using a proportional controller.
| behPtr | behavior that is updated by this function | 
| angle | the robot should rotate to | 
| gain | positive value governing how quickly the robot adjusts |