Ardumower Sunray: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Requirements)
(Compass calibration)
Zeile 10: Zeile 10:
  
 
=Compass calibration=
 
=Compass calibration=
# Install IMU module 35cm away from metal parts. Use 1m cable so you can move the module out of robot for calibration. Do no use metal parts (screws etc.) within 5cm of the module, use plastic screws. Fixate everything within 5cm of the module. A small movement of a cable etc. will make the calibration useless. [[File:Verteileraufputzdose_2017-01-22.jpg]]
+
# Install IMU module 35cm away from metal parts. Use 1m cable so you can move the module out of robot for calibration. Do no use metal parts (screws etc.) within 5cm of the module - use plastic screws. Fixate everything within 5cm of the module. A small movement of a cable etc. will make the calibration useless. [[File:Verteileraufputzdose_2017-01-22.jpg]]
 
# Move IMU out of robot and power-on robot.
 
# Move IMU out of robot and power-on robot.
 
# On the PC, start 'processing_mag'. [[File:Compass_calibration.png|600px]]
 
# On the PC, start 'processing_mag'. [[File:Compass_calibration.png|600px]]

Version vom 29. April 2017, 15:55 Uhr

Requirements

  • PCB 1.3 (incl. MC33926 motor drivers)
  • Arduino Due
  • IMU GY-88 (MPU6050, HMC5883L)
  • 2 perimeter coils (left, right), perimeter sender
  • motors using odometry
  • Bluetooth module

Code

https://github.com/Ardumower/Sunray

Compass calibration

  1. Install IMU module 35cm away from metal parts. Use 1m cable so you can move the module out of robot for calibration. Do no use metal parts (screws etc.) within 5cm of the module - use plastic screws. Fixate everything within 5cm of the module. A small movement of a cable etc. will make the calibration useless. Verteileraufputzdose 2017-01-22.jpg
  2. Move IMU out of robot and power-on robot.
  3. On the PC, start 'processing_mag'. Compass calibration.png
  4. Ensure there is at least >1m to all metal parts in the surrouding.
  5. Rotate IMU module slowly into all directions and collect > 20,000 measurements. Calibration ist performed transmitted continously to robot (robot confirms with a tone).
  6. Install IMU module in the robot at least 35cm away from metal parts.

User interface (for testing/development)

  1. On the PC, start 'processing_sunray'. The robot's sensors should be shown. At start (and every 3 minutes), the robot calibrates the Gyro and calibration status is shown in the user interface. After this is completed, you can verify the compass calibration by rotating the robot using the green joystick shown on the screen. Compass yaw and gyro yaw should be same up to 3 degree.

Sunray.png

Mapping

Localization