Go to Post Okay, okay, I'll bring your Krispy Kremes to the Championships ... I bought them right after the '03 Championships ... I'm sure they are still in the attic - Natchez [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-03-2018, 04:41 PM
gcperk20's Avatar
gcperk20 gcperk20 is offline
Registered User
AKA: Grant Perkins
FRC #1100
Team Role: Programmer
 
Join Date: Mar 2018
Rookie Year: 2016
Location: Southborough MA
Posts: 24
gcperk20 is on a distinguished road
Smile 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.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-03-2018, 05:38 PM
Cabey4's Avatar
Cabey4 Cabey4 is offline
SemiAlumni:Programming&Scouting
AKA: Tom Schwarz
FRC #4613 (The Barker Redbacks)
Team Role: Programmer
 
Join Date: May 2015
Rookie Year: 2015
Location: Sydney
Posts: 53
Cabey4 will become famous soon enoughCabey4 will become famous soon enough
Re: HOW TO launch vision.py at startup on a Pi3

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-b...rkdown-to.html
__________________

Reply With Quote
  #3   Spotlight this post!  
Unread 04-03-2018, 06:11 PM
gcperk20's Avatar
gcperk20 gcperk20 is offline
Registered User
AKA: Grant Perkins
FRC #1100
Team Role: Programmer
 
Join Date: Mar 2018
Rookie Year: 2016
Location: Southborough MA
Posts: 24
gcperk20 is on a distinguished road
Re: HOW TO launch vision.py at startup on a Pi3

Quote:
Originally Posted by Cabey4 View Post
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-b...rkdown-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.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-05-2018, 11:17 PM
auscompgeek's Avatar
auscompgeek auscompgeek is offline
Registered User
AKA: David Vo
FRC #4774 (The Drop Bears)
Team Role: Mentor
 
Join Date: Jan 2018
Rookie Year: 2016
Location: Sydney, Australia
Posts: 23
auscompgeek is an unknown quantity at this point
Re: HOW TO launch vision.py at startup on a Pi3

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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:08 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi