gears on dynamic bodies

Are there any plans to support gears on joints that aren't connected to static bodies? I've played with the "Gears" example a bit, making the ground body dynamic. After removing some asserts, it almost seems to work. I made my own test, a railroad hand car model, and it runs pretty well with no library modifications. It would be cool if the gears feature was expanded for dynamic bodies.
I'd like to do that some day. It is a bit complicated when a constraint involves more than 2 bodies.

Your example will probably work fine until the base body starts rotating.

If someone wants to make gears work with dynamic base bodies, I'd be happy to accept a patch.
I wonder if the same hack would work for tank treads. Phervers and I have been doing a lot of experimenting with tank treads for our tank game, and having a situation where the friction was infinite between the wheels and treads would make things a lot easier.
I doubt that gears could be made to work with tank treads since gears just couple two joint coordinates. Did you try making the tank wheel polygonal to fit the shape of the tread?

Original thread: https://box2d.org/forum/viewtopic.php?t=230