April tag coding help

I am trying to set arm movements and angle of my robot so when it sees an april tag it will go there after a push of a button. I have the limelight and april tags in the code already, but the command to actually move the robot and arm based on position from the april tag is what I am struggling with. I don’t know that much about coding, any help would be greatly appreciated. let me know if you need any parts of the code to look at.

Thank you,
Sam Gross
Team 2654

Is your code on Github? A link would be helpful…

Not sure what you are trying to do… Likely you should have predetermined “set points” for the speaker, amp, source, etc. You can retrieve the tag ID from the April Tag and then tell your arm to move the appropriate set point. For example, the blue speaker is number 7.

Here is the link to my github
Grosssam002/Team-2654-2024-Code (github.com)

what were trying to do is aim our shooter automatically using april tags

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