| | RE: Idea on how to interrupt RotateMotor?
|
|
Look at the following sample code: ===...=== int shut =0; task x1() { TextOut(0, LCD_LINE3, "Waiting until it sees dark!..."); until (Sensor(IN_1)<40); shut=1; Off(OUT_AC); } task x2() { RotateMotorEx(OUT_AC, 75, 360, 0, FALSE, TRUE); TextOut(0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Idea on how to interrupt RotateMotor?
|
|
Since there is no event in nxc. Is there anyway to interrupt this call via a Off(OUT_AC) in another task? RotateMotor(OUT_AC, 20, 800); I could have used a time Wait after onFwd. However, This will not allow me to get a more previous degree turning. (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response w/ RobotC
|
|
(...) I downloaded the SDK from (URL) but can't find any reference to the message format. Perhaps this is the wrong SDK? I've looked in all the doc .pdf files and skimmed everything else. I sure am having a hard time locating things. (...) So what (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: NRLink reading RCX response w/ RobotC
|
|
(...) I couldn't find it either, but its out there somewhere. (...) Agreed. It started as a internal debugging tool and was left visible for the small handful of power users who write their own I2C device drivers. (...) Agreed. I went back and (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: NXTway DS powered by LEJOS OSEK
|
|
(...) A 1-msec scanning rate should be achievable with several of the interpretative virtual machine environments for the NXT. I can confirm that ROBOTC can easily execute at this rate for a PID loop with error based on difference between two (...) (17 years ago, 2-Aug-07, to lugnet.robotics)
|
|
| | Re: Web Page Update - new syncro/Lego motor internals
|
|
(...) An update - the monumental site has been down a long time - I've moved all my lego pages to (URL) plan to update this with current links soon. Also, I'll be posting my experience with NXT and RobotC. -Wes (17 years ago, 2-Aug-07, to lugnet.robotics)
|
|
| | Re: NRLink reading RCX response w/ RobotC
|
|
(...) Searching for "robotc i2c" returns 3 message in the forums: "Interfacing with Lego Sensors" "Help with US sensor!!" "RobotC I2C Help" Only the third message describes "Test I2C Messaging". It's very specific to the message thread and in it you (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
|
|
| | NXTway DS powered by LEJOS OSEK
|
|
Here is Yet Another NXTway powered by LEJOS OSEK. (URL) I named this version of NXTway "NXTway DS (Double light Sensors)". It uses only LEGO standard hardware parts except for a plastic light shade cover and control algorithm is executed every (...) (17 years ago, 2-Aug-07, to lugnet.robotics)
|
|
| | RE: NRLink reading RCX response w/ RobotC
|
|
There are three steps to reading an I2C message from a sensor. 1. Send a message to the I2C sensor to initiate the read. Look at the program "NXT HiTechnic Accelerometer" in the RobotC sample programs folder for an example that you can clone. (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: pbLua Beta 13c first impressions
|
|
Walt, Thanks for mentioning my pbLua installation instructions (that are available also in my "Advanced NXT - The Da Vinci Inventions Book" alongside with a lot of samples for pbLua programs, by the way ;-) ). Keep in mind, though, that they have (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|