@import url(https://fling.seas.upenn.edu/~robocup/wiki/pub/skins/sinorca/basic.css); @import url(https://fling.seas.upenn.edu/~robocup/wiki/pub/skins/sinorca/layout.css); @import url(https://fling.seas.upenn.edu/~robocup/wiki/pub/skins/sinorca/sinorca.css);
edit a *mc file, such as Player/Vision/vcm.lua, and add a new block
and add to the new block, or add to an existing one
Move into the Player directory and start lua. Make sure to initialize.
First you must access the memory block. You do this by concatenating the name of the *mc file (ie 'vcm') and the name of the memory block, with the first letter capitalized (ie 'Ball'), and passing this string into a call of shm.m.
when using strings, make sure to cast the return of the get_*() functions to a char array
Powered by PmWiki
Utilizes the Sinorca skin