Hey, I’m working on a large rover-type autonomous vehicle with my school’s Robotics Club. We’re using 24V DC motors instead of servos. We’re using OpenMV to detect lines, using a similar code to the donkey car code that I found on here. The main difference is that we’re avoiding lines instead of following them. We have to remain in between two lines. Another component is that it has to avoid obstacles in front of it.
Anyway, we’re using a Raspberry Pi 3 with an Emlid Navio2 attached to it, which takes up all but one pin in the Pi. The Navio2 communicates with our LIDAR unit that we’re using for object avoidance and our GPS unit to drive to certain coordinates. All that said, there are still a few USB ports on the Pi that we can use for inputs. What I’m wondering is if we can use the MicroUSB on the cam to output a 1 or 0 (if it sees a line or not) to the Pi’s USB port for the Pi (which also has ROS on it) to do with it as it needs. In other words, can the USB on the M7 output data to a Pi?
Any help would be awesome! Thanks!