Comments (5)
This is probably a library problem. I tried connecting to the server on my PC from my phone and it didn't work and tried the opposite. Even installed pycozmo on my RPI Zero and connecting to it from my phone/pc and it still didn't work.
@zayfod Do you have any idea why?
from pycozmo.
Update again, modified Cozmos app once again to connect to the local server on my phone and it works (sort of, still doesn't go past "Connecting to Cozmo..." screen(I get the Connected message on the server though, might need to add missing packets)).
Why does this work locally?
from pycozmo.
Probably the last reply if this doesn't get any response from anyone else.
I today came back to this and I found out the Cozmo app repeatedly sending the Ping frame and I think PyCozmo sends something invalid, causing Cozmo app to send Ping frame again and again until it fails.
Also, the server I think doesn't support giving cube data because I got to the "Pull the tabs on your Cubes" screen (by forcing the app) and clicking continue after it appears in a few seconds (Note that the frame might not even got sent because the Cozmo app probably closes the TCP connection after it fails).
from pycozmo.
I am not sure I understand your setup.
PyCozmo is designed to interact with Cozmo and not the Cozmo mobile app.
from pycozmo.
I am not sure I understand your setup.
PyCozmo is designed to interact with Cozmo and not the Cozmo mobile app.
Well, I've figured it out a few weeks ago.
It was because, guess it, I was not sending packets to the client.
Sooo, it just failed at doing anything when it didn't receive the robot events (like that event with FW version, S/N etc).
I tried emulating as a robot but I still failed (don't know why, also discovered the app has a native library for communicating with the robot). So, I just gave up.
from pycozmo.
Related Issues (20)
- Autonomy HOT 4
- Method for cube marker recognition
- Text-to-speech integration
- RC car example with OpenCV UI HOT 4
- Line follower example
- Cozmo as a Telepresence Robot? HOT 2
- Question: get info/parameters from Cozmo (camera for example) ? HOT 1
- Eye/display problem HOT 3
- Method for face detection HOT 6
- About camera calibration parameters NVRAM write API usage HOT 1
- Ethernet and WiFi at the same time HOT 1
- Still active? HOT 5
- please read HOT 2
- How to stream cozmos camera
- camera always in black and white
- Help: Error when trying to execute python script! HOT 1
- python 3.12 support camera ecc.
- Possibble to make python connect to cozmo and home network HOT 2
- PLEASE does ANYONE have a freeplay script using pycozmo.
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 pycozmo.