2023:Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(Updated Programming Wiki 1/28/23)
Tag: visualeditor
(Updated programming page)
Tag: visualeditor
Line 6: Line 6:
1511's Github
1511's Github


https://github.com/topics/1511  
[https://github.com/topics/1511 https://github.com/frc1511]


Programming Documentation
Programming Documentation
Line 29: Line 29:
<u>Dashboard:</u>  Peter
<u>Dashboard:</u>  Peter


=== <u>1/19 Meeting</u> ===
=== 1/19 Meeting ===


* Pseudo code for lift, grabber, and gamepiece mechanism controller functions
* Pseudo code for lift, grabber, and gamepiece mechanism controller functions
* Implemented empty controller functions in code
* Implemented empty controller functions in code
* Latest Github commit link: https://github.com/frc1511/thunderbot2023/tree/d2d57bb50398749847bc3c69b60615edf778c1e6


=== <u>1/21 Meeting</u> ===
=== 1/21 Meeting ===


* More pseudo code for lift, grabber, and gamepiece mechanisms
* More pseudo code for lift, grabber, and gamepiece mechanisms
* Implemented functions for lift, grabber, and gamepiece mechanisms
* Implemented functions for lift, grabber, and gamepiece mechanisms
* Started mapping out controls with the drive team
* Started mapping out controls with the drive team<br />
* Latest Github commit link: https://github.com/frc1511/thunderbot2023/tree/65452405f20814a9797c464aff74084e44fc2489<br />


=== 1/24 Meeting ===
=== 1/24 Meeting ===
Line 57: Line 55:
* Added feedback for drive, lift, grabber, and game piece mechanisms
* Added feedback for drive, lift, grabber, and game piece mechanisms
* Added encoders for the lift mechanism
* Added encoders for the lift mechanism
* Worked on Autonomous configuration page in Dashboard
=== 1/29 Meeting ===
* Started implementing wrist mechanism
* Blocked out Autonomous paths in ThunderAuto
* Worked on making feedback more consistent between mechanisms
=== 1/31 Meeting ===
* More work on wrist mechanism
=== 2/1 Meeting ===
* Added drive align to grid command
* Played with controlling PS5 controller adaptive triggers, led colors, and rumble
=== 2/2 Meeting ===
* Added basic support to Dashboard to control PS5 controller features (rumble, led colors, adaptive triggers) over Network Tables
=== 2/3 ===
* Added pivot-only control option for lift
* Fixed GamePiece logic problems
* Clamped lift position
=== 2/4 Meeting ===
* Tested code on Test Board!
* Added TalonSRX motor controller API wrappers for testing
* Fixed wrist logic in combination with lift to prevent it from hitting the ground
=== 2/7 Meeting ===
* Added GamePiece functions for Autonomous control
=== 2/8 Meeting ===
* Decided to start working on sending PS5 controller input from Dashboard instead of Driver Station to prevent possible issues with two programs talking to them at the same time
* Decided to send PS5 controller input using TCP sockets instead of Network Tables to increase speed and reduce failure points
=== 2/9 Meeting ===
* Continued working on TCP networking for sending PS5 controller input / output
=== 2/11 Meeting ===
* Got TCP networking working for sending PS5 controller input to robot from Dashboard and output to Dashboard from robot
* Tested Bluetooth control - don't worry Jeff, its just for testing and demos
=== 2/12 Meeting ===
* Updated PS5 controller networking to use only one port for both controllers instead of one for the driver and one for aux
* Started re-implementing RollingRaspberry communication to use TCP sockets instead of Network Tables


== Programming Archives ==
== Programming Archives ==

Revision as of 14:57, 12 February 2023

Resources:

Robot code Github

https://github.com/frc1511/thunderbot2023

1511's Github

https://github.com/frc1511

Programming Documentation

https://frc1511.github.io/

Old Robot Code

http://www.svn.penfieldrobotics.com/

Plans for Student Assignments

Lift: Calla / Mustafa / Yaqoub

Grabber: Calla / Charlie

Controls: Will!!!

Auto: Peter

Vision: Peter

Dashboard: Peter

1/19 Meeting

  • Pseudo code for lift, grabber, and gamepiece mechanism controller functions
  • Implemented empty controller functions in code

1/21 Meeting

  • More pseudo code for lift, grabber, and gamepiece mechanisms
  • Implemented functions for lift, grabber, and gamepiece mechanisms
  • Started mapping out controls with the drive team

1/24 Meeting

  • Drew out map of driver, aux, and manual aux controller button layouts
  • Implemented aux and manual aux controls code

1/26 Meeting

  • Implemented pivot and extension motor configuration functions for lift and grabber mechanisms
  • Added travel preset to lift
  • After game piece acquisition, set the lift to travel preset

1/28 Meeting

  • Added feedback for drive, lift, grabber, and game piece mechanisms
  • Added encoders for the lift mechanism
  • Worked on Autonomous configuration page in Dashboard

1/29 Meeting

  • Started implementing wrist mechanism
  • Blocked out Autonomous paths in ThunderAuto
  • Worked on making feedback more consistent between mechanisms

1/31 Meeting

  • More work on wrist mechanism

2/1 Meeting

  • Added drive align to grid command
  • Played with controlling PS5 controller adaptive triggers, led colors, and rumble

2/2 Meeting

  • Added basic support to Dashboard to control PS5 controller features (rumble, led colors, adaptive triggers) over Network Tables

2/3

  • Added pivot-only control option for lift
  • Fixed GamePiece logic problems
  • Clamped lift position

2/4 Meeting

  • Tested code on Test Board!
  • Added TalonSRX motor controller API wrappers for testing
  • Fixed wrist logic in combination with lift to prevent it from hitting the ground

2/7 Meeting

  • Added GamePiece functions for Autonomous control

2/8 Meeting

  • Decided to start working on sending PS5 controller input from Dashboard instead of Driver Station to prevent possible issues with two programs talking to them at the same time
  • Decided to send PS5 controller input using TCP sockets instead of Network Tables to increase speed and reduce failure points

2/9 Meeting

  • Continued working on TCP networking for sending PS5 controller input / output

2/11 Meeting

  • Got TCP networking working for sending PS5 controller input to robot from Dashboard and output to Dashboard from robot
  • Tested Bluetooth control - don't worry Jeff, its just for testing and demos

2/12 Meeting

  • Updated PS5 controller networking to use only one port for both controllers instead of one for the driver and one for aux
  • Started re-implementing RollingRaspberry communication to use TCP sockets instead of Network Tables

Programming Archives