Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: main.cpp
- Revision:
- 48:a1a09c83d42c
- Parent:
- 47:1c9868e226d0
- Child:
- 49:da8604278d76
--- a/main.cpp Tue Jan 10 05:35:24 2017 +0000 +++ b/main.cpp Fri Jan 13 08:07:34 2017 +0000 @@ -51,7 +51,6 @@ if (control_enabled && !io.throttle_in->get_enabled()) go_disabled(); if (control_enabled && !io.pos->IsValid()) go_disabled(); if (!control_enabled && io.throttle_in->get_enabled()) go_enabled(); -// io.pc->printf("Passed safety checks.\n"); /*update velocity, references*/ update_velocity(); @@ -152,10 +151,10 @@ } int main() { - dq = new LinearNoFWMapper(KT, TORQUE_MAX, FLUX_LINKAGE); + dq = new LutMapper();//LinearNoFWMapper(KT, TORQUE_MAX, FLUX_LINKAGE); th = new NullThrottleMapper(); BREMSInit(&io, &read, &foc, &control, false); - + for (;;) { } } \ No newline at end of file