Home / Programming (page 14)

Programming

My Omnipotent Omniwheel

For the Lego World 2009 in the Netherlands I built an omniwheeled robot.  It’s been done thousands of times before and the Internet is full of great (and not so great) examples.  I wondered why I hadn’t jumped on that bandwagon so I got cracking.  This was the first prototype I made back in August.  I was on a Lego ...

Read More »

ROBOTC I2C Howto (Part I)

Note: this is a revised version of the original.  There was a problem with the way the response was put in the array that held the original message sent to the sensor.  That wouldn’t be a problem if I hadn’t setup my code to retransmit that message over and over without setting it up each time.  The response would corrupt ...

Read More »

Released: ROBOTC Driver Suite V1.1

A new version (1.1) of the ROBOTC driver suite awaits your download from the usual source. Not as many changes in this release as with the previous one. Changes include: Added support for the Mindsensors Servo controller, up to 8 servos per controller. Added a new function to get the raw uncalibrated AD values from the sensors in the Mindsensors ...

Read More »

Released: ROBOTC Driver Suite V1.0

After a long time between releases, I am proud to present to you the latest version of the ROBOTC Driver Suite. The biggest new addition to this version is support for the new HiTechnic SMUX sensor. Adding support for this new sensor involved modifying almost every single driver for the HiTechnic sensors to add the ability to poll the sensors ...

Read More »

Released: ROBOTC Driver Suite RC6

Another release with some changes and additions: HTAC-driver.h: Fixed bad registers Added HTACreadAllAxes(tSensors link, int &x, int &y, int &z) Removed HTACreadAllAxes(tSensors link, tIntArray &data) Changed HTACreadX, Y, Z to use by reference instead of as return value HTIRS-driver.h: Fixed wrong registers HTEOPD-driver.h: Added HTEOPDsetShortRangeNW and HTEOPDsetLongRangeNW, these don’t wait 10ms Changed the underlying sensor types for ROBOTC 1.57A and ...

Read More »

Released: RobotC Driver Suite RC5

Some minor changes in this version and some bug fixes. Changelog: HTDIR-test1.c (0.2) Partial rewrite by Dick Swan, waits a little longer for sensor initialisation Nicer intro screen Less screen flickering, only updated if there’s been a change in data. common.h: (0.3.2) makes use of the new alpha’s built-in clearI2CBus(). It is still defined for the older firmwares MSLL-driver.h: (0.5) ...

Read More »

Released: RobotC Driver Suite RC4

A new version of the RobotC Driver Suite has been released.  A driver for the Mindsensors LineLeader sensor was added.  The initial driver was written by Thom Roach and modified by me to fit better into the suite’s framework.  Thank you Thom for your work! Changelog: Many drivers had their API renamed subtly to be more consistent.  Check the individual ...

Read More »

Released: RobotC Driver Suite RC3

A new version of the RobotC Driver Suite has been released.  Two new drivers were added and some improvements were made in the I2C bus error handling. Changelog: NEW: Added driver for AT24C512 EEPROM chip. NEW: Added Light Sensor driver with calibration!  You can use one of the test programs to calibrate for both white and black.  Calibration data is ...

Read More »

New revamped RobotC Drivers project page

After a couple of hours of fiddling with HTML in Notepad, I’m proud to present the new and improved project page for the 3rd Party RobotC Driver project.  I’ll add more to it as time goes by.  For your tree killing pleasure, I’ve also added a PDF version of the documentation so you can print it out more easily. You ...

Read More »

Released: RobotC Driver Suite rc2

A new release of the drivers has been uploaded.  No code changes but the minimum requirement has gone from RobotC 1.40 to 1.46 after problems were reported with some of the drivers. RobotC 1.46 can be downloaded from the following location: [LINK].  There is also a 1.47B available, which can be downloaded here: [LINK]. The drivers’ Source Forge project page ...

Read More »