2014:Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Programming Sub-pages and Links =
== Programming Sub-pages and Links ==


*[[Programming Master Task List]]
*[[Programming Master Task List]]
Line 6: Line 6:
*[[Jaguar Firmware Notes]]
*[[Jaguar Firmware Notes]]
*[[2014:Robot IO Map]]
*[[2014:Robot IO Map]]
*[[Dashboard_Setup_C-sharp|Dashboard C# Setup]]
*[[2014:Programming_Drivetrain|2014 Drivetrain Proto Structure]]


=== Meetings ===
== Meetings ==


==== 15.1.14 ====
==== 15.1.14 ====
Line 13: Line 15:
*Discussed staying with the standard C++ programming method, or changing to Command Base. 
*Discussed staying with the standard C++ programming method, or changing to Command Base. 
*We decided to stay with the standard method, and save Command Base for next pre-season.
*We decided to stay with the standard method, and save Command Base for next pre-season.
*We will be using GIT(?) to update and archive the programs.
*We will be using Git to update and archive the programs.
*On <u>Sunday, January 19th</u>, we will be holding a meeting right after Lunch to discuss the primary code layouts for our subteams.
*On <u>Sunday, January 19th</u>, we will be holding a meeting right after Lunch to discuss the primary code layouts for our subteams.
**Please know your <span data-scaytid="23" data-scayt_word="subteams">subteams</span> needs for the meeting.
**Please know your <span data-scaytid="23" data-scayt_word="subteams">subteams</span> needs for the meeting.
Line 30: Line 32:
*Need to decide where to host: svn.penfieldrobotics.com/git/ is possible, but needs a config change; github/google code/etc. possible
*Need to decide where to host: svn.penfieldrobotics.com/git/ is possible, but needs a config change; github/google code/etc. possible


=== 25.1.14 ===
==== 25.1.14 ====


Decided on:
Preliminarily chose programmer allocations.


{| border="1" cellpadding="1" cellspacing="1" width="337"
We are hosting over http and WebDAV. Repositories are private and at [http://svn.penfieldrobotics.com/git/ http://svn.penfieldrobotics.com/git/]; we are using EGit as the client in Windriver Workbench. The robot project name is "thunderbot2014".
 
==== 28.1.14 ====
 
Allocated new programmers onto heap:
 
{| border="1" cellpadding="1" cellspacing="1" width="618"
|-
|-
! scope="col" | Systems<br/>
! scope="col" | Systems<br/>
! scope="col" | Person<br/>
! scope="col" | Person<br/>
! scope="col" | Explanation<br/>
|-
|-
| Dash/Img<br/>
| Dash/Img<br/>
| Manuel<br/>
| Manuel<br/>
| All the code on the driver station laptop; imaging routines, nettables interface to robot<br/>
|-
|-
| Controls<br/>
| Controls<br/>
| Gordon<br/>
| Gordon<br/>
| Bridge between joystick data from driver station and method calls on the Intake, Shooter, and Drive<br/>
|-
|-
| Auto<br/>
| Auto<br/>
| Zach AND Griswold<br/>
| Zach, Griswold<br/>
| Controls all the robot during autonomous phase, uses the three systems.<br/>
|-
|-
| Intake<br/>
| Intake<br/>
| Austin OR Hannah<br/>
| Hannah<br/>
| System comprising cradle/intake arm, roller, and relevant sensors<br/>
|-
|-
| Shooter<br/>
| Shooter<br/>
| Hannah OR Austin<br/>
| Austin<br/>
| System comprising kicker, solenoid-actuated guards, and relevant sensors<br/>
|-
|-
| Drive<br/>
| Drive<br/>
| Raymond<br/>
| Raymond<br/>
| System controlling drive train.<br/>
|}
|}


= DRIVETRAIN =
== Programming Archives ==
 
*<u>'''IMPORTANT:'''</u>&nbsp;Include ThunderDrive.h & ThunderDrive.cpp while integrating
**Use '''#include "ThunderDrive.h"&nbsp;'''
*ThunderDrive is an object type that allows you to use the comands...
**Teleop
***.TankDrive (float left, float right, bool turbo, bool slow)
****Inputs
*****left (float, -1 to +1)
******left stick Y position
*****right (float, -1 to +1)
******right stick Y position
*****turbo (bool)
******status of the turbo button
*****slow (bool)
******status of the slow button
****Allows you to drive using tank controls
***.DoDebug
****Inputs
*****left (float, -1 to +1)
******left stick Y position
*****right (float, -1 to +1)
******right stick Y position
*****turbo (bool)
******status of the turbo button
*****slow (bool)
******status of the slow button
****Shows you current motor power
****Prints into net console for CRIO(? What part is caps)
**Auto
***.AutonomousDrive(float distance_IN, float maxPower)
****disance_IN (float)
*****how far you plan to go in inches
****maxPower (float)
*****maximum power to be used wilst going to the position
***.AutonomousTurn(float distance_IN, float maxPower)
****degrees (float)
*****how far you plan to turn in degrees
 
 
 
= Programming Archives =


*[[2013:Programming]]
*[[2013:Programming]]

Latest revision as of 18:01, 28 January 2014

Programming Sub-pages and Links

Meetings

15.1.14

  • Discussed staying with the standard C++ programming method, or changing to Command Base. 
  • We decided to stay with the standard method, and save Command Base for next pre-season.
  • We will be using Git to update and archive the programs.
  • On Sunday, January 19th, we will be holding a meeting right after Lunch to discuss the primary code layouts for our subteams.
    • Please know your subteams needs for the meeting.

19.1.14

  • Decided to create 3 main subsystems: Intake, Drive, Kicker
    • Intake subsumes the roller and lift/cradle mechanism
    • Drive is the drivetrain
    • Kicker is only the motors and sensors associated with moving the kicker "leg"
  • Like in previous years, we have Auto, Controls, Lights classes
  • No camera class yet, until we use a rotating camera
  • Relegated utility classes and functions to "./util/" folder.
  • Using references/stack allocation for classes
  • Using git. Code is on laptop 3 and cloned in Manuel's data realm.
  • Need to decide where to host: svn.penfieldrobotics.com/git/ is possible, but needs a config change; github/google code/etc. possible

25.1.14

Preliminarily chose programmer allocations.

We are hosting over http and WebDAV. Repositories are private and at http://svn.penfieldrobotics.com/git/; we are using EGit as the client in Windriver Workbench. The robot project name is "thunderbot2014".

28.1.14

Allocated new programmers onto heap:

Systems
Person
Explanation
Dash/Img
Manuel
All the code on the driver station laptop; imaging routines, nettables interface to robot
Controls
Gordon
Bridge between joystick data from driver station and method calls on the Intake, Shooter, and Drive
Auto
Zach, Griswold
Controls all the robot during autonomous phase, uses the three systems.
Intake
Hannah
System comprising cradle/intake arm, roller, and relevant sensors
Shooter
Austin
System comprising kicker, solenoid-actuated guards, and relevant sensors
Drive
Raymond
System controlling drive train.

Programming Archives