 | | Re: Spybot studies: seek a world object
|
|
(...) Cool program. Keep up the great work! (...) You might be able to use PointToward_Bead without running into problems. __nolist void PointToward_Bead(const int& nTimes) { asm { 0xe3, &nTimes, 0x17, 81, 0x01, 1 }; } This ROM routine monitors an (...) (22 years ago, 10-Nov-03, to lugnet.robotics.spybotics)
|
|
 | | Spybot studies: seek a world object
|
|
/* beacon.nqc Uses World Relation Table to get a fix on and drive to another object. The object can be a Spybot, PC, or Spybot Controller. The program fixes on (i.e. drives to) the first object it finds. If that object disappears from the "radar", (...) (22 years ago, 10-Nov-03, to lugnet.robotics.spybotics)
|
|
 | | Re: Spybot studies: SetTxDirection() confusion
|
|
(...) How *does* the Spybot know the orientation (the ROM SDK calls it "aspect") of another Spybot? My (casual) observations indicate that all three emitters are on simultaneously and synchronously. How does the observing Spybot identify which one (...) (22 years ago, 8-Nov-03, to lugnet.robotics.spybotics)
|
|
 | | Re: Spybot Studies: display an 8-bit value
|
|
(...) In case anyone was wondering (yeah, sure :-), this line in my original post: lediDisplay = (x & 0x17) ((x & 8) * 4) ((x & 32) / 4) rearranges the bits so that the lower 6 bits can easily be read left to right (while looking at the bot from the (...) (22 years ago, 7-Nov-03, to lugnet.robotics.spybotics, FTX)
|
|
 | | Re: Spybot Studies: display an 8-bit value
|
|
(...) Mark Riley did this using MindScript but I don't recall having already seen the equivalent in NQC. (URL) than use a #define macro (speaking of which, I need to fix the syntax highlighting of preprocessor macros to account for multiple lines) I (...) (22 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
|