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 / 266 (-20)
  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)
 
  Spybot studies: photoelectric eye
 
I've started a new project to explore the Spybot's capabilities, (now the John Hansen has given me access to them ;). I plan to undertake s series of "studies" which each explore a single feature or function. I'll post then as I go. This first one (...) (21 years ago, 6-Nov-03, to lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) ... (...) ... (...) Yes. The extra channels are for non-repeating stuff. Like you said. (...) Well, I've discovered (while working on a Spybot project) that if you ask just the right question, the people at LEGO may reply to it. They are (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) [snippage] (...) [more snippage] (...) Glad you like the chart. Trying to find a way to present the information in a useful manner was the trick for me, too. :-) I'll have to throw up a web page or something. As to figuring it out, credit has (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) Thanks a lot for posting this very useful information, Mark! I don't know how long I've been beating my head against the brick trying to make heads or tails out of the values I calculated for the various possible combinations of button (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) You're welcome! (...) Well, I did try it out and it does work... somewhat. For example, when you set the channel to 5 using the technique mentioned above, only some of the remote packets reflect 5 as the channel number, while others still (...) (21 years ago, 3-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, 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