Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start drive train code #2

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Start drive train code #2

merged 1 commit into from
Jan 24, 2024

Conversation

team6101
Copy link
Collaborator

No description provided.

Co-authored-by: Julian Sprague <julspr@users.noreply.github.com>
Co-authored-by: Dogloverblue <Dogloverblue@users.noreply.github.com>
Co-authored-by: nguyenjerry2608@gmail.com <nguyenjerry2608@gmail.com>
Co-authored-by: 222mi.ash@gmail.com <222mi.ash@gmail.com>
Co-authored-by: atsuke-axolotl <atsuke-axolotl@users.noreply.github.com>
Co-authored-by: Patricia-R <Patricia-R@users.noreply.github.com>
Comment on lines +102 to +106
driveLeftParent.set(leftY);
driveRightParent.set(rightY);

driveLeftChild.set(leftY);
driveRightChild.set(rightY);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This will be changed to a leader-follower system later. (We did not teach the new people about it yet.)

Comment on lines +21 to +24
Spark driveLeftParent = new Spark(Constants.DRIVE_LEFT_PARENT_ID);
Spark driveLeftChild = new Spark(Constants.DRIVE_LEFT_CHILD_ID);
Spark driveRightParent = new Spark(Constants.DRIVE_RIGHT_PARENT_ID);
Spark driveRightChild = new Spark(Constants.DRIVE_RIGHT_CHILD_ID);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We don't know which type of motor controller we will be using yet, so Sparks are placeholders for now.

@team6101 team6101 marked this pull request as ready for review January 24, 2024 23:29
Copy link
Member

@Nanosplitter Nanosplitter left a comment

Choose a reason for hiding this comment

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

Looks good!

@team6101 team6101 merged commit 9180bc5 into main Jan 24, 2024
1 check passed
@team6101 team6101 deleted the drive-train-code branch January 24, 2024 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants