Robobot processor: Difference between revisions

From Rsewiki
Line 32: Line 32:
  sethw 8
  sethw 8
  eew
  eew
* Set robot wheel configuration
 
 
==== robot wheel configuration ====
  confw rl rr gear TPR wb
  confw rl rr gear TPR wb
* Calibrate line sensor, place on white tape (all sensor)
==== Line sensor ====
Place robot on white tape (all sensors)
  licw
  licw
  eew
  eew
* Calibrate distance sensor (values need to be found)
==== distance sensor ====
Values need to be found.
  irc A13 A50 B13 B50 1
  irc A13 A50 B13 B50 1
* gyro calibration
==== gyro calibration ====
  gyroc
  gyroc
* logger flags
==== logger flags ====
  lfls 0 acc gyro 0 0 motv mota enc vel turnrate pose line dist batt timing 0 0
  lfls 0 acc gyro 0 0 motv mota enc vel turnrate pose line dist batt timing 0 0
* save to flash:
==== save to flash ====
  eew
  eew

Revision as of 16:50, 25 January 2025

Back to Robobot

Reset of Teensy configuration

Configuration commands to update or initialize a Robobot with version 8 PCB.

Fresh software

Upload the newly compiled software (from Raspberry or directly from a PC), e.g.

./upload
Teensy Loader, Command Line, Version 2.3
Read "build/teensy_firmware_8.ino.hex": 202752 bytes, 2.5% usage
Waiting for Teensy device...
 (hint: press the reset button)

Remember to hold the power button.

Fresh flash configuration

If the flash configuration has changed, then use these commands.

  • Set robot number to invalid:
setidx 0
  • Reboot the processor
./upload 

Configure and calibrate

  • Set a valid robot number
setidx <robot-number>
sethw 8
eew


robot wheel configuration

confw rl rr gear TPR wb

Line sensor

Place robot on white tape (all sensors)

licw
eew

distance sensor

Values need to be found.

irc A13 A50 B13 B50 1

gyro calibration

gyroc

logger flags

lfls 0 acc gyro 0 0 motv mota enc vel turnrate pose line dist batt timing 0 0

save to flash

eew