Re: [Bug 1044] New: Broken error propogation logic within solvers

Sylvain Joyeux <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]>
On 10/09/2013 08:32 AM, Herman Bruyninckx wrote:
> The
> traditional API-based approach has problems with letting _all_ the
> monitoring information be accessible in the whole application, _because_
> one wants to communicate all that information through the method call
> signature.
Eh. Not since modern programming languages got there. You know, more
than 20 years ago. Sell your 'component-functional-block-oriented'
approach more because of the schedulability / control than monitoring.

Pure monitoring (i.e. status, internal monitoring measures) are usually
passed through dedicated method calls (since they don't have to
interrupt the control flow). This obviously hits the problem of
interpretation: if solver X has a given reporting structure and Y
another, you don't get a 'common' monitoring capability, and inheritance
can be used to provide common generic monitoring information without
losing the more detailed one.

Errors are passed through exceptions, which is allows for error
classification, inheritance and enrichment. The inheritance here, again,
allows for generic code to interpret part of the errors it can interpret
without loss of information.

-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space & Security Robotics
Underwater 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: [email protected]

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
----------------------------------------------------------------------- 

-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.