Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Add autonomous interfaces to implement#4

Merged
sgayda2 merged 5 commits intoDeepBlueRobotics:masterfrom
kevinzwang:master
Jan 14, 2018
Merged

Add autonomous interfaces to implement#4
sgayda2 merged 5 commits intoDeepBlueRobotics:masterfrom
kevinzwang:master

Conversation

@kevinzwang
Copy link
Copy Markdown
Member

@kevinzwang kevinzwang commented Jan 14, 2018

Added:

  • commands/Autonomous.java
  • commands/RunScript.java
  • commands/TestAuto.java
  • and their respective interfaces

now we can assign trello cards to people to implement the interfaces

Added:
- commands/Autonomous.java
- commands/RunAuto.java
- commands/TestAuto.java
- and their respective interfaces

now we can assign trello cards to people to implement the interfaces
@kevinzwang kevinzwang self-assigned this Jan 14, 2018
@kevinzwang
Copy link
Copy Markdown
Member Author

wait no don't merge it yet

used to differentiate between the competition Autonomous command and the command shared by both testing and competition
@kevinzwang
Copy link
Copy Markdown
Member Author

ok all good

Copy link
Copy Markdown
Contributor

@sgayda2 sgayda2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest running eclipse java formatter on the code so its consistent.

default String getKey(String key) {
return getClass().getSimpleName() + "/" + key;
}
} No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add new lines at the end of files for consistency

// arm.
}

@Override
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest putting the @OverRide and any other annotations after comments.

There are other files that also have this

ran eclipse format and put @OverRide behind comments
@kevinzwang
Copy link
Copy Markdown
Member Author

Ok, @sgayda2 I did it.

* except with a different key - two methods for each kind of getting, with and
* without default values
*
* Directly copied from Robot2017 - kev
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when making a comment with a name i suggest you use your github account name and style it like this:

kevinzwang@ that way we can always know exactly who and know that its a username

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinzwang or kevinzwang@?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets go with @kevinzwang that way its the same as the github convention

/**
* {@inheritDoc}
*/
@Override
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you use the tools or just hand format? this one seems to be different then the others

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just used the formatting tool, but yeah that seems like it's spaces instead of tabs

@kevinzwang
Copy link
Copy Markdown
Member Author

Ok, I did those

@kevinzwang kevinzwang added the enhancement New feature or request label Jan 14, 2018
@kevinzwang kevinzwang requested a review from sgayda2 January 14, 2018 05:26
@sgayda2 sgayda2 merged commit bb7201b into DeepBlueRobotics:master Jan 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Autonomous enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants