| | FindWorld & ClearWorld Spybot NQC API additions
|
|
Another addition to spy.nqh : #define REL_GT 0 #define REL_LT 1 #define REL_EQ 2 #define REL_NE 3 __nolist void FindWorld(int &v, const int relsrc, const int crit, const int& thresh) { asm { 0xd5, &v : 0x3000001, 0x2a + relsrc, crit, &thresh : (...) (21 years ago, 21-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: FindWorld & ClearWorld Spybot NQC API additions
|
|
This is an area of robotics that particularly interests me. Thank you for doing all this work! Now...how do I put all together? Do I simply add your programming to the bottom of spy.nqh or are there particular locations where pieces should go? Would (...) (21 years ago, 21-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: FindWorld & ClearWorld Spybot NQC API additions
|
|
(...) SQUEAK!!! SQUEAK!!! SQUEAK!!! ;o) Philo (21 years ago, 21-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: FindWorld & ClearWorld Spybot NQC API additions
|
|
(...) You are quite welcome. I hope there are at least a few folks out there who are finding this useful. Mostly we should all thank Dave Baum for his efforts to add Spybot support to NQC and for designing a program that allows for extension in a (...) (21 years ago, 21-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|
|
| | Re: FindWorld & ClearWorld Spybot NQC API additions
|
|
Thank you for the quick response. I'll try all your suggestions tonight. ...and a great big SQUEEK! SQUEEK! SQUEEK! Joseph (21 years ago, 21-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|