Matlab

From RobotinoWiki
Revision as of 13:59, 9 March 2011 by Verbeek (talk | contribs) (Frequently Asked Questions)

Installation

Robotino matlab icon 64.png A full set of m-Files and Simulink blocks is available for controlling all actuators of Robotino and reading all of its sensors. Download the executable and run the installer.

Package links

Robotino Matlab drivers

Important Notes

  1. Make sure you allow the installer to create the Desktop shortcut during installation. By doing so, if you click on the 'RobotinoMatlabDrivers' shortcut, you will be directed to the directory which contains the m-files and Simulink blocks and the necessary paths will be automatically loaded in MATLAB.

Robotino Toolbox [MATLAB m-files]

The Robotino Toolbox provides an extensive set of MATLAB functions which enable users to control nearly all actuators of Robotino and read all of its sensors in MATLAB. Robotino's Toolbox contains the following MATLAB functions.

MATLAB drivers for Robotino

  1. AnalogInput
  2. Bumper
  3. Com
  4. Camera
  5. DigitalInput
  6. DigitalOutput
  7. DistanceSensor
  8. EncoderInput
  9. Gripper
  10. Info
  11. LaserRangeFinder
  12. Manipulator
  13. Motor
  14. Odometry
  15. OmniDrive
  16. PowerManagement
  17. PowerOutput
  18. Relay

Online Documentation

An online version of the documentation for Robotino's Toolbox can be viewed here.

Robotino Blockset [Simulink blocks]

The Robotino Blockset provides an extensive set of simulink blocks which enable users to control nearly every aspect of Robotino in Simulink. lib_robotinohardware.mdl contains the set of simulink blocks representing Robotino's hardware components. These blocks are build on top of the RobotinoMatlab m-files. Robotino's blockset contains the following simulink blocks.

Simulink blocks for Robotino

  1. AnalogInput
  2. Bumper
  3. Com
  4. Camera
  5. DigitalInput
  6. DigitalOutput
  7. DistanceSensor
  8. EncoderInput
  9. Gripper
  10. LaserRangeFinder
  11. LineFollower
  12. Manipulator
  13. Motor
  14. Odometry
  15. OmniDrive
  16. PowerManagement
  17. PowerOutput
  18. Relay

Online Documentation

An online version of the documentation for Robotino's Blockset can be viewed here.

Frequently Asked Questions

  • Help for Robotino Toolboox and Blockset not visible?
In this case in MATLAB, go to File>Preferences>Help. Make sure that 'Enable product filter' is not checked.
  • How to change directory to RobotinoMatlab ?
The installation sets an environment variable 'ROBOTINOMATLAB_DIR' which points to the RobotinoMatlab dir. To change the directory to RobotinoMatlab simply enter the following in MATLAB's Command Window
cd ( getenv('ROBOTINOMATLAB_DIR'))

Uninstallation

The Robotino MATLAB Drivers can be uninstalled in any one of the following ways.

  • StartMenu > All Programs > Festo Didactic > RobotinoMatlab > Uninstall RobotinoMatlab
  • Uninstall the program from the Control Panel.