| | Re: NRLink reading RCX response
|
|
(...) You might want to consider using NXC and the standard NXT firmware. Here's some code John Barnes wrote in NXC for reading sensor values via the NRLink: int count; int sensorval; int i; int temp; byte toggle=0; byte csum; byte RCXcmnd[]; /*[0] (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: RotateMotorEx hangs
|
|
(...) When you call RotateMotorXXX here is the code that is executed: subroutine __RotateMotor0 brtst EQ, __rotate_Done0, __rotate_angle0 sign __rotate_thePower0, __rotate_angle0 abs __rotate_theAngle0, __rotate_angle0 mul __rotate_thePower0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | RotateMotorEx hangs
|
|
This is actually the topic about interrupting RotateMotor(). I resend with a more appropriate topic. --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Thursday, August (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NXTway DS powered by LEJOS OSEK
|
|
Takashi, Could you (or one of the other LEJOS developers) do me a favor? A few months back, I created a page that lists different types of NXT software, including an early version of LEJOS: (URL) like to update it with info about the latest version, (...) (17 years ago, 3-Aug-07, to lugnet.robotics)
|
|
| | Re: NXTway DS powered by LEJOS OSEK
|
|
Hi Dick, At first, I really appreciate your comment because I live out of the NXT core community, so feedback from the experts are valuable for me! (...) I do not intend to compete with RobotC. I know some of the folks have developed high speed (...) (17 years ago, 3-Aug-07, to lugnet.robotics)
|
|
| | 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)
|