[Rock-dev] make moving speed configurable in orogen-servo_dynamixel / dynamixel
Dennis Mronga
dennis.mronga at dfki.de
Wed Dec 11 13:25:02 CET 2013
On 11.12.2013 12:01, Jakob Schwendner wrote:
>
> Hi Dennis,
>
> I already envisaged this scenario when I wrote the module, but did not
> completely implement it.
>
> There is a type in base, which is called base::JointLimits, which I
> wrote so that you could set the software limits in modules like e.g.
> the servo dynamixel.
>
You're right. I think using the joint limits type is the right way to do
it.We already used it in a couple of components and it seems to work fine
>
> I my oppinion, here is what you should do to get what you want:
>
> -Add a "joint_limits" property to the servo_dynamixel module, of the
> typee base::JointLimits
>
> -Set the moving_speed and the torque limit in the configure hook
> according to the limits in your property. Assume max value if there
> are no limits given for the joints.
>
> -On each command that you receive, you can run a validate over the
> limits, to check if your input values are fine. I guess it would be
> good to have it configurable to what should happen if there are not
> (e.g. throw, warn, or whatever)
>
> The JointLimits has never been used before I think. It may have some
> rough edges... Let me know if you are unsure about certain things, or
> want to change something.
>
OK
>
> Cheers,
>
> Jakob
>
>
> *From:*rock-dev-bounces at dfki.de [mailto:rock-dev-bounces at dfki.de] *On
> Behalf Of *Dennis Mronga
> *Sent:* Mittwoch, 11. Dezember 2013 11:37
> *To:* rock-dev at dfki.de
> *Subject:* [Rock-dev] make moving speed configurable in
> orogen-servo_dynamixel / dynamixel
>
> Hi,
>
> I would like to have the possibility to set the moving speed of a
> servo at configuration time. Right now it is set to 1023 by default
> and has to be changed via the command input port, which does not fit
> our needs. Same goes for the torque limit.
>
> If there are no objections, I would like to add two new members
> "moving_speed" and "torque_limit" to ServoConfiguration and make the
> respective changes in the orogen component
>
> Best,
>
> Dennis
>
--
Dipl.-Ing. Dennis Mronga
Researcher
Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-6560
Zentrale: +49 421 178 45-4100
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: dennis.mronga 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
-----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20131211/1da84ea1/attachment-0001.htm
More information about the Rock-dev
mailing list