Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasssadar committed May 10, 2012
1 parent f6695cb commit caa9019
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
3piControl
=================
...is program for 3pi robot (http://www.pololu.com/catalog/product/975).
Main purpose is controlling 3pi via bluetooth with smartphone/transmitter/etc.

Protocol
=================
Program currently handles only one packet with following structure:

/* header */
0xFF // start byte
0x01 // device id
0x05 // length
0x04 // opcode
/* data */
int16_t right_speed; // -255 to 255
int16_t left_speed; // -255 to 255

Output
=================
It sends back only text, in initial state it is voltage:
\rXXXX mv

When you press button A, it sends values from sensors:
XXXX XXXX XXXX XXXX XXXX \n

Buttons
=================
Button A - switches between voltage and sensors info
Button B - switches the soft acceleration mode
Button C - sensors calibration





0 comments on commit caa9019

Please sign in to comment.