Skip to content

cozmo-python-sdk incompatible with Ubuntu #215

@hybrisan

Description

@hybrisan

(The following message has also been posted to the Cozmo dev forum https://forums.anki.com/t/device-not-found/2211/43)

I've finally got into the root cause of the issue after spending 3 days banging my head. I even got into the source code on GitHub to try to debug. Here is the conclusion:

  1. the current cozmo module [Release 1.4.10] doesn't work with Ubuntu16.04 any more. The reason is the port that ithe code listens to "#: The TCP port number we expect the Cozmo app to be listening on. COZMO_PORT = 5106" is no longer valid in the latest version of ADB. Also the latest version of ADB doesn't seem to support the port forwarding like the way it used to anymore.
    https://github.com/anki/cozmo-python-sdk/blob/master/src/cozmo/run.py

  2. Then I reluctantly put back my Windows OS on an old laptop (not a big Windows fan). Then followed the Cozmo online beginner steps. Within 30 minutes, voila, lo and behold, I finally got my baby Cozmo to say hello world to me!

The Cozmo service/ support team may want to either update the GitHub code to make it compatible or take out the document that claims it's compatible with Ubuntu to save users time and effort.

Thanks,
Justin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions