Coder Social home page Coder Social logo

Comments (5)

reisxd avatar reisxd commented on August 26, 2024

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.

reisxd avatar reisxd commented on August 26, 2024

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.

reisxd avatar reisxd commented on August 26, 2024

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.

zayfod avatar zayfod commented on August 26, 2024

I am not sure I understand your setup.

PyCozmo is designed to interact with Cozmo and not the Cozmo mobile app.

from pycozmo.

reisxd avatar reisxd commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.