Using motoman in fake simulation? #510
-
Hi, I'm using motoman to stream points to a robot and want to do the same in a fake simulation so I can test code quicker in an environment as close to the real thing as possible. I've tried using localhost as the robot IP, hoping that it'd play nicely with the fake controllers we have set up via MoveIt, however, I get the same error from every motoman node:
I believe the hardware controller is expected run a MotoROS server to provide the interface to control the robot to motoman, so I'm wondering if the connection is failing since there's no server to communicate with in fake? Fake controllers (e.g. MoveIt's) do exist though, so I'm wondering if there's a way to use them with motoman. All of the topics I've seen online discuss using motoman with the real hardware controller, so I'm a little unsure where to start (or if it's even the best idea). I'd much appreciate any help and I'm open to suggestions 😄 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I'm not sure how that was supposed to work. MoveIt knows nothing about
MoveIt's "fake controllers" do not run a MotoROS server application, nor do they expose the same functionality. In fact, they're not even really controllers, as it's just a nice way to perform some kinematic playback of trajectories (ie: trajectory -> state -> visualisation). So no, they cannot be used with This is not unique to Unfortunately, MotoSim does not support running MotoPlus applications at this time, so that wouldn't work either. There is a non-MotoPlus-based version of the MotoROS server application, created by a community member (@tingelst): ra-mtp-ntnu/moto. Technically it's a Python implementation of Simple Message, with a couple of scripts to implement some basic server functionality which mimics MotoROS to a certain degree. I've used that locally for testing But, and this is a fairly large but: this only gets you the basic, minimal Simple Message server application. It does not simulate anything really, nor does it behave exactly the same as MotoROS. And I believe in your case, you've changed how All of this assumes of course you need to 'simulate' at this level. If all you're after is seeing a robot move in a UI, skip But this:
makes me believe that's not the case. |
Beta Was this translation helpful? Give feedback.
I'm not sure how that was supposed to work. MoveIt knows nothing about
motoman_driver
or the other way around.motoman_driver
interfaces with a MotoROS server application -- typically running on a Yaskawa Motoman robot controller.MoveIt's "fake controllers" do not run a MotoROS server application, nor do they expose the same functionality. In fact, they're not even really controllers, as it's just a nice way to perform some kinematic playback of trajectories (ie: trajectory -> state -> visualisation).
So no, they cannot be used with
motoman_driver
.This is not un…