| | Re: Spybot studies: seek a world object John Hansen
|
| | (...) There was a bug in the code generated by NQC for the find opcode prior to version 3.1r2. If you are using a version of NQC older than 3.1r2 then that *might* explain why Brian's beacon.nqc program fails to work sometimes. I will try to find a (...) (19 years ago, 4-Oct-05, to lugnet.robotics.spybotics)
|
| | |
| | | | Re: Spybot studies: seek a world object John Hansen
|
| | | | (...) I have found a copy of the MindScript code for the default program (sort of) and I have ported it to NQC. Here's the default program in MindScript: program SpybotDefaultProgram { main { start 0 } } And here is its NQC equivalent: #pragma (...) (19 years ago, 13-Oct-05, to lugnet.robotics.spybotics)
|
| | | | |
| | | | | | Re: Spybot built-in program John Hansen
|
| | | | | (...) I spent some time recently working on NQC headers which would enable using more (if not all) of the Spybot ROM subroutines and tasks with a NQC program. I haven't done extensive testing of the headers in real programs. I hope there are still a (...) (19 years ago, 14-Nov-05, to lugnet.robotics.spybotics)
|
| | | | | |
| | | | Re: Spybot studies: seek a world object Allen Benter
|
| | | | John, perhaps you can help me with the directional capabilities. I have attached a copy of my code below. I am reading the direction to another spybot/beacon and putting it through a simple least squares adjustment. I find over short distance (HERE (...) (19 years ago, 18-Oct-05, to lugnet.robotics.spybotics)
|
| | | | |
| | | | | | Re: Spybot studies: seek a world object Allen Benter
|
| | | | | Sorry, I forgot to mention I am using nqc 3.1r4 Allen (...) (19 years ago, 18-Oct-05, to lugnet.robotics.spybotics)
|
| | | | | |
| | | | | | Re: Spybot studies: seek a world object Steve Hassenplug
|
| | | | (...) I can't find it right now, but I thought I read somewhere that if the direction is "anywhere", it will not have a direction. I believe that's consistant with what you're seeing. Steve (19 years ago, 18-Oct-05, to lugnet.robotics.spybotics)
|
| | | | |
| | | | | | Re: Spybot studies: seek a world object Allen Benter
|
| | | | (...) Steve, I think your right. A quick look into the ROM documentation shows "Sub Index 83 (p.139) TurnAway_Bead - Tries to turn the Spybot away from the target. If there is no target, or if the target is in the Anywahere zone, the bead exits (...) (19 years ago, 18-Oct-05, to lugnet.robotics.spybotics)
|
| | | | |