Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

RoBoard and Matlab questions

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
2 postsPage 1 of 1
2 postsPage 1 of 1

RoBoard and Matlab questions

Post by wahooburger » Wed Mar 24, 2010 10:42 pm

Post by wahooburger
Wed Mar 24, 2010 10:42 pm

Hello all,

I am currently working on a project using sensor fusion of acoustic, infrared, FMCW radar sensors to perform indoor mapping. I would like to use Matlab installed on WinXP OS on the Roboard platform to implement this project.

I would greatly appreciate it if those with experience working on the RoBoard platform could point me to any tips, examples, tutorials that may instruct me on how I can use Matlab to:

Control and access the I2C hardware bus on the Roboard (get orientation data from HMC6352)

control and access the built-in A/D (capture the analog envelope output from ultrasound sensors)

Many thanks for your kind assistance!

Best Regards,
Andy
Hello all,

I am currently working on a project using sensor fusion of acoustic, infrared, FMCW radar sensors to perform indoor mapping. I would like to use Matlab installed on WinXP OS on the Roboard platform to implement this project.

I would greatly appreciate it if those with experience working on the RoBoard platform could point me to any tips, examples, tutorials that may instruct me on how I can use Matlab to:

Control and access the I2C hardware bus on the Roboard (get orientation data from HMC6352)

control and access the built-in A/D (capture the analog envelope output from ultrasound sensors)

Many thanks for your kind assistance!

Best Regards,
Andy
wahooburger
Newbie
Newbie
Posts: 5
Joined: Wed Mar 24, 2010 10:38 pm

Post by veltrop » Thu Mar 25, 2010 5:27 am

Post by veltrop
Thu Mar 25, 2010 5:27 am

The RoBoIO library that the Roboard uses is based on C. You'll have to write some routines in C to get the data, then you can call the C code from Matlab.

http://www.mathworks.com/support/compil ... rom_MATLAB

You could also do the reverse, and call Matlab routines from C code but it sounds like you want to do the bulk of your coding from within Matlab.

I haven't used Matlab since college, and didn't do any interfacing with C, so sorry but I can't be of much more help on that side.
The RoBoIO library that the Roboard uses is based on C. You'll have to write some routines in C to get the data, then you can call the C code from Matlab.

http://www.mathworks.com/support/compil ... rom_MATLAB

You could also do the reverse, and call Matlab routines from C code but it sounds like you want to do the bulk of your coding from within Matlab.

I haven't used Matlab since college, and didn't do any interfacing with C, so sorry but I can't be of much more help on that side.
veltrop
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 59
Joined: Wed Jul 22, 2009 8:04 am
Location: Japan


2 postsPage 1 of 1
2 postsPage 1 of 1