From 49c97fc3dedbeb92a8169a38ea782113e3e5b575 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 29 Mar 2013 23:31:19 +0100 Subject: digital/ai, digital/mimot: add simulated mimot for APBirthday Not very complicated, mimot is only used for the pump. --- digital/mimot/src/dirty/models.host.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'digital/mimot/src') diff --git a/digital/mimot/src/dirty/models.host.c b/digital/mimot/src/dirty/models.host.c index 40586673..521b2b3c 100644 --- a/digital/mimot/src/dirty/models.host.c +++ b/digital/mimot/src/dirty/models.host.c @@ -93,6 +93,23 @@ static const struct robot_t guybrush_robot = NULL, }; +/* APBirthday, APBTeam 2013. */ +static const struct robot_t apbirthday_robot = +{ + /** Auxiliary motors, NULL if not present. */ + { &motor_model_def_amax32ghp_x16, NULL }, + /** Motors voltage (V). */ + 24.0, + /** Number of steps for each auxiliary motor encoder. */ + { 250, 0 }, + /** Load for auxiliary motors (kg.m^2). */ + { 1.000 * 0.05 * 0.05, 0 }, + /** Sensor update function. */ + NULL, + /** Initialisation function. */ + NULL, +}; + /* Table of models. */ static const struct { @@ -102,6 +119,7 @@ static const struct { "marcel", &marcel_robot }, { "robospierre", &robospierre_robot }, { "guybrush", &guybrush_robot }, + { "apbirthday", &apbirthday_robot }, { 0, 0 } }; -- cgit v1.2.3