danger/u/
This thread is permanently archived
Home project

| Okay so here's the idea. I am planning on making a quadraped (if that's the correct term) with a vision sensor which searches for a body and then once it detects someone it will point a laser at them. I already have some schematics in mind and such, what I have a question with is the coding aspect. I was planning on coding in Java with OpenCV and using a Raspberry Pi 3. Question I have is, how does the coding for this work?


| By that, I mean... let's say I use Visual Studio and download the necessary things to code with it. How would I put in libraries or bring in functions for the program to recognise the motors and sensors and the function for the sensor?


| You will need to poll for sensor data, check this data for some value of interest, if true then act on motors. Repeat.
Both sensors and motors have libraries and functions that you interact with.

A conceptual example of the principles mentioned, look here:

https://www.arduino.cc/en/Tutorial/Knob

https://www.arduino.cc/en/Tutorial/MotorKnob

Total number of posts: 3, last modified on: Tue Jan 1 00:00:00 1528053675

This thread is permanently archived