Module Expr Str Import alias ImportFrom alias Assign NameStore Call NameLoad Str Num Expr Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Num FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpSub Num BinOpMult Num Call AttributeLoad NameLoad attr NameLoad BinOpMult Num Call AttributeLoad NameLoad attr NameLoad decorator_list While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Num body Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Print Str
N/A N/A 
open-dobot Calibration Tool.

This tool continuously reports accelerometers and angles from those.

Use this tool to find offsets for your accelerometers:
1. Turn off power on the arm and disconnect USB cable
2. Remove accelerometers from the arm and put them on a flat surface that has no inclination
3. Connect USB cable
4. Enable accelerometers reporting mode
4.1. Press and hold the "Sensor Calibration" button
4.2. Press and release the "Reset" button
4.3. Start this tool (still holding "Sensor Calibration" button)
4.4. Wait for the accelerometer data to start flowing on your console/whatever_you_use_to_start_this_tool
4.5. Release the "Sensor Calibration" button
5. Gently push down the accelerometers so that they are evenly on the surface. Don't touch any contacts/leads.
	You can push them one by one, not necessary to push both at the same time
6. Note the "Raw" data from accelerometers reported on the console. Those are your accelerometers' offsets
7. Turn off power on the arm, disconnect USB cable, mount accelerometers back onto the arm 

Author: maxosprojects (March 18 2016)
Additional Authors: <put your name here>

Version: 0.4.0

License: MIT
 N/A math DobotDriver DobotDriver N/A driver N/A DobotDriver /dev/tty.usbmodem1421 115200 N/A N/A N/A driver Open N/A offsets N/A 1024 1024 toEndEffectorHeight N/A N/A rear fore N/A N/A N/A N/A N/A 88.0 N/A 160.0 N/A N/A math sin fore N/A 135.0 N/A N/A math sin rear N/A N/A True N/A N/A ret N/A N/A driver GetAccelerometers N/A N/A ret N/A 0 N/A N/A N/A N/A Rear arm: {0:10f} | Forearm: {1:10f} | End effector height: {2:10f} | Raw rear arm: {3:4d} | Raw forearm: {4:4d} format N/A N/A driver accelToAngle N/A ret N/A 1 N/A offsets N/A 0 N/A N/A driver accelToAngle N/A ret N/A 2 N/A offsets N/A 1 N/A toEndEffectorHeight N/A N/A driver accelToRadians N/A ret N/A 1 N/A offsets N/A 0 N/A N/A driver accelToRadians N/A ret N/A 2 N/A offsets N/A 1 N/A ret N/A 1 N/A ret N/A 2 N/A N/A Error occurred reading data