Home / Programming / ROBOTC Driver Suite (page 3)

ROBOTC Driver Suite

Released: 3rd Party ROBOTC Driver Suite V2.0b2

No rest for the wicked, although they have been taking it a bit easier. In any case, I present my latest creation: version 2.0 beta 2 of the Driver Suite. Not as many changes as for beta 1, as you’d expect. Highlights for this version include: I changed the min, max and clip functions to macros and renamed them to ... Read More »

Want to Play with my NXT?

I am currently streaming a live feed of my NXT on UStream.  You can easily control the motor on my NXT using URLs like: http://xammy.demon.nl:81/MOTA=0 – stop the motor http://xammy.demon.nl:81/MOTA=100 – run the motor at 100% clockwise http://xammy.demon.nl:81/MOTA=-50 – run the motor at 50% counter-clockwise. The power to the motor can range from –100 to 100, with 0 being “brake”. ... Read More »

Released: 3rd Party ROBOTC Driver Suite V2.0b1

After many, many months of stalling, I’ve finally got my act together and finished up 2.0 beta 1 of the Driver Suite. I’ve made a LOT of changes, mostly internal but I hope you like them.  Keep in mind that this is a first beta release, so I need all the feedback I can get.  My email address is in ... Read More »

I2C on the VEX Cortex

The VEX Cortex is a nice platform made by VEX Robotics. It is supported in two programming environments, one of which is ROBOTC. Much to my dismay, the master firmware does not support I2C, which is why ROBOTC does not support it. I don’t really like it when someone tells me I can’t do something, so I went ahead and ... Read More »

Driver Suite 2.0 Progress

I’ve been hacking away at all of the drivers, making them meaner, leaner and easier to use. To go back to the HTAC (HiTechnic Accelerator Sensor) driver as an example, check this out:   HTAC-test1.c (in suite v 1.8.1) HTAC-test1.c (1st round) HTAC-test1.c (now) Total code bytes 4598 1643 (-64%) 1,387 (-70%) Memory locations 716 420 (-41%) 200 (-72%) Procedures ... Read More »

Wish List Driver Suite 2.x

If there are certain features you would like to have added to the 2.0 version of the suite, you can leave a comment at the end of this post.  If it’s something that will be of use to others as well than I will consider implementing it.  Now is a good chance to change parts of the API because I ... Read More »

Coming Soon: ROBOTC Driver Suite 2.0

I am currently working on rewriting the driver suite to make them leaner.  They won’t be backwards compatible with the old ones. Some of the changes will include: HiTechnic Sensor MUX support separated out from common.h.  If you want to use it, you will need to include a a file for it.  All subsequently included driver files will automatically have ... Read More »

Released: 3rd Party ROBOTC Driver Suite V1.8.1

A new release of the Driver Suite has been uploaded to Source Forge. Changes: common.h: added check for sensor type for all I2C calls.  To disable this check, please refer to the source code. Dexter Industries dGPS: added missing DGPSreadDistToDestination() function HT Angle Sensor: added Sensor MUX support HT Compass: enhanced HTMCreadRelativeHeading() function Lego US: Added lots of new functions: ... Read More »

Released: 3rd Party ROBOTC Driver Suite V1.7

A new release of the Driver Suite has been uploaded to Source Forge. Changes: Added Dexter Industries GPS driver + test program Added Mindsensors Numeric Pad + test program Added new "driver" with statistical functions Changed HTGYROstartCal in HTGYRO-driver.h to do more sampling for calibration data HTRCXreadResp in HTRCX-driver.h now clears all of the response buffer Made all calls in ... Read More »

New from HiTechnic: Angle Sensor

This baby had been announced prematurely at the beginning of this year when Lego Education accidentally ran its mouth in their catalogue.  Now it’s finally available to the public, the HiTechnic Angle Sensor. This thing is so ridiculously low friction when you turn it that you wouldn’t even know it was there.  With it you can measure the following: Absolute ... Read More »