Operation manual: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
'''PITONtmpl.mdl''' - a template to use as a starting point for custom experiments | '''PITONtmpl.mdl''' - a template to use as a starting point for custom experiments | ||
* uses the MTT target | * uses the MTT target, with the MTT target it is not possible to use Simulink's external mode | ||
* vision running at 25Hz | * vision running at 25Hz | ||
* motion running at 1000Hz | * motion running at 1000Hz | ||
Line 30: | Line 30: | ||
== Running | == Running an experiment == | ||
# Build the Simulink model using ctrl+b | # Build the Simulink model using ctrl+b | ||
# Ensure the motor power is switched on, the power switch must be turned to the right | |||
# Open a terminal | |||
# Enable super user privileges by typing <tt>sudo su</tt> and using password ''PIT2011'' | |||
# Run <tt>./modelname</tt> in the terminal |
Revision as of 11:01, 25 October 2011
Start Ubuntu
- Switch on the setup with the power button on the power socket
- Start the computer
- Choose the default Linux Kernel
- Log in as PITONuser with password PIT2011
Start MATLAB
- Open a terminal.
- Type sudo matlab with password PIT2011
Simulink models
camCalibrate.mdl - can be used to position the camera
PITONlib.mdl - contains library blocks
- vision
- motor
- data storage
PITONtmpl.mdl - a template to use as a starting point for custom experiments
- uses the MTT target, with the MTT target it is not possible to use Simulink's external mode
- vision running at 25Hz
- motion running at 1000Hz
PITONexp1.mdl - an example experiment
Running an experiment
- Build the Simulink model using ctrl+b
- Ensure the motor power is switched on, the power switch must be turned to the right
- Open a terminal
- Enable super user privileges by typing sudo su and using password PIT2011
- Run ./modelname in the terminal