Balloon Collaboration
February 27, 2020, 01:15:36 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Hosting for has been extended for another 3 years
   Home   Help Search gallery Calendar Login Register  
Pages: [1]
Author Topic: My code so far...  (Read 1572 times)
Hero Member
Posts: 1167

View Profile
« on: July 16, 2013, 11:02:16 PM »

My code, as of now, consists of 3 programs.  The main tracker program, the PID Controller and the Input Program.  I have to run 2 instances of terminal with the running in one and running in the other.  This allows the tracker to constantly monitor and update position between the encoder and the servo, while the input program allows me to enter a new angle.  The tracker program gets the new angle and automatically goes there.  Really slick.

I am using a package called 'memcache'.  I will give instructions on how to install later.  It allow you to share variable and stuff between programs.  My input program stores the input angle and the tracker program retrieves it to use it.

I am posting all 3 programs here.  When I get time, I will update the info about them.

*** Remember, These files are saved as text files, not .py files ***
« Last Edit: July 16, 2013, 11:05:47 PM by Larry » Logged
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!