SLHS-Robotics / SLHS-Offseason-2024

BSD 3-Clause Clear License
0 stars 0 forks source link

Send commands to the robot using AprilTags #9

Open sevenbitscience opened 8 months ago

sevenbitscience commented 8 months ago

Make it so that if we show the robot different AprilTags the robot does different tasks

Maybe one is for driving commands, one could be some control to the arm

Suggest some more in the comments

0novo commented 8 months ago

some more suggestions:


thoughts on implementation

scan apriltags, iterate over all april tags:
    if something[apriltag id] is not null
        call something[apriltag id]'s function

remaining issues:

for now we could probably just use like a switch statement and then define each function separately for each apriltag id

0novo commented 7 months ago

a hardware map class might be helpful

0novo commented 7 months ago

i think the branch is in a decent position right now. just need to add more functions and test