KGB
January 25, 2022, 4:45pm
1
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.
KGB:
robotpy[cscore]
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.
KGB
January 25, 2022, 5:06pm
4
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.
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.
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?
Let me know if you run into issues.
1 Like
KGB
February 1, 2022, 2:23am
10
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
system
Closed
February 1, 2023, 2:23am
11
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.