-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wpical output question #7722
Comments
Would you be able to share your camera calibration (video or json), pinned tag and field calibration videos? |
MRcal |
Can you verify that when you are calibrating, your field calibration directory only contains your field calibration video? Can you also share what version of WPILib you are currently running and the operating system it is running on? |
I can verify that my field calibration directory only contains my field calibration video and i'm using WPILib 2025.1.1 |
Make sure that you are using the same camera/lens for the camera calibration and the field calibration, other than that there a few more things to try: If you could, try updating to WPILib version 2025.2.1, there were a couple of changes that occurred in that update and it may fix the issue. If that doesn't work, please try printing out a ChArUco board with the 5x5 dictionary. (they can be generated here: https://calib.io/pages/camera-calibration-pattern-generator), as that is currently the only wpical compatible charuco dictionary (This is currently a feature being worked on: #7644) |
ive solved the issue. in the video of the field, wpical Identified a random object as an April tag for just a second but because it wasn't a real April tag it had no id and therefor wouldn't let the simulation run. |
Sounds good! |
Seems like there's still a bug that the tool output a tag without an id. |
I think it would be ok adding a check to determine if all the JSON information is present for each tag. That way if something like this happens again, it removes the entire block. |
Hi! I’ve recently started using wpical to calibrate the April tags on my field. I’ve realized that in the outputted Json file there are a few lines of code that are preventing the simulation from running. This code is nearly identical to 2025 April tag field layout json file but at the end it has an extra pose with no ID. if I remove this code everything seems to run properly. does anyone know what this last pose is for?
the 2025 game field json which lets the simulation run properly:
the json file generated by wpical:
the extra pose is the one at the end.
pinned and reference tag is 18 and the focused tag is 17.
here are the field and camera calibration videos
https://drive.google.com/drive/folders/1piKNZW77aXC70hIWzsmx5dpHmSUF9uuh?usp=share_link
(I know they aren't very good videos I just wanted to get it over with quickly so that I can test it)
The text was updated successfully, but these errors were encountered: