Quanser qbot User Manual page 15

Table of Contents

Advertisement

Quanser Qbot: User Manual
6. In the Simulink Library Browser, navigate down QUARC Targets → Data Acquisition →
Generic → Configuration. The HIL Initialize block is required to communicate with the
Qbot DAC. Choose a Board name. Select the board type "qbot" to target the Qbot when
running the model.
7. Add the HIL Read Write block from QUARC Targets → Data Acquisition → Generic →
Immediate I/O to read infrared sensor (analog) and sonar measurements from the vehicle.
The Qbot DAC also supports PWM write channels [0:3].
8. For image processing using the on-board camera, use the blocks in QUARC Targets Beta
→ Image Processing → Open Source Computer Vision.
9. Select "External" for simulation mode, instead of "Normal", which indicates that the
model is to be run on the target machine (Gumstix) rather than simulating the model on
the host machine. Table 2 and Table 4 list the block sets supported by the Quanser Qbot,
and Table 3 highlights the more important Qbot blocks.
Document Number: 830  Revision: 7  Page: 12

Advertisement

Table of Contents
loading

Table of Contents