za
Fork of m3pi by
Diff: m3pi.cpp
- Revision:
- 3:c38d2f980494
- Parent:
- 2:330eb028e85b
- Child:
- 4:54c673c71fc0
diff -r 330eb028e85b -r c38d2f980494 m3pi.cpp --- a/m3pi.cpp Mon Nov 01 16:18:55 2010 +0000 +++ b/m3pi.cpp Mon Nov 01 23:30:09 2010 +0000 @@ -193,7 +193,8 @@ { "left_motor", rpc_method_caller<m3pi, float, &m3pi::left_motor> }, { "right_motor", rpc_method_caller<m3pi, float, &m3pi::right_motor> }, { "battery", rpc_method_caller<float, m3pi, &m3pi::battery> }, - { "sensors", rpc_method_caller<float, m3pi, &m3pi::line_position> }, + { "line_position", rpc_method_caller<float, m3pi, &m3pi::line_position> }, + { "sensor_auto_calibrate", rpc_method_caller<char, m3pi, &m3pi::sensor_auto_calibrate> }, RPC_METHOD_SUPER(Base)