To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.spyboticsOpen lugnet.robotics.spybotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Spybotics / 408
407  |  409
Subject: 
Re: Spybot studies: seek a world object
Newsgroups: 
lugnet.robotics.spybotics
Date: 
Thu, 13 Oct 2005 23:02:01 GMT
Viewed: 
10511 times
  
In lugnet.robotics.spybotics, John Hansen wrote:
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 copy of the MindScript code for the default program and
port it to NQC if possible for you.

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 noinit

task main()
{
  StartTask(0);
}


Unfortunately, these programs don't help much since all either one does is start
Task 0 in the Spybot ROM.  It is possible if you are really clever to write an
NQC program which cooperates with the built-in ROM tasks and subroutines.  But
it is not an easy road to take and may not be possible given the specific
requirements of your robot.

John Hansen



Message has 1 Reply:
  Re: Spybot built-in program
 
(...) 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)

Message is in Reply To:
  Re: Spybot studies: seek a world object
 
(...) 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)

14 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR