HOW TO launch vision.py at startup on a Pi3

Hi all,

I was reading the RobotPy documentation and I saw that the section on launching a Python Script on startup was blank. So for those interested check out these instructions I wrote.

1 Like

Those guides look super useful. I remember when trying to get OpenCV and stuff installed for the first time, back in 2016, it was an absolute nightmare.

I would recommend adding this to PDR (programming done right.) It’s an online guide to FRC programming, and a lot of the content on there is really good.
You can check it out here - http://frc-pdr.readthedocs.io/en/latest/

The github repo is at https://github.com/FRC-PDR/ProgrammingDoneRight - just fork it, add your documentation to the vision section, and submit a pull request.

Note: you will need to change your files from markdown (.md) to reStructured Text (.rst). They’re very similar formats and you can probably do it manually, or you can use pandoc - see https://bfroehle.com/2013/04/26/converting-md-to-rst/ or http://avilpage.com/2014/11/pandoc-best-way-to-convert-markdown-to.html

I have actually never heard about this! As the lead programmer on 1100 as a sophomore, I didn’t get a ton of info from the seniors who left last year. I will be contributing there, to help other kids like me in the future.

Newer distros package OpenCV 3 and use systemd as their init system (rather than sysvinit), which makes setting up vision on an RPi3 much easier.

Here is what my team did this year: https://github.com/thedropbears/vision-2018#rpi3-setup