[Rock-dev] changed to double on base::JointState
Leif Christensen
leif.christensen at dfki.de
Thu Aug 15 10:26:42 CEST 2013
Am 15.08.2013 09:18, schrieb Jakob Schwendner:
> The other fields should be fine with float... Was that change made
> to keep consistency within the type?
The change was due to the fact, that the getField() method returns
double for all fields.
My assumption was, that the logs would use the getter Methods, so either
one could template the getter method or write single getter methods per
field, but Sylvain said, that this would lead to other complications I
don't remember.
But since I learned, that logging has direct access to the member
fields, it would make sense to switch the other fields back to float...
LG,
Leif
--
Leif Christensen
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4149
Fax: +49 (0)421 17845-4150
E-Mail: leif.christensen 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