[Rock-dev] Roby: Using different configurations - conceptual error or bug?

Sylvain Joyeux sylvain.joyeux at dfki.de
Thu Feb 16 17:59:35 CET 2012


On 02/16/2012 03:45 PM, Allan E. Conquest wrote:
> Hi,
>
> I would like to use non-default configurations for
>
> a) the general running case (like the time before or between any
> mission) [here: 'studiobad'] and
> b) mission specific configurations? [here: 'default', 'wall_servoing']
>
> The following is our situation:
>
> Robot.devices do
>    device(Dev::Micron, :as =>  'sonar').
>      period(0.01).
>      use_conf("studiobad")
> end
>
> wall_device = device('sonar').use_conf('default', 'wall_servoing')
> define('wall', Cmp::VisualServoing.use(Cmp::WallDetector.use(wall_device)))

This is currently not possible. We would need, for that, to have some 
kind of "do X unless impossible", which does not exist.

So, you have to make the "idle" case an explicit definition and switch 
between that and (here) the wall servoing. For instance, you can create 
a IdleSystem composition that lists what you want to run when you are 
not in a mission, and make your management logic switch between that 
idle composition and the other modes.
-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list