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 / *271 (-20)
  Re: Spybot studies: seek a world object
 
(...) Or, then again, you might not. As with the vast majority of the ROM subroutines (and all the _Bead subroutines) this subroutine fiddles around with a global variable (via calls to EnterBead and ExitBead). In this case it happens to be global (...) (21 years ago, 10-Nov-03, to lugnet.robotics.spybotics)
 
  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 (...) (21 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", (...) (21 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 (...) (21 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 (...) (21 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 (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot Studies: display an 8-bit value
 
(...) Another very simple thing to do to display this type of "debug" information is to send a message to an RCX, and display the value on the LCD of the RCX. That way, you don't need to mess with decoding the 8 bit binary number. This was not my (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Spybot Studies: display an 8-bit value
 
I feel a little sheepish posting such simple code, but I needed to write this function anyway, and it's a legitimate illustration of a couple functions, which is the goal of "Spybot Studies" and this is a run-on sentence. /* led_8bit_display A (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: SetTxDirection() confusion
 
(...) I think these emitters are different wavelength, 940nm for the pointing up one, 880nm for the others. 940nm radiation is very close to red wavelength range and is easily seen by cameras CCD, even though they generally include an IR filter to (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: SetTxDirection() confusion
 
(...) Yes, there is a visible light cut-off filter built in remote command receiver. Philo (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: SetTxDirection() confusion
 
(...) My understanding (which may well be incorrect) is that the Manas unit only responds to IR. Sending an RC message using the PC channel is probably not terribly useful since (as far as I am aware) there aren't any devices that use RC messages (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: SetTxDirection() confusion
 
I forgot to mention that the mana (set to channel 3) didn't respond to the laser LED's command message. Is this because the mana isn't sensitive to visible red or because the signal is somehow encoded differently when it comes out the laser? (or (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: SetTxDirection() confusion
 
(...) Yes, there are multiple IR emitters. Two in front at nearly 90 degree angles, one in back, and a high-power one pointing up. Turns out my camera was only picking up the high-power emitter. I tried again with a different camera (the Vision (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: photoelectric eye
 
(...) Of course you are correct! I repeated the process (unplugging the cable to simulate the failure of the comm port) and found that it detected the spybot through the USB Tower; then when I attempted to download the program, it activated the USB (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: SetTxDirection() confusion
 
(...) This portion of the Spybot NQC API is under substantial revision... :-) I based the constants on those found in Spybot.h which are apparently just plain wrong. The current version of my spy.nqh file has #define SERIAL_CHANNEL_HIGH_POWER 0 (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Spybot studies: SetTxDirection() confusion
 
John, I noticed the SetTxDirection() function in your mana_control.nqc program. I thought it might be useful for my project, so it became my next subject of study. The spy.nqh shows this: #define TX_DIRECTION_FRONT_LEFT 0 #define (...) (21 years ago, 7-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: photoelectric eye
 
(...) [snip] (...) [snip] Cool! It may even be possible to get NQC to download a program (...) Way cool! (...) [snip] (...) Unbelievable! -Brian (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: photoelectric eye
 
(...) I'm nearly certain that you can't (currently) download programs to a Spybot via the USB tower. The MindScript compiler (LCC32) complains that it can't open the serial port (and unless LEGO releases an update to their vpbrick.dll COM object it (...) (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: photoelectric eye
 
John Hansen wrote: [snip] (...) [snip] John, While working with BricxCC on a spybot project (still not done) I encountered an odd situation. 1st) something happened to the comm port that the spybot cable is connected; I couldn't send or receive (or (...) (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)
 
  Re: Spybot studies: photoelectric eye
 
(...) I think this is fantastic, Brian. I look forward to seeing future posts on the results of your studies. I am working with Dave Baum to incorporate the new Spybot API features into the official NQC API. One aspect of that involves documentation (...) (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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