-
Notifications
You must be signed in to change notification settings - Fork 612
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
[examples] Add example programs for AprilTags detection #4932
[examples] Add example programs for AprilTags detection #4932
Conversation
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/apriltagsdetection/Main.java
Outdated
Show resolved
Hide resolved
|
both done.
It's not just vision, there is more.
Done.
Is there a more efficient alternative to point someone too? |
checks on github threw: error: error reading /__w/allwpilib/allwpilib/build/wpimath/thirdparty/ejml/ejml-core-0.41.jar; zip file is empty error: error reading /__w/allwpilib/allwpilib/build/wpimath/thirdparty/ejml/ejml-zdense-0.41.jar; zip file is empty not my fault.
wpilibcExamples/src/main/cpp/examples/AprilTagsDetection/cpp/Robot.cpp
Outdated
Show resolved
Hide resolved
What more?
Using a coprocessor, same as always. The RIO is notoriously bad at vision processing. |
...some analysis of the acquired images. All the other *Vision just acquire the image, perhaps statically mark it up, and send it to the dashboard.
I would argue the RIO is slow, not inefficient; less hardware/complexity = less performance, but the ratio of complexity to performance is not bad. ...but in the interests of getting this example in the hands of teams that are already asking for it and do not have the resources to do a coprocessor (where the heck can you get a rPi right now?), I'll add something. Where do you want that warning, in the source, or in the description that we are trying to keep not-wordy? Do we also need to add it to the other vision examples? |
How do we find out? I have no Mac...
Can we ship it as is, and figure out the Mac issue later? I hate to delay getting something useful into the existing Rio/Linux/windows user base so that we can add vision capability (vision) to the (small) Mac user base.
Alternatively, can we find a Mac tester?
|
wpilibcExamples/src/main/cpp/examples/AprilTagsDetection/cpp/Robot.cpp
Outdated
Show resolved
Hide resolved
wpilibcExamples/src/main/cpp/examples/AprilTagsDetection/cpp/Robot.cpp
Outdated
Show resolved
Hide resolved
wpilibcExamples/src/main/cpp/examples/AprilTagsDetection/cpp/Robot.cpp
Outdated
Show resolved
Hide resolved
wpilibcExamples/src/main/cpp/examples/AprilTagsDetection/cpp/Robot.cpp
Outdated
Show resolved
Hide resolved
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/apriltagsdetection/Robot.java
Outdated
Show resolved
Hide resolved
wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/apriltagsdetection/Robot.java
Outdated
Show resolved
Hide resolved
done. |
wpilibcExamples/src/main/cpp/examples/AprilTagsVision/cpp/Robot.cpp
Outdated
Show resolved
Hide resolved
…4932) Co-authored-by: Peter Johnson <[email protected]>
Added C++ and Java examples for AprilTags detection. Tested in simulator, but not on roboRIO (yet).