[Rock-dev] Replacement for base::actuators::MotorState

Sylvain Joyeux sylvain.joyeux at dfki.de
Tue Feb 19 14:27:39 CET 2013


On 02/19/2013 01:16 PM, Janosch Machowinski wrote:
> On 19.02.2013 11:20, Sylvain Joyeux wrote:
>>>            ///Encoder at the motor shaft
>>>            Encoder motorShaftEncoder;
>>>
>>>            ///Encoder at the output side
>>>            ///e.g. behind the gearbox
>>>            Encoder ouputSideEncoder;
>> And what about cases where there are more than two encoders ? This
>> encoder thing was the very reason that we wanted a bigger discussion.
> I would prefer to not use a dynamic data structure here. But one thing
> one could do is :
>
> enum ENCOODER_POSITION
> {
>       POSITION_MOTOR_SHAFT,
>       POSITION_OUTPUT_SIDE,
>       .
>       .
>       .
> };
>
> and use an std::vector<Encoder>.
Isn't that a dynamic data structure ?

I am personally fine with having a "description" of the chain on the one 
hand and a "status" on the other, related to the way you do here. This 
is also how KDL works (you describe the kinematic chain on one hand and 
give joint readings on the other).

> In general I am not too happy with the encoder type. It would be nice to
> have distinct absolute/incremental encoders.
I don't really see the need for distinction in the first place, actually.

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