hello dear members. for some of you this is going to be you're first code in first. to save me and you some time here is a part docs about...
remember that you can always check the codes before, and the the PowerPoint presentation. (TakeFeedSubsystem is just an example, this need to be adjusted to you're code.)
-
runnable commands - do not forget java docs and comments. command docs - https://docs.wpilib.org/he/stable/docs/software/commandbased/commands.html i will add for each subsystem wich control system and profile (motion magic) you'll need to use.

-
constance - this need to be written in constance.java and creat a class in there for you're subsystem.

statistically this is the number one reason for commits. https://docs.google.com/presentation/d/1MV573jy07D3SsIuoDuUabkCaEArD_9D1/edit#slide=id.p1
this part is a suggestion, i do think for you to understand why the code is like it is you must understand this. https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design
The canon is base on one TalonFX and one Digital switch.
control System - a normal set func
The command are as following.
-collectUntilCoralCommand- straightforward
-collectWhilePressdCommand- straightforward
-adjustCoralCommand- go slowly till the digital switch shows false.
-lossenCoralCommand- straightforward
there is one TalonFX
control system - a normal set() func
the command are as following.
-collectWhilePressCommand- straightforward
-lossenGripCommand- straightforward
-tossCommand- straightforward
there is two TalonFX, one needs to follow the other there is a func for that, and a digital switch
control system - figure it out https://v6.docs.ctr-electronics.com/en/2024/docs/api-reference/device-specific/talonfx/basic-pid-control.html + the next page
the command are as following.
-resetPosition- reset the incoders
-homeCommand- use a switch and activate resetPostion()
-relocatePositionCommand- takes a given position and moves to that position
one TalonFx and one digital switch.
control system - you need to control the position. figure it out https://v6.docs.ctr-electronics.com/en/2024/docs/api-reference/device-specific/talonfx/basic-pid-control.html + the next page
the command are as following.
-resetPosition- reset the incoders
-homeCommand- use a switch and activate resetPostion()
-relocateAngelCommand- takes a given position and moves to that position
maybe i'll add more in the near future




