Droid using pixy2 camera
Pixy2 camera is used for Tracking using PID for engines (left/right) or servos.
h# print the menu
S# Start
s# Stop
T# tracking on
t# tracking off
L1/0# lamp on/off
E1/0# engine pan tracking on/off
pxx# horizontal position of camera
Pxx# set Kp
P# get Kp
Ixx# set Ki
I# get Ki
Dxx# set Kd
D# get Kd
Android application:
Pixy2 camera is used to read bar codes from the ground, those code instruct the droid how to move, those could be overrided from app or ble commands.
0 is left
3 is bacward
4 is forward
5 is right
6 is delay (stop 10000 ms)
h# print menu
s# stop
S# start
l1/0# lights on/off
a# autocalibration
L# left with turn90 delay
R# right with turn90 delay
txxx# set turn90
t# get turn90
sxxx,xxx# set servo tilt,pan
vxxx# set the current power
v# get current power
m[b/l]# set barcode or line
S[l,r,s,f,b] set code for barcodes (left, right, stop 10s, forward, backward)
G[l,r,s,f,b] get code for barcodes (left, right, stop 10s, forward, backward)