Difference between revisions of "Matlab"

From RobotinoWiki
(Installation)
(Robotino Toolbox [MATLAB m-files])
Line 16: Line 16:
  
 
== Robotino Toolbox [MATLAB m-files] ==
 
== 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.
+
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. The m-files are located in the 'RobotinoMatlab/toolbox' directory. Robotino's Toolbox contains MATLAB functions for the following sensors and actuators.
  
 
=== MATLAB drivers for Robotino ===
 
=== MATLAB drivers for Robotino ===

Revision as of 14:41, 9 March 2011

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

Using the Robotino MATLAB drivers

The installation sets an environment variable 'ROBOTINOMATLAB_DIR' which points to the RobotinoMatlab dir. Change the working directory to 'RobotinoMatlab' by simply entering the following in MATLAB's Command Window

cd ( getenv('ROBOTINOMATLAB_DIR'))

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. The m-files are located in the 'RobotinoMatlab/toolbox' directory. Robotino's Toolbox contains MATLAB functions for the following sensors and actuators.

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.

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.