Skip to content

CDM-Robotics/2018-Competition-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2018 CompetitionCode

CDM Robotics Team #6072
http://www.tritontech6072.com

Overview

All code for Triton Tech's 2017-2018 competition season will be stored in this repo. Any sort of additional unrelated code or historical projects should be placed in a different repo.

Getting Started

  1. Create a directory on your machine in your home directory called triton-tech
mkdir triton-tech
  1. Open your shell and cd into the newly created triton-tech directory
cd /Users/NAME/triton-tech/
  1. Initialize git and add a remote named origin for this repo
git init
git remote add origin repo_url_here
  1. Run the following command to pull the remote code:
git pull origin master

Contribution Guidlines

The latest stable code base will be kept on the master branch. Developmental code will be kept on a branch called dev. If you wish to contribute to the code base, take a ticket (or add a ticket if necessary) and checkout on a new branch off dev. Your branch should be named according to the ticket number and feature. For example, here is how we would checkout for a fake ticket with the #1010.

git checkout -b 1010_climber_fix

When you are done writing code on your branch, commit and push it. To do so, run the following commands:

git add .
git commit -m "message here"
git push origin BRANCH_NAME_HERE

When you are all done with a ticket, mark it for code review needed and generate a pull request.

Robot Config Information

Port Mappings Motors

Port Function
0 Left Motor 1
1 Left Motor 2
2 Left Motor 3
3 Right Motor 1
4 Right Motor 2
5 Right Motor 3
6 Climber



Pneumatics

Port Function
0 Gear Solenoid On
1 Gear Solenoid Off
2 Shifter Solenoid On
3 Shifter Solenoid Off



Dio Channels

Port Function
0 Gear Limit 0
1 Gear Limit Max
4 Encoder Left A
5 Encoder Left B
2 Encoder Right A
3 Encoder Right B

Game Information

Read the latest rules and learn about the field setup here
On the driver station computer, the project is located in the following directory: C:\Users\trito\Triton-Tech-2018

About

CDM Robotics Team #6072

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages