|
| | 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)
| | | | 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: 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)
| |