Commit a92cf1e
committed
[wpimath] Replace Speeds with Velocities
I left "free speed" alone since that's the technical term for it. In
general, velocity is a vector quantity, and speed is a magnitude (i.e.,
a strictly positive value).
This PR also replaces the speed verbiage in MotorController with duty
cycle.
Fixes #8423.1 parent 793b0a3 commit a92cf1e
File tree
592 files changed
+8090
-7892
lines changed- glass/src
- libnt/native
- cpp
- include/wpi/glass/networktables
- lib/native
- cpp
- hardware
- other
- include/wpi/glass
- hardware
- other
- hal/src/main
- java/org/wpilib/hardware/hal
- native/include/wpi/hal
- robotpyExamples
- AddressableLED
- DifferentialDriveBot
- DifferentialDrivePoseEstimator
- DriveDistanceOffboard
- subsystems
- ElevatorExponentialProfile
- ElevatorExponentialSimulation/subsystems
- ElevatorSimulation/subsystems
- ElevatorTrapezoidProfile
- FlywheelBangBangController
- GettingStarted
- Gyro
- HatchbotInlined
- commands
- subsystems
- HatchbotTraditional
- commands
- subsystems
- MecanumBot
- MecanumDrivePoseEstimator
- PotentiometerPID
- RapidReactCommandBot
- subsystems
- RomiReference/commands
- SimpleDifferentialDriveSimulation
- StateSpaceArm
- StateSpaceElevator
- StateSpaceFlywheelSysId
- StateSpaceFlywheel
- SwerveBot
- SwerveDrivePoseEstimator
- SysId
- subsystems
- UnitTest
- subsystems
- XrpReference
- commands
- subsystems
- romiVendordep/src/main
- java/org/wpilib/romi
- native/cpp/romi
- simulation
- halsim_gui/src/main/native/cpp
- halsim_ws_core/doc
- halsim_xrp/src/main/native/cpp
- styleguide
- tools/sysid/src/main/native/cpp/analysis
- wpilibcExamples/src
- main/cpp
- examples
- AddressableLED/include
- ArcadeDriveGamepad/cpp
- ArcadeDrive/cpp
- ArmSimulation/cpp/subsystems
- DifferentialDriveBot
- cpp
- include
- DifferentialDrivePoseEstimator
- cpp
- include
- DriveDistanceOffboard
- cpp
- include
- subsystems
- ElevatorExponentialProfile/include
- ElevatorExponentialSimulation/cpp/subsystems
- ElevatorSimulation/cpp/subsystems
- ElevatorTrapezoidProfile/include
- EventLoop/cpp
- FlywheelBangBangController/cpp
- GettingStarted/cpp
- GyroMecanum/cpp
- Gyro/cpp
- HatchbotInlined
- cpp
- commands
- include
- subsystems
- HatchbotTraditional
- cpp
- commands
- include
- commands
- subsystems
- MecanumBot
- cpp
- include
- MecanumDrivePoseEstimator
- cpp
- include
- MecanumDrive/cpp
- Mechanism2d/cpp
- MotorControl/cpp
- PotentiometerPID
- cpp
- include
- RapidReactCommandBot
- cpp
- subsystems
- include
- subsystems
- RomiReference
- cpp
- commands
- subsystems
- include
- commands
- subsystems
- SimpleDifferentialDriveSimulation
- cpp
- include
- StateSpaceFlywheelSysId/cpp
- StateSpaceFlywheel/cpp
- SwerveBot
- cpp
- include
- SwerveDrivePoseEstimator
- cpp
- include
- SysIdRoutine
- cpp/subsystems
- include
- subsystems
- TankDriveGamepad/cpp
- TankDrive/cpp
- UnitTest
- cpp
- subsystems
- include
- subsystems
- XRPReference
- cpp
- commands
- subsystems
- include
- commands
- subsystems
- snippets
- EncoderDrive/cpp
- EncoderHoming/cpp
- LimitSwitch/cpp
- ProfiledPIDFeedforward/cpp
- test/cpp/examples
- ArmSimulation/cpp
- ElevatorSimulation/cpp
- PotentiometerPID/cpp
- UnitTest/cpp/subsystems
- wpilibc
- src
- generated/main/native/cpp/hardware/motor
- generate/main/native/cpp/hardware/motor
- main
- native
- cpp
- drive
- hardware
- expansionhub
- led
- motor
- rotation
- simulation
- include/wpi
- counter
- drive
- hardware
- expansionhub
- led
- motor
- simulation
- python
- semiwrap
- simulation
- wpilib/src/rpy
- test
- native
- cpp
- drive
- motorcontrol
- simulation
- include/motorcontrol
- python
- wpilibjExamples/src
- main/java/org/wpilib
- examples
- addressableled
- arcadedrivegamepad
- arcadedrive
- armsimulation/subsystems
- differentialdrivebot
- differentialdriveposeestimator
- drivedistanceoffboard
- subsystems
- elevatorexponentialprofile
- elevatorexponentialsimulation/subsystems
- elevatorsimulation/subsystems
- elevatortrapezoidprofile
- eventloop
- flywheelbangbangcontroller
- gettingstarted
- gyromecanum
- gyro
- hatchbotinlined
- commands
- subsystems
- hatchbottraditional
- commands
- subsystems
- mecanumbot
- mecanumdriveposeestimator
- mecanumdrive
- mechanism2d
- motorcontrol
- potentiometerpid
- rapidreactcommandbot
- subsystems
- romireference
- commands
- subsystems
- simpledifferentialdrivesimulation
- statespacearm
- statespaceelevator
- statespaceflywheelsysid
- statespaceflywheel
- swervebot
- swervedriveposeestimator
- sysidroutine
- subsystems
- tankdrivegamepad
- tankdrive
- unittest
- subsystems
- xrpreference
- commands
- subsystems
- snippets
- encoderdrive
- encoderhoming
- limitswitch
- profiledpidfeedforward
- templates
- romicommandv2/subsystems
- romieducational
- romitimed
- xrpcommandv2/subsystems
- xrpeducational
- xrptimed
- test/java/org/wpilib/examples
- armsimulation
- elevatorsimulation
- potentiometerpid
- unittest/subsystems
- wpilibj/src
- generated/main/java/org/wpilib/hardware/motor
- generate/main/java
- main/java/org/wpilib
- counter
- drive
- hardware
- expansionhub
- led
- motor
- rotation
- simulation
- test/java/org/wpilib
- drive
- hardware
- led
- motor
- simulation
- wpimath
- src
- generated/main
- java/org/wpilib/math/proto
- native/cpp/wpimath/protobuf
- main
- java/org/wpilib/math
- controller
- kinematics
- proto
- struct
- system
- trajectory
- constraint
- native
- cpp
- controller
- kinematics
- proto
- struct
- include/wpi
- math
- controller
- estimator
- kinematics
- proto
- struct
- system
- trajectory
- constraint
- units
- proto
- python
- semiwrap
- wpimath
- _impl/src
- test
- java/org/wpilib/math
- estimator
- kinematics
- proto
- struct
- trajectory
- native/cpp
- estimator
- kinematics
- proto
- struct
- trajectory
- python
- kinematics
- trajectory
- wpinet/src/main/native/cpp
- wpiunits/src/main/java/org/wpilib/units
- xrpVendordep/src/main
- java/org/wpilib/xrp
- native
- cpp/xrp
- include/wpi/xrp
- python/semiwrap
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
592 files changed
+8090
-7892
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 27 | + | |
31 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments