| | Re: BrickOS motor port horrors
|
|
(...) [snippage] (...) I will be releasing a new version of BricxCC shortly (by the end of the week, with any luck) which will include a fix for this bug. It is already fixed but I'm trying to get a couple other items done before I publish a new (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) [snip] (...) Mark, Thanks for shooting this so quickly. Kevin (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
|
|
| | Re: BrickOS motor port horrors
|
|
(...) As we discussed in email, it appears to be the firmware downloader causing the problem. I just tried downloading BrickOS 0.2.6.10 with both NQC 2.5 a1 and BricxCC 3.3.6.2 and experienced growling motors. I then downloaded BrickOS using firmdl3 (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, 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)
|
|
| | 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
|
|
(...) 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
|
|
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)
|
|
| | 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: More Spybotics NQC API stuff (work in progress)
|
|
Some slight revisions to the previous submission. And now I have finally figured out how to get the Spybot to control Manas. I'm very puzzled by the equations for setting the output bytes. Any explanations would be greatly appreciated. #include (...) (21 years ago, 19-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|
|
| | More Spybotics NQC API stuff (work in progress)
|
|
A lot of this is untested and very rough. For some reason I still can't get the Spybot to send out RC messages to a Manas unit. Sending an RCX message (opcode 0xF7) is quite simple - either using the ROM subroutine SendRCXMessage or by using the (...) (21 years ago, 18-Oct-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc)
|