-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the drone.physics namespace
It might look like a huge changeset, but it is not. There are no semantic changes whatsoever, just renamings: - reg.drone.{physics, service} => reg.drone.{phy, srv} because we are hitting the name length limit. - dynamic and kinematic states have been slightly reorganized with no semantic changes to allow the addition of navigation types and air data types (coming next). - Added one simple type for linear velocity with covariance, to be used with the air data types next.
- Loading branch information
1 parent
3e50eb3
commit 0be09fd
Showing
41 changed files
with
54 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -399,3 +399,4 @@ DS-015 | |
allocatees | ||
Allocatee | ||
ABCD | ||
srv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Dynamic states | ||
|
||
Dynamic states extend kinematic states (defined in the adjacent namespace) with forces acting on the body. |
2 changes: 1 addition & 1 deletion
2
...one/physics/dynamics/Angular1D.0.1.uavcan → ...rone/phy/dynamics/rotat/Planar.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Positive torque is co-directed with positive position/velocity/acceleration. | ||
# Provided states may allow the consumer to deduce certain hidden states such as the moment of inertia. | ||
reg.drone.physics.kinematics.Angular1D.0.1 kinematics | ||
reg.drone.phy.kinematics.rotat.Planar.0.1 kinematics | ||
uavcan.si.unit.torque.Scalar.1.0 torque # NaN if unknown | ||
@sealed |
2 changes: 1 addition & 1 deletion
2
.../physics/kinematics/Linear1DTs.0.1.uavcan → ...ne/phy/dynamics/rotat/PlanarTs.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
uavcan.time.SynchronizedTimestamp.1.0 timestamp | ||
Linear1D.0.1 value | ||
Planar.0.1 value | ||
@sealed |
2 changes: 1 addition & 1 deletion
2
...rone/physics/dynamics/Linear1D.0.1.uavcan → ...rone/phy/dynamics/trans/Linear.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Positive force is co-directed with positive position/velocity/acceleration. | ||
# Provided kinetic states may allow the consumer to deduce certain hidden states such as the mass of the load. | ||
reg.drone.physics.kinematics.Linear1D.0.1 kinematics | ||
reg.drone.phy.kinematics.trans.Linear.0.1 kinematics | ||
uavcan.si.unit.force.Scalar.1.0 force # NaN if unknown | ||
@sealed |
2 changes: 1 addition & 1 deletion
2
...ne/physics/dynamics/Linear1DTs.0.1.uavcan → ...ne/phy/dynamics/trans/LinearTs.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
uavcan.time.SynchronizedTimestamp.1.0 timestamp | ||
Linear1D.0.1 value | ||
Linear.0.1 value | ||
@sealed |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Kinematic states | ||
|
||
This namespace contains data types that model basic [kinematic](https://en.wikipedia.org/wiki/Kinematics) states. | ||
|
||
A full kinematic state of a rigid body or fluid includes its position, velocity, acceleration, and orientation. | ||
The data types contained here model either full or partial kinematic states (e.g., there are types for velocity only). | ||
|
||
Forces acting on the body or fluid are part of its *dynamic* state, so they are excluded from the model. |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...physics/kinematics/Angular1DTs.0.1.uavcan → .../phy/kinematics/rotat/PlanarTs.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
uavcan.time.SynchronizedTimestamp.1.0 timestamp | ||
Angular1D.0.1 value | ||
Planar.0.1 value | ||
@sealed |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...e/physics/dynamics/Angular1DTs.0.1.uavcan → .../phy/kinematics/trans/LinearTs.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
uavcan.time.SynchronizedTimestamp.1.0 timestamp | ||
Angular1D.0.1 value | ||
Linear.0.1 value | ||
@sealed |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
reg/drone/service/battery/Status.0.1.uavcan → reg/drone/srv/battery/Status.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
reg/drone/service/battery/_.0.1.uavcan → reg/drone/srv/battery/_.0.1.uavcan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.