|
|
| Line 18: |
Line 18: |
| | | [[.vel]] || 200 | | | [[.vel]] || 200 |
| | |- | | |- |
| − | | [[.edge]] || 214 set to 1 if the bot has hit the edge of the screen. | + | | [[.edge]] || 214 |
| | |- | | |- |
| − | | [[.fixed]] || 215 - A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga) | + | | [[.fixed]] || 215 |
| | |- | | |- |
| − | | [[.fixpos]] || 216 - Set this to any non-zero number to anchor your bot in place. Set it to zero to allow your bot to move freely. | + | | [[.fixpos]] || 216 |
| | |- | | |- |
| − | | [[.xpos]] || 219 - Reads back a bot's horizontal position with the left side representing zero | + | | [[.xpos]] || 219 |
| | |- | | |- |
| − | | [[.ypos]] || 217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable. | + | | [[.ypos]] || 217 |
| | |- | | |- |
| − | | [[.depth]] || 217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable. | + | | [[.depth]] || 217 |
| | |} | | |} |
| | | | |
| | </div> | | </div> |