Matlab
From RobotinoWiki
Contents
Installation
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 |
---|
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'))
You will also need to add the 'toolbox' and 'blockset' directories to MATLAB's search path. This can be done as follows
addpath( strcat( getenv('ROBOTINOMATLAB_DIR'), '/blockset' ) ); addpath( strcat( getenv('ROBOTINOMATLAB_DIR'), '/toolbox' ) );or you could also just run the 'startup.m' file in RobotinoMatlab folder.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
# AnalogInput # Bumper # Com # Camera # DigitalInput # DigitalOutput # DistanceSensor # EncoderInput # Gripper # Info # LaserRangeFinder # Manipulator # Motor # Odometry # OmniDrive # PowerManagement # PowerOutput # RelayOnline 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. The simulink blocks are located in the 'RobotinoMatlab/blockset' directory. 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
# AnalogInput # Bumper # Com # Camera # DigitalInput # DigitalOutput # DistanceSensor # EncoderInput # Gripper # LaserRangeFinder # LineFollower # Manipulator # Motor # Odometry # OmniDrive # PowerManagement # PowerOutput # RelayOnline 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.