Comments (1)
Not very well.
When running through a Jupyter notebook, it leaves the cozmo program running in the background, and that leads to clashes when you try to run a program more than once. You would need to restart the kernel between runs of cozmo.run_program
. It would probably work better if there was a way to launch a notebook inside of a running cozmo thread like is done with ipython in the cli.py
example, but I'm not sure if that would really be feasible. It'd also mean that your notebook wouldn't be portable to other people which would defeat the point.
I'd also note that it would still be rendered to an external window. If you were seeking to embed the viewer into the notebook that's most likely not possible. Jupyter renders in the browser, and the 3d viewer is using native OpenGL. Instead of using a viewer, It may be possible to render the camera feed to Jupyter because you can get raw frames with robot.add_event_handler(cozmo.world.EvtNewCameraImage, _callback_)
.
from cozmo-python-sdk.
Related Issues (20)
- For cozmo_sdk, i want to code cozmo to have different animation and facial expression. HOT 3
- For cozmo_sdk, i want to code cozmo to have different animation and facial expression. HOT 1
- How to make cozmo automatically detect cube and move forward HOT 1
- run_timed_behavior never ends HOT 1
- Cannot import from requests: Do `pip3 install --user requests` to install HOT 3
- More errors with standard example apps HOT 1
- After pickup_object, Cozmo drives backwards whenever you lower the lift arms HOT 1
- Issues when chaining multiple driving actions HOT 1
- TclError: no display name and no $DISPLAY environment variable
- Coding to make Cozmo display password HOT 2
- cozmo-python-sdk incompatible with Ubuntu HOT 2
- DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. HOT 8
- Found an ""ImportError" raised." HOT 2
- yeah me too i got that HOT 3
- Similar for Vector
- Sdk Eror HOT 2
- flask eror and "no robot named cozmo has found" and "microsoft python download"
- ImportError: cannot import name 'robot'
- Cozmo HOT 2
- SDK docs HOT 1
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 cozmo-python-sdk.