Quantcast
Channel: MonoBrick.DK » All Posts
Viewing all articles
Browse latest Browse all 91

Improved sensor usage

$
0
0

Hi Anders,

Last semester I had the assignment to participate in the First Lego League using your firmware. I noticed there was only little support for sensors. I’ve added the same polling features that were already present in the buttonevent classes to the sensor classes. I also added a possible implementation of these sensors to the vehicle class. A few more changes were made to the QueueThread to make it a little more thread-safe, i’m still not to sure though.

These changes were only implemented for the EV3 sensors, because that’s all i had to use. The only thing currently not working is the EV3TouchSensor, because i had to cheapfix it, you’ll see…

Just have a look if you’re interested, but don’t feel obligated.

Thanks for your time,

Lars Gardien

Attachments:
You must be logged in to view attached files.

Viewing all articles
Browse latest Browse all 91

Trending Articles