-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reload!() doesn't publish DRAKE_VIEWER_ADD_ROBOT message on Linux #19
Comments
The limit seems to be 66 links for Valkyrie. With 66 links, |
Crap. I've probably never seen this because all of my computers have their UDP packet sizes turned up for various DRC-related reasons. The issue is presumably because we're pushing the mesh data through with the A few options:
|
There is one more possibility. Director has a "mesh manager" which listens on lcm for mesh data. This was used by the affordance server in director. So you could send meshes to the mesh manager, and then when you load a robot, you could set the filename field to something customized like: |
Interesting; I hadn't thought of that, thanks. I think that would work fine for Val, but not as well for my other use case, which is visualizing soft robots. For the soft robots, I generate an entirely new mesh at every time step (that's also why I don't want to write the meshes to disk). It seems like registering new meshes with the manager every time I want to draw them would add extra complexity and state (especially if the load_robot message happened to be delivered before the corresponding |
I'd be happy with 3 above. Happier still with 4, but I know that's a lot of work. For now, how does 2 work? I tried |
@tkoolen does running the |
I notice that my Linux desktop has MTU 1500 on the eth0 interface, but 65536 on the loopback interface. Full output of ifconfig:
|
No luck with the script, and no luck with MTU 65536. I thought 9000 was the maximum, but I guess that's only for ethernet devices? |
did you try running these commands:
|
From discussion with @patmarion I'm leaning towards 2 being the solution for now, but I've started looking into what 4 would require. ZeroMQ + Msgpack is a pretty nice combination. |
Thanks, that made the LCM message show up in bot_spy, but drake-visualizer still isn't getting the message it seems. |
@rdeits investigated the above. It turns out it's due to me being on 16.04, for which the drake-visualizer binary is out of date, so drake-visualizer doesn't listen to the same LCM channel on which DrakeVisualizer.jl is publishing the |
I'll make you guys an updated binary. I have to do it manually for ubuntu-16. @rdeits and I are discussing ways to automate. |
fyi, to avoid running those sudo commands again, edit
|
Thanks, Pat! |
@tkoolen did Pat's workaround fix the issue? If so, I think we should add it to the readme and then close this. I think the ZMQ approach might be the right thing eventually, but with the workaround LCM can limp along for a little while longer. |
It did, yeah. I was waiting to test the updated 16.04 build before closing this issue, but forgot to do so before leaving for home. I trust that it has been fixed though. Yeah, if you could add it to the readme, that would be great, and feel free to close after that. |
Ok, done. |
I think this may have to do with maximum UDP package size.
This is with the Valkyrie model. Everything works correctly on OSX. Also, on Linux, if I just do
bot-spy
shows that the message is indeed being published, but the messageDrakeVisualizer.reload()
tries to publish never gets picked up bybot-spy
ordrake-visualizer
. If I changereload!
to only add e.g. the first 60 links (out of 81) added tomsg.link
, then everything is fine as well.The text was updated successfully, but these errors were encountered: