The Qbot Sensors Are Not Being Read Correctly Or They Are Stuck At Some Constant Value; The Qbot Magnetometer Values Drift While The Qbot Is Moving In A Straight Line - Quanser qbot User Manual

Table of Contents

Advertisement

Quanser Qbot: User Manual
never flashes, the wireless antenna or wireless module may be disconnected. Turn off the
Qbot power and open the Qbot lid by removing the four lid screws shown in Figure 16
and verify that the Gumstix wireless module and antenna are properly connected. The
wireless module shown in Figure 17 is located on the bottom side of the green Gumstix
computer inside the Qbot cargo bay. Make sure the wireless module and antenna are se-
curely connected and retry the above steps to establish a wireless connection.
6.3. The Qbot sensors are not being read correctly or they
are stuck at some constant value.
1. Using the VAL Read Sensors block, output all possible channels. Check these outputs us-
ing scopes and displays, and determine if the problem lies with a particular sensor, or set of
sensors, or if the issue is global across all sensors.
2. Create a new Simulink model and add a HIL Initialize and HIL Write block. Select the
"qbot" board type in the HIL Initialize block. Open the HIL Write block and select only di-
gital output channel 7. Connect either a square wave going from 0 to 1, or a constant block
to the input of the HIL Write block. Compile and run the model. Verify that the LED leveled
DIO7 on the Qbot lid turns on and off when the input to the HIL Write block goes from 1 to
0, respectively. If the DIO7 LED does not turn on, there is a communication failure between
the Gumstix and the Qbot computer.
6.4. The Qbot magnetometer values drift while the Qbot is
moving in a straight line.
1. The magnetometer detects the Earth's magnetic fields as wells as external magnetic
fields. Metal underneath the floor or in surrounding structures will affect the direction of the
magnetic fields, thus affecting the Qbot magnetometer measurements. This is a fundamental
limitation of any magnetometer device.
Figure 17: Wifi Module
Document Number: 830  Revision: 7  Page: 20

Advertisement

Table of Contents
loading

Table of Contents