Archive for the ‘RobotC’ Category

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

Monday, May 30th, 2011

Xander has released the V2.0b2 version of the ROBOTC Driver Suite.

  • I changed the min, max and clip functions to macros and renamed them to min2, min3, max2, max3 and clip.  min2 and min3 are for two and three numbers respectively and will work with any type.
  • I’ve added support for the MicroInfiniy CruizCore XG1300L with two example programs.  One is a text only example but I got a bit fancy with the second version and made some graphical representation of the data from the sensor.  Try it, you’ll like it, I’m sure.  The new driver is called MICC-driver.h, the examples are MICC-test1.c and MICC-test2.c
  • Fixed MSDISTsendCmd() in the Mindsensors DIST-nx driver
  • I added MSMMUX-test2.c to show how to use MMUX with a daisy chained sensor (DIST-nx)

You can download it from here: [LINK].

ROBOTC Driver Suite – Released: V2.0b1

Saturday, April 30th, 2011

Xander has updated his RobotC Driver Suite. Here is a short note, and the list of changes.

The biggest change is the way I am now handling the HiTechnic Sensor MUX. Rather than having to scan the SMUX for attached sensors, the individual sensor driver configures the SMUX for its specific port. This makes it much easier to use.

  • Removed unnecessary common.h includes from examples
  • Changed arrays from structs to just typedefs, all drivers have been adjusted
  • Motor mux stuff split off from common.h
  • All SMUX supported drivers now use new SMUX mechanism
  • Modified common.h to separate SMUX functions from rest using defines
  • Removed ubyteToInt from all drivers and common.h
  • Test programs have had their sensor types reconfigured, you will need ROBOTC 2.26
  • HTSMUX-driver.h newly added, has all the new SMUX functions split from common.h
  • MMUX-common.h newly added, contains all the MMUX functions split from common.h
  • Added min/max functions for floats
  • light-common.h: newly added, adds RGBtoHSV conversion (thanks Mike Henning, Max Bareiss)
  • HTCS-driver.h/HTCS2-driver.h: added functions for HSV values
  • HTMC-driver.h: Improved relative heading algorithm
  • Added DGPSreadTravHeading() to DGPS-driver.h and fixed commands
  • Removed single axis functions from HTAC-driver.h
  • Removed functions for single signal strength in HTIRS and HTIRS2.
  • Removed No Wait functions from EOPD driver
  • Removed HTIRL-NG, is now named HTIRL
  • Changed arguments from byte to ubyte in MSLL-driver.h
  • All applicable Mindsensors sensors now have an optional “address” argument that can be ommitted if using the default (thanks for the suggestion hedgepigdaniel)

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

Released: 3rd Party ROBOTC Driver Suite V1.8.1

Tuesday, January 4th, 2011

Version V1.8.1 of the ROBOTC Driver Suite is out. You can read the details and download it from here

  • 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:
    int USreadDist()
    bool USreadDistances()
    bool _USsendCmd()
    bool USsetSingleMode()
    bool USsetContinuousMode()
    bool USsetOff()
    bool USsetEventCapture()
    bool USreset()
  • MS Dist: Commands can be sent to arbitrary I2C addresses now with optional argument
  • MS HID: Commands can be sent to arbitrary I2C addresses now with optional argument
  • MS NumPad: Added MSNPscanKeys()
  • MS NXT Cam: Removed printDebugLine from driver

The Mindsensors sensor drivers (where applicable) will all

 

Released: 3rd Party ROBOTC Driver Suite V1.7

Friday, November 12th, 2010

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 TMR-driver.h more robust when used in multiple threads.  No guarantee that this works.