Tuesday, October 9, 2012

Matlab API for Hokuyo UTM-30LX-EW

We recently acquired a new Hokuyo UTM-30LX-EW laser range finder. It's based on the old UTM-30LX laser so that means it has an effective range of 30m and 270 degrees. The only differences with the previous model are:

  • Ethernet connection instead of USB
  • Multi-echo functionality, very helpful for outdoors
Anyway since it's a fairly new laser, I couldn't find any drivers or API to use with matlab. So I decided to write my own. It's very simple and the only thing it does is initialize a connection to the laser and then starts grabbing the data. It also incorporates decoding and error detection functions. The code runs at almost 40hz. You can find it uploaded at mathworks file exchange.

My friend Ana form KIT has upgraded the API with the capability to also return intensities and multi-echo data. You can find it here.

Labels: ,