Comments (2)
Another alternative has always been to avoid the zmqserver. I have a working version of meshcat visualizer in python that relies only on ipython kernel comms as the transport. That works great on local machines, but not on colab / deepnote (both of which use a custom kernel implementation).
But perhaps I should consider a visualizer that hosts the websocket connection directly (as zmqserver does now). This would be instead of kernel comms, would have the advantage that it would work outside of jupyter, but would still cut out the zmq layer. This feels like perhaps the best solution. There are still many decisions to be made (do I support multiple clients? do I store the scene tree on the server and allow a new client to get the history, or act more like drake visualizer and require the viewer to connect before any important message is sent?).
Here's a burn-down list for this version
- Spike test running zmqserver in the main jupyter notebook (not as subprocess). Verify I can still connect.
- Spike test the WebSocketVisualizer case in python, taking the easy answer to all of the interesting questions (single client, no memory).
- WebSocketVisualizer should get instantiated once (at the top of the notebook), and we pass a raw pointer or owned Pointer to the meshcat visualizer system. Perhaps it can even be a direct stand-in for the current visualizer. This is important so that users don't have to re-open their visualizer for each simulation.
- Spike test a C++ version of the WebSocketVisualizer.
from manipulation.
I've decided to run with the Meshcat in C++ solution for this. Closing this since I've moved the discussion to RobotLocomotion/drake#13038
from manipulation.
Related Issues (20)
- Fix Exercise 11.1
- Multiple instantiations of `MultiBodyPlant` and `iiwa`. HOT 3
- from pydrake.geometry import RenderLabel HOT 1
- ModuleNotFoundError in Mask R-CNN for Bin Picking HOT 3
- unit tests are fetching drake_models (w/o caching) HOT 1
- A big question:how to use drake in real manipulator control HOT 1
- Add cameras to spot simulation HOT 1
- Implement SpotDriver for HardwareStation HOT 1
- Typo in RRT nearest node computation? HOT 1
- Bug in AddCameraBox implementation? HOT 1
- Broken Links in Chapter 2
- Support real realsense cameras HOT 1
- Simulate different iiwa control modes in `HardwareStation` HOT 1
- update or remove trimesh dependency
- Connection Issue with `Multiplexer` and `InputPort` in Local Environment HOT 1
- Deepnote python package manipulation version is different than the latest? Seeing errors. HOT 3
- JointStiffnessDriver should use InverseDynamics in gravity comp mode
- RenderDiagram from manipulation.utils errors running locally HOT 1
- The pose.ipynb example in the book seems broken HOT 1
- `IiwaDriver` in sim does not support iiwa14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manipulation.