Closed stefanscherzinger closed 11 months ago
I like the idea in general, but implementation-wise I think we can improve this. I haven't yet found a full solution, but Id prefer something that includes the correct files depending on the use case.
Ideally, the implementation-specific parameters for the simulator would live inside their respective repositories.
We could here work with strings for plugins and objects for parameters, similar how origin
block is provided.
@stefanscherzinger #114 (and the discussion there) might be relevant in this context, as well.
Closing this in favor of #114 and #121
Goal
By setting the
use_custom_simulator
parameter, users can specify their ownros2_control
andhardware
tags inside their robot description.Motivation
This allows users to implement their own simulators with custom
system_interfaces
. I came across this necessity while implementing a MuJoCo-basedsystem_interface
. I couldn't find a way to do that with the current choice of simulators inside the xacro macros.Example usage
Here's a use case with a custom UR5e:
And here's the joint macro: