Operation manual: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
==  Simulink models ==
==  Simulink models ==


'''camCalibrate.mdl''' - can be used to position the camera
'''camCalibrate.mdl''' - can be used to position the camera with respect to the needle and to determine appropriate settings


'''PITONlib.mdl''' - contains library blocks
'''PITONlib.mdl''' - contains library blocks
Line 23: Line 23:


'''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, with the MTT target it is not possible to use Simulink's external mode
* uses the MTT (Multi Threaded) target, it is not possible to use Simulink's external mode with the MTT target
* vision running at 25Hz
* vision running at 25Hz
* motion running at 1000Hz
* motion running at 1000Hz

Revision as of 14:16, 25 October 2011

Start Ubuntu

  1. Switch on the setup with the power button on the power socket
  2. Start the computer
  3. Choose the default Linux Kernel
  4. Log in as PITONuser with password PIT2011


Start MATLAB

  1. Open a terminal.
  2. Type sudo matlab with password PIT2011


Simulink models

camCalibrate.mdl - can be used to position the camera with respect to the needle and to determine appropriate settings

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 (Multi Threaded) target, it is not possible to use Simulink's external mode with the MTT target
  • vision running at 25Hz
  • motion running at 1000Hz

PITONexp1.mdl - an example experiment


Running an experiment

  1. Build the Simulink model using ctrl+b
  2. Ensure the motor power is switched on, the power switch must be turned to the right
  3. Open a terminal
  4. Enable super user privileges by typing sudo su and using password PIT2011
  5. Run ./modelname in the terminal