Skip to content

joystick.py hanging at p.reset() #35734

Open
@pandaexpress-red

Description

@pandaexpress-red

Describe the bug

HW Connection: Car harness <-UsbC-C>red panda<-UsbA-A-> Computer
After connection led is blue blinking

SW: Built opendbc and panda both from latest main and followed README.md and could check

  • from panda import Panda
  • import opendbc
  • p = Panda() : this prints "INFO: connecting to panda $hash", and after this led is red on and dim on and dim
  • p.can_recv() : shows empty list
  • p.can_send(~~~) -> p.can_recv() : this way prints message instead of empty list

Issue I'm having is when I run joystick.py it prints below and hanging(blue blinking led)

Gas/brake control: W and S keys
Steering control: A and D keys
Buttons

  • R: Resets axes
  • C: Cancel cruise control
    INFO: connecting to panda $same hash above

Debugged this and it was hanging at p.reset()

Could anyone help me run joystick.py and get white led?
Or have I missed certain steps? Based on my understanding flash.py and recover.py is something I don't need to consider with blue&red led indicators.

OS Version

Ubuntu22.04

openpilot version or commit

No response

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    PCIssues related to running openpilot on PC

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions