Subject:
|
Re: NXT interface
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 5 May 2006 15:07:27 GMT
|
Viewed:
|
2427 times
|
| |
| |
In lugnet.robotics, Tim Byrne wrote:
> We've all seen screenshots of the Labview programming environment that ships
> with the NXT. I'm curious about the interface on the actual NXT (with the
> standard firmware). How does the menu system work? Obviously there are size
> limits to how much code can live on the NXT, but are there limits to how many
> separate programs can be on it? (the RCX's standard firmware was limited there)
> Other than choosing what program to run, what other options are there?
>
> What info about this interface can be shared?
In my experience, non-trivial programs written in NXTGL will use at least 10kb.
Using my BrickTool utility to list the files on my NXT you get this output:
C:\winapps\projects\BricxCC>bricktool /BT /COM=COM4 /Target=7 -listfiles
rooster_simple.rxe=9216
Bono8.rxe=17210
a6.rxe=14776
Recorder.rxe=8668
Raw Count2.rxe=3600
LineFollower4.rxe=10488
Remote-1.rxe=5254
fileio.rxe=3444
ScreenSaver_bug.rxe=384
ScreenSaver_nob.rxe=318
DivTest.rxe=240
text_try.rxe=260
whileloop.rxe=162
2tones.rxe=198
iomap_freemem.rxe=480
The first eight files are written in NXTGL using the LEGO Mindstorms NXT
software. The last seven files are writtin in NBC using BricxCC to compile and
download the programs. Admittedly, the NBC programs are all trivial programs
But you can see plainly see the order of magnitude difference in executable file
size.
Here's a partial NXT menu system diagram. As Brian indicated, you navigate by
scrolling left or right and then by drilling down into or backing out of a
selected menu level. Scrolling left and right wraps around.
My Files - NXT Program - View - Bluetooth - Settings - Try Me
My Files
|- Software files - NXT files - Sound files
Software files
|- ProgramName - ProgramName - ProgramName - ProgramName - ProgramName - ...
ProgramName
|- Run - Send - Delete
Run (runs program)
Send
|- 1 - 2 - 3 (previously configured bluetooth connections)
Delete
|- No - Yes (as a large X or a checkmark)
NXT Program
|- Info screen
Info Screen (followed by pick move for slot 1)
|- Fwd 5 - Fwd - Turn Right 2 - Turn Right - Back Right 2 - Back Right - Tone 1
- Tone 2 - Back Left 2 - Back Left - Turn Left - Turn Left 2 - Empty - Backward
- Backward 5
Slot 2
|- Empty - Wait 2 - Wait 5 - Wait 10 - Object - Sound - Light - Dark - Touch
Slot 3 (same as slot 1)
Slot 4 (same as slot 2)
Slot 5
|- Stop - Loop
Finish
|- Run - Main menu - Save
View
|- Sound dB - Sound dBA - Reflected Light - Ambient Light - Light Sensor* -
Temperature C* - Temperature F* - Rotation* - Motor rotations - Motor degrees -
Touch - Ultrasonic inch - Ultrasonic cm
Selected sensor type
|- Port 1 - Port 2 - Port 3 - Port 4
Bluetooth
|- My contacts - Connections - Visibility - On/Off - Search
Settings
|- Volume - Sleep - NXT Version - Delete files
|- 0-4 |- 0,2,5,10,30,60 |- Software files - NXT files - Sound files
- Try me files
|
|
Message has 1 Reply: | | Re: NXT interface
|
| (...) Sounds great! Are you able to determine how much memory a program takes up while it's running? And how much memory is free? (...) Hmmm the purpose of these slots are one thing thats not immediately obvious (to my old brain anyway), can you (...) (19 years ago, 5-May-06, to lugnet.robotics)
|
Message is in Reply To:
| | NXT interface
|
| We've all seen screenshots of the Labview programming environment that ships with the NXT. I'm curious about the interface on the actual NXT (with the standard firmware). How does the menu system work? Obviously there are size limits to how much (...) (19 years ago, 5-May-06, to lugnet.robotics)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|