Subject:
|
Re: rotation sensors in legOS 0.2.2
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 9 Dec 1999 09:56:08 GMT
|
Viewed:
|
1005 times
|
| |
| |
michael yates wrote:
>
> Has anyone out there successfully had a rotation sensor running in legOS 0.2.2
Hi Michael,
i also tried the new sensor code and it seems to work for me. I noticed
the rotation sensor to stop working properly with nearly exhausted
batteries, but i think that's a minor issue, maybe it's not legOS
specific.
> The
> errors we are getting are "undefined reference to _ds_rotation" which we think
> is an error being generated by the linker.
well, most probably that's right. To verify the code is in your legos
kernel and the symbol is exported, look into file legOS.lds in the boot
directory. This file should be recreated when you recompile legOS, (to
make shure just erase it) and contains all public symbols of the legOS
kernel.
Oh i just had a quick look into boot/config.h and saw, that
CONF_DSENSOR_ROTATION is disabled by default. You have to remove the //
at the beginning of the line
//#define CONF_DSENSOR_ROTATION //!< rotation sensor
and then recompile legOS ( do a make clean first to make sure everything
is built new ).
|
|
Message has 1 Reply: | | Re: rotation sensors in legOS 0.2.2
|
| (...) I'm pretty sure that the battery-power thing is not legOS specific- over the summer, I noticed that at low battery the raw values themselves increase (weird- I'd expect a decrease) and that throws off the sensor detection. Presumably (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | rotation sensors in legOS 0.2.2
|
| Has anyone out there successfully had a rotation sensor running in legOS 0.2.2 I have had a quick look through the last few posts I could find on lugnet and we have recompiled legOS to include the updated dsensor.c and dsensor.h code found on the (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
|
3 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
|
|
|
|