forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rod2d state vector (RobotLocomotion#7379)
* Added named state to the rod. * Added state vectors to the 2D rod. * Lint brush. * Lint brush. * Lint brush (once more). * Added tests, and fixed bugs with the named state vectors. * Some polishing from feature review. * Updated rod named vector file with units info.
- Loading branch information
1 parent
c7bb256
commit 74a2c40
Showing
5 changed files
with
97 additions
and
1 deletion.
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
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
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,32 @@ | ||
namespace: "drake::examples::rod2d" | ||
|
||
element { | ||
name: "x" | ||
doc: "Horizontal location of the center-of-mass." | ||
doc_units: "m" | ||
} | ||
element { | ||
name: "y" | ||
doc: "Vertical location of the center-of-mass." | ||
doc_units: "m" | ||
} | ||
element { | ||
name: "theta" | ||
doc: "Angle of the rod (measured counter-clockwise)." | ||
doc_units: "rad" | ||
} | ||
element { | ||
name: "xdot" | ||
doc: "Velocity of the horizontal location of the center-of-mass." | ||
doc_units: "m/s" | ||
} | ||
element { | ||
name: "ydot" | ||
doc: "Velocity of the vertical location of the center-of-mass." | ||
doc_units: "m/s" | ||
} | ||
element { | ||
name: "thetadot" | ||
doc: "Angular velocity of the rod." | ||
doc_units: "rad/s" | ||
} |
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