To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *5535 (-20)
  Re: How to read the touch sensors on the Scout in NQC?
 
This program turns on motor A and leaves it running until a touch sensor attached to input 1 is pressed, then it turns off the motor and plays a sound: task main() { On(OUT_A); until(SENSOR_1 == 1); Off(OUT_A); PlaySound(SOUND_UP); } Dave (...) (23 years ago, 16-Dec-01, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: How to read the touch sensors on the Scout in NQC?
 
Hi Chris, (...) this is a bit crazy, unless your sensor value is a bit pattern. (...) This is sensible, but are you sure it's ok to use equality and not inequalities like SensorValueRaw(1) < 240? (...) but it's equivalent, also in C, where & is (...) (23 years ago, 16-Dec-01, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: How to read the touch sensors on the Scout in NQC?
 
I've sort of solved my problem, but not in a way which really makes total sense. Both of the below fragments work as expectd: #1 if ((SensorValueRaw(1) & SensorValueRaw(0)) != 255) #2 if ((SensorValueRaw(1) != 255) || (SensorValueRaw(0) != 255)) (...) (23 years ago, 16-Dec-01, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  How to read the touch sensors on the Scout in NQC?
 
All, I'm feeling pretty stupid right about now. I've read the NQC docs, looked in the newsgroups, books, etc, but I can't seem to figure out how to read the touch sensors on my Scout. I want to implement a bumper checking task but no matter how I (...) (23 years ago, 16-Dec-01, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)
 
  Re: MIDI to NQC/RIS2.0 translator "Midi2LSC"
 
Makino-san, I'm gald you did this because you just saved me the trouble of doing it myself!!! Thanks, Chris Barker (...) (23 years ago, 16-Dec-01, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Pictures from Mindfest in Texas
 
almost 4 months late, but who is counting? Pictures of spin-art machines from Mindfest in Forth Worth: (URL) Erwin (URL) (23 years ago, 15-Dec-01, to lugnet.robotics.rcx)
 
  Re: learning RoboLab (long)
 
(...) I haven't seen this but I imagine that it is similar to the Control Lab version, only taking advantage of the multi-processing capability of the RCX. At least that was my $0.02 during the brainstorming session for this packet. :) (...) If this (...) (23 years ago, 15-Dec-01, to lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.dacta, lugnet.books, lugnet.robotics.scout, lugnet.robotics.vll)
 
  Re: Forced to use IR Tower?
 
(...) built into your (...) this is not (...) You understood me correctly. <snip> :-( (23 years ago, 13-Dec-01, to lugnet.robotics.rcx)
 
  Re: Trigonometry and NQC
 
Thank you for these posts! This idea of creating a table of arctangents is just what I need. I'll let everyone know how it works after I redesign the racer. (The prototype, designed for speed, experienced a significant mechanical shock when it (...) (23 years ago, 14-Dec-01, to lugnet.robotics.rcx.nqc)
 
  Re: Trigonometry and NQC
 
Hi Richard, No, NQC does not implement any of the trig functions. However, you can do it yourself. The idea is to use a second order polynomial to approximate the sine function. You can get pretty good accuracy (within about 5%) if you break up the (...) (23 years ago, 12-Dec-01, to lugnet.robotics.rcx.nqc)
 
  Re: Robot Controller
 
I've posted a new version of Robot Controller ---the ideal companion to NQC for Mac OS X users--- with improved error handling. Also a better web page explaining how to use it. Download from: (URL) the way, has anyone tried it? It would be nice to (...) (23 years ago, 13-Dec-01, to lugnet.robotics.rcx)
 
  Re: Trigonometry and NQC
 
(...) Hi Rich, Have a look at (URL) where you can find various tips around trig-functions under the restriction of integer values. Claude (23 years ago, 13-Dec-01, to lugnet.robotics.rcx.nqc)
 
  Re: Trigonometry and NQC
 
(...) Hi Rich, there are no trig functions, because there's no float. I had the same problem and was able to approximate these values. I created two tables with the necessary values. The first table includes the values of the tangens of a angle. (...) (23 years ago, 13-Dec-01, to lugnet.robotics.rcx.nqc)
 
  Trigonometry and NQC
 
Hi! I'm working on a project where a robot needs to travel a right triangle with unkown side lengths. Basically, the robot starts at a point in a room, travels perpendicularly toward a wall, turns 90 degrees left when it hits, and when it gets to (...) (23 years ago, 12-Dec-01, to lugnet.robotics.rcx.nqc)
 
  Re: Forced to use IR Tower?
 
(...) If I understand you correctly, you wish to use the IR port built into your laptop instead of the IR tower. To the best of my knowledge this is not possible. John Hansen (23 years ago, 12-Dec-01, to lugnet.robotics.rcx)
 
  Forced to use IR Tower?
 
Hi all, sorry if off-topic, but perhaps anybody knows if there is anyway to communicate with RCX through my laptop ir port. Actually I connect with my Palm through COM4, but when I set Bricxcc to this port says can't find robot. Thanks Francis (23 years ago, 12-Dec-01, to lugnet.robotics.rcx)
 
  Robot Controller
 
This message announces the first beta release of Robot Controller, a new Mac OS X application for testing and controlling RCX-based robots (with the standard firmware). Download it from: (URL) me what you think! Barney. (23 years ago, 11-Dec-01, to lugnet.robotics.rcx)
 
  Re: learning RoboLab (long)
 
1. Click www.lego.com/dacta/I...tabase.asp 2. Click the "Quick" button. 3. Click "Search" button. (...) (23 years ago, 10-Dec-01, to lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.dacta, lugnet.books, lugnet.robotics.scout, lugnet.robotics.vll)
 
  Re: learning RoboLab (long)
 
I could not get anywhere with this link. How do you get to the docs? 5.e. Invent & Investigate Database www.lego.com/dacta/I...tabase.asp Activities in the form of student challenges. The Teacher Notes sections show programming examples. 27 (...) (23 years ago, 10-Dec-01, to lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.dacta, lugnet.books, lugnet.robotics.scout, lugnet.robotics.vll)
 
  Re: learning RoboLab (long)
 
(...) Miles, thanks for posting that long catalog of available reference material for ROBOLAB. I too have been through the frustrating experience of finding learning resources. ROBOLAB is good software because it is in the spirit of LEGO, where you (...) (23 years ago, 9-Dec-01, to lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.dacta, lugnet.books, lugnet.robotics.scout, lugnet.robotics.vll)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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