ronelib
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs
robotCanvas.h File Reference

Sends radio commands so that the robots can be plotted on a remote computer. More...

Go to the source code of this file.

Functions

void rcNewPage (void)
 Prints rc,newPage. More...
 
void rcUpdatePage (void)
 Prints rc,. More...
 
void rcCommand (char *command)
 Prints rc,'command'. More...
 
void rcSetLayer (uint8 layer)
 Prints rc,setLayer,'layer'. More...
 
void rcValue (char *name, uint32 val)
 Prints rc,val,'name','val'. More...
 
void rcNbrPrint (Nbr *nbr, uint8 round)
 Prints data on neighbor and all its neihbors. More...
 
void rcPosePrint (char *name, uint8 id, Pose *posePtr)
 Prints name, id and position. More...
 
void rcNbrPrintAll (void)
 Prints all neighbors and all their neighbors. More...
 
void rcNbrVarsPrintAll (void)
 Prints the id and round of all neibors. More...
 
void rcNbrVarsPrintHeader (void)
 Prints message and size of all messages. More...
 

Detailed Description

Sends radio commands so that the robots can be plotted on a remote computer.

Since
April 23, 2011
Author
James McLurkin

Function Documentation

void rcCommand ( char *  command)

Prints rc,'command'.

Parameters
commandthat wants to be printed
Returns
void
void rcNbrPrint ( Nbr *  nbr,
uint8  round 
)

Prints data on neighbor and all its neihbors.

Parameters
nbrFirst neighbor to be printed
roundis printed with first neighbors
Returns
void
void rcNbrPrintAll ( void  )

Prints all neighbors and all their neighbors.

Returns
void
void rcNbrVarsPrintAll ( void  )

Prints the id and round of all neibors.

Returns
void
void rcNbrVarsPrintHeader ( void  )

Prints message and size of all messages.

Returns
void
void rcNewPage ( void  )

Prints rc,newPage.

Returns
void
void rcPosePrint ( char *  name,
uint8  id,
Pose *  posePtr 
)

Prints name, id and position.

Parameters
namethat wants to be printed
idthat wants to be printed
posePtrthat wants to be printed
Returns
void
void rcSetLayer ( uint8  layer)

Prints rc,setLayer,'layer'.

Parameters
layerthat wants to be printed
Returns
void
void rcUpdatePage ( void  )

Prints rc,.

Returns
void
void rcValue ( char *  name,
uint32  val 
)

Prints rc,val,'name','val'.

Parameters
namethat wants to be printed
valthat wants to be printed
Returns
void