robotpy / robotpy-cscore

Moved to https://github.com/robotpy/mostrobotpy
Other
17 stars 12 forks source link

Doesn't work with default dashboard #90

Closed virtuald closed 4 years ago

virtuald commented 4 years ago

As reported at https://www.chiefdelphi.com/t/usb-cam-not-working-python/376673, the default dashboard does not seem to be able to connect to the camera. However, shuffleboard is able to connect without any problems.

virtuald commented 4 years ago

Verified with a 2020.2.2 C++ project that the default dashboard is able to connect to it.

virtuald commented 4 years ago

Appears that we prepend our NT keys with // ... which is probably just a pyntcore/pynetworktables compatibility thing.

virtuald commented 4 years ago

That's a separate issue, our source is set to unknown://, but the C++ cscore sets its source to usb:/dev/video0. Manually changing the NT key makes the default dashboard work.

virtuald commented 4 years ago

Fixed in ac7877ab2ffa62c5560082dad1b3919c4abd37fc, released as 2020.0.1