I am currently on the PR2 groovy, so I am using the package pr2_controllers and pr2_controller_manager, but I hope that my question is not totally inappropriate for this list.
Is there anything that prevents a controller from using the controller_loader_ (as in https://github.com/ros-controls/ros_control/blob/3bde6882071ccaca3e954074875b93cac89ca725/controller_manager/include/controller_manager/controller_loader.h#L71) to itself load plugins? Is there any global state or anything that might complicate it?
I am trying it, and it's not working, and I just was wondering if anyone had any idea about this.
My purpose for doing this is to have a sort of meta-controller that switches between two existing controllers. If it turns out that this doesn't work, I will just compile-time link to the existing controllers, but it would be nice to be able to use the plugin infrastructure.
--
You received this message because you are subscribed to the Google Groups "ROS/Orocos Robot Control Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-robot-co...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mon, Mar 30, 2015 at 10:55 PM, Gustavo Goretkin <gustavo....@gmail.com> wrote:I am currently on the PR2 groovy, so I am using the package pr2_controllers and pr2_controller_manager, but I hope that my question is not totally inappropriate for this list.
Is there anything that prevents a controller from using the controller_loader_ (as in https://github.com/ros-controls/ros_control/blob/3bde6882071ccaca3e954074875b93cac89ca725/controller_manager/include/controller_manager/controller_loader.h#L71) to itself load plugins? Is there any global state or anything that might complicate it?I can't speak for the pr2_controller_manager, but considering that ros_control is an evolution of it, it should be possible. Jon Bohren even went ahead and gave the idea a whirl back in early 2013. It did not go much further, as Jon then moved on to the conman project. Anyway, here's what he did:
https://github.com/jhu-lcsr-attic/composite_controllersAdolfo.
I am trying it, and it's not working, and I just was wondering if anyone had any idea about this.
My purpose for doing this is to have a sort of meta-controller that switches between two existing controllers. If it turns out that this doesn't work, I will just compile-time link to the existing controllers, but it would be nice to be able to use the plugin infrastructure.
--
You received this message because you are subscribed to the Google Groups "ROS/Orocos Robot Control Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-robot-control+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Jad,
what you describe is standard control approach for electrical motors, where multiple controllers are connected into cascade. Check this animation (second diagram).
Generally speaking, you will almost always have some kind of cascade control in you robotics system. It is only important that "outer" control loop are slower than inner. In case of DC-Motor control from animation means that current-control loop is faster than speed control loop.
If you would like to control you robot I would recommend to use position or velocity controllers for the motor, because you want this controllers to just work at fast frequency. Than you use ROS for high-level control, like execution of the path.
I hope this helps you a bit.
Best regards,
Denis Štogl
> > PAL ROBOTICS S.L
> > c/ Pujades 77-79, 4º4ª
> > 08005 Barcelona, Spain.
> > Tel. +34.93.414.53.47
> > Fax.+34.93.209.11.09
> > Skype: adolfo.pal-robotics
> > Facebook <http://www.facebook.com/palrobotics1> - Twitter
> > <http://twitter.com/#%21/palrobotics> - PAL Robotics YouTube Channel
> >
> > AVISO DE CONFIDENCIALIDAD: Este mensaje y sus documentos adjuntos, pueden
> > contener información privilegiada y/o confidencial que está dirigida
> > exclusivamente a su destinatario. Si usted recibe este mensaje y no es el
> > destinatario indicado, o el empleado encargado de su entrega a dicha
> > persona, por favor, notifíquelo inmediatamente y remita el mensaje
> > original
> > a la dirección de correo electrónico indicada. Cualquier copia, uso o
> > distribución no autorizados de esta comunicación queda estrictamente
> > prohibida.
> >
> > CONFIDENTIALITY NOTICE: This e-mail and the accompanying document(s) may
> > contain confidential information which is privileged and intended only for
> > the individual or entity to whom they are addressed. If you are not the
> > intended recipient, you are hereby notified that any disclosure, copying,
> > distribution or use of this e-mail and/or accompanying document(s) is
> > strictly prohibited. If you have received this e-mail in error, please
> > immediately notify the sender at the above e-mail address.
--
Karlsruhe Institute of Technology (KIT)
Faculty for Informatics
Institute for Anthropomatics and Robotics – Intelligent Process Control and Robotics Lab (IAR-IPR)
Denis Štogl, M.Sc.
Research Assistant
Intelligent Industrial Robotics Group (IIROB)
Engler-Bunte-Ring 8, Building 40.28, Room 002.1
76131 Karlsruhe
Phone: +49 721 608-46903
Fax: +49 721 608-47141
Email: denis...@kit.edu
KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association