Welcome To Darwinbots > Newbie

Daunted newbie on the killer bot making tour

<< < (3/3)

Griz:

--- Quote ---do functions that involve angles always refer to the bots eye´s angle (in which direction its looking)?


Most do, yes. I beleive .setaim and .aim are the exception (which measure angles from ---->)
--- End quote ---

in the case of .setaim, it goes counterclockwise ...
0/1256 = right, 314 up, 628 left, 942 down.
same for .aim ?

Numsgil:
yes, setaim and aim use the same orientation system.  The idea being that you can use something like:

*.aim 10 add .setaim store

to effect a small turn.

Griz:

--- Quote ---yes, setaim and aim use the same orientation system.  The idea being that you can use something like:

*.aim 10 add .setaim store

to effect a small turn.
--- End quote ---
ah. yes ... nice.

hey ... any of you folks who know the DNA/Bot code and
what the commands do are invited to come help write up
some descriptions for the operators at the wiki.

in fact, .aim was one of the ones we didn't have
much on. so I'll add the above to that.

any of them that don't have a description or that
info or examples could be added to would be great.
as accessed from
http://www.darwinbots.com/WikiManual/index.php?title=Sysvars
or
http://www.darwinbots.com/WikiManual/index...tle=Sysvars2.21

Navigation

[0] Message Index

[*] Previous page

Go to full version