mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Addressing issue #7 by reading CANCoder values until successful with 10ms delay between readings. Fall back to reading relative encoder.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package swervelib.simulation.ctre;
|
||||
|
||||
|
||||
import static swervelib.simulation.ctre.PhysicsSim.random;
|
||||
|
||||
import com.ctre.phoenix.motorcontrol.can.VictorSPX;
|
||||
@@ -26,9 +25,10 @@ class VictorSPXSimProfile extends SimProfile
|
||||
|
||||
/**
|
||||
* Runs the simulation profile.
|
||||
* <p>
|
||||
* This uses very rudimentary physics simulation and exists to allow users to test features of our products in
|
||||
* simulation using our examples out of the box. Users may modify this to utilize more accurate physics simulation.
|
||||
*
|
||||
* <p>This uses very rudimentary physics simulation and exists to allow users to test features of
|
||||
* our products in simulation using our examples out of the box. Users may modify this to utilize more accurate
|
||||
* physics simulation.
|
||||
*/
|
||||
public void run()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user