Behavior of motor following across separate CAN buses
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- java
- Ambito
- embedded-iot
Direzione di ricerca
Start by reproducing the example with two CANBus instances and the TalonFX Follower control, then compare real-world behavior with CTRE simulation. The issue does not identify files or tests, and leaves open whether to warn, error, or support following across buses and whether behavior should be standardized. Done would require a decided behavior and a way to verify it, but the issue provides no acceptance criteria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Let's say you have the following piece of code:
CANBus s0 = new CANBus(CANPort.CAN_S0);
CANBus s1 = new CANBus(CANPort.CAN_S1);
TalonFX motor1 = new TalonFX(0, s0);
TalonFX motor2 = new TalonFX(1, s1);
motor2.setControl(new Follower(motor1.getDeviceID(), MotorAlignmentValue.Aligned);
The current behavior with CTRE motors is that motor2 does nothing if motor1 is given control signal and nothing else, which is expected given an understanding of how the CAN bus works, but should this behavior be changed? Either to make it possible or give the user a warning/error in this situation? Should the behavior be standardized across vendors? Possible options are:
- Throw an error/warning at compile time
- Send warning messages on runtime
motor2followsmotor1: Would require sending CAN packets across multiple CAN buses and breaks conventional knowledge of how the CAN bus works. This however would make the behavior consistent with FTC and Motioncore, given that each device on Motioncore is technically on a separate CAN bus. You would then have to deal with the case of CAN devices having the same ID but on separate CAN buses.
Side note is that current CTRE's simulation does not reflect the real-world behavior of this where the following motor appears to match the leader motor.
- Lingua principale
- Java
- Stelle
- 193
- Fork
- 26
- Merge medio
- 2h 18m
- PR unite (30g)
- 12
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wpilibsuite/SystemcoreTesting
-
Romi Reference ExampleAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
wpilibsuite/SystemcoreTesting#380 ·
I maintainer di solito rispondono entro 1 giorno
-
Limelight Pending
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
wpilibsuite/SystemcoreTesting#315 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
wpilibsuite/SystemcoreTesting#420 · 10 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Systemcore Random RebootsApertaLimelight
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
wpilibsuite/SystemcoreTesting#418 · 9 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
wpilibsuite/SystemcoreTesting#417 · 12 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di wpilibsuite/SystemcoreTesting
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
quelea-projection/Quelea#711 ·
-
bug pdd
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 67/100
objectionary/eo#9450 ·
I maintainer di solito rispondono entro 1 giorno
-
[EC2] DescribeAvailabilityZones should return real AWS error for unknown zone nameForse già presa @omatheusmesmo l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
area: core good first issue type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ShaftHQ/SHAFT_ENGINE#6909 ·
I maintainer di solito rispondono entro 1 giorno