Subject:
|
Re: Robolab, byte codes and assembler
|
Newsgroups:
|
lugnet.robotics.rcx.robolab
|
Date:
|
Thu, 27 Nov 2003 01:36:03 GMT
|
Viewed:
|
9227 times
|
| |
| |
In lugnet.robotics.rcx.robolab, Don Stauffer wrote:
> ----Snip------------->
> My son's school is involved in a competition which requires the use of Robolab
> (or RCX code, but that's a joke), so I tried to code this using a "generic
> sensor adapter", which appears to successfully produce raw values proportional
> to the voltages read from the sensor. The attempt pretty much worked, but the
> sampling seems to be so slow that it's unusable at reasonable motor speeds.
>
> So, is there a way in Robolab to write a sub vi-like routine, and specify the
> actual byte code instructions, just for that time-critical part of the program,
> to be called by a regular Robolab program? Sort of like writing an assembler
> subroutine in Basic or C? Or, is there another "competition-legal" way to get
> more reliability from the rotation sensor?
Robolab can access LASM code (Lego Assembler) which may allow you to write
instructions that fit your needs. The LASM documentation is part of the
Mindstorms 2.0 SDK available from
http://www.ceeo.tufts.edu/robolabatceeo/Resources/documentation/default.asp
I'm not an assembler programmer so I have no idea if this helps. Nor do I know
if it is legal under FLL or other contest rules. A guru for Robolab programing
is Claude Baumann (a Lugnet member). He has written some extraordinary vi's
though many involve using elements of Robolab's parent language LABVIEW.
|
|
Message has 1 Reply: | | Re: Robolab, byte codes and assembler
|
| (...) I've used some of the LabView features, though it seems like they work best when used on constants, rather than variables or containers. My impression, though, is that the non-Robolab-specific LabView features aren't what I'm looking for (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
|
Message is in Reply To:
| | Robolab, byte codes and assembler
|
| Having investigated rotations sensors thoroughly, I conclude they have some serious design flaws. Most notably, some samples taken during voltage transitions can be impossible to differentiate from samples at entirely different rotational positions. (...) (21 years ago, 26-Nov-03, to lugnet.robotics.rcx.robolab)
|
24 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
|
|
|
|