Cameras Don't Work With Smart Dashboard 2022 Python Robotpy

We are trying to get a camera working with robotpy 2022, but we are not able to see a camera on the Smart Dashboard.

We have installed robotpy 2022 on the robot & also installed robotpy[cscore]. The Smart Dashboard doesn’t list any available cameras.

Heh, I forgot to upgrade cscore for 2022… oops! How did you manage to get it installed?

Did you call the launch function? https://github.com/robotpy/examples/blob/main/cscore-quick-vision/robot.py . Are there messages in riolog indicating that the camera server launched?

But really, this shouldn’t work.

Also, that isn’t a thing. cscore is special, unfortunately. See the install docs, which won’t work because I haven’t built cscore yet.

Sorry, you’re correct. We got this error when attempting to install the cscore:

ERROR: Could not find a version that satisfies the requirement robotpy-cscore (from versions: none)
ERROR: No matching distribution found for robotpy-cscore

I’ll try to do the upgrade/build tonight.

Awesome, thanks!

Not going to get to it tonight, sorry, other things came up and it looks like a bit more work than I had thought it might be.

OK, keep us posted!

A robotpy-cscore release is now available for 2022. I didn’t have a camera available to plug into my roborio, but the cscore module launches and complains that it can’t find a camera so that’s probably good enough? :slight_smile:

Let me know if you run into issues.

1 Like

We were able to download, install and get the robotpy-cscore running today!

We got two USB cameras working simultaneously, one going to each of the two camera windows on the 2022 Smart Dashboard.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.