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.
Merge pull request RobotLocomotion#12684 from jwnimmer-tri/deprecatio…
…n-2020-02-vector_gen-porting vector_gen: Switch all sources to yaml format
- Loading branch information
Showing
44 changed files
with
419 additions
and
486 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
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
namespace: drake::examples::acrobot | ||
elements: | ||
- | ||
name: tau | ||
doc: Torque at the elbow | ||
doc_units: Nm | ||
default_value: 0.0 |
This file was deleted.
Oops, something went wrong.
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,71 @@ | ||
namespace: drake::examples::acrobot | ||
elements: | ||
# Note: default parameter values are taken from: | ||
# Spong, Mark W. Swing up control of the acrobot. Robotics and Automation, | ||
# 1994. Proceedings., 1994 IEEE International Conference on. IEEE, 1994. | ||
- | ||
name: m1 | ||
doc: Mass of link 1. | ||
doc_units: kg | ||
default_value: 1.0 | ||
min_value: 0.0 | ||
- | ||
name: m2 | ||
doc: Mass of link 2. | ||
doc_units: kg | ||
default_value: 1.0 | ||
min_value: 0.0 | ||
- | ||
name: l1 | ||
doc: Length of link 1. | ||
doc_units: m | ||
default_value: 1.0 | ||
min_value: 0.0 | ||
- | ||
name: l2 | ||
doc: Length of link 2. | ||
doc_units: m | ||
default_value: 2.0 | ||
min_value: 0.0 | ||
- | ||
name: lc1 | ||
doc: Vertical distance from shoulder joint to center of mass of link 1. | ||
doc_units: m | ||
default_value: 0.5 | ||
min_value: 0.0 | ||
- | ||
name: lc2 | ||
doc: Vertical distance from elbow joint to center of mass of link 1. | ||
doc_units: m | ||
default_value: 1.0 | ||
min_value: 0.0 | ||
- | ||
name: Ic1 | ||
doc: Inertia of link 1 about the center of mass of link 1. | ||
doc_units: kg*m^2 | ||
default_value: 0.083 | ||
min_value: 0.0 | ||
- | ||
name: Ic2 | ||
doc: Inertia of link 2 about the center of mass of link 2. | ||
doc_units: kg*m^2 | ||
default_value: 0.33 | ||
min_value: 0.0 | ||
- | ||
name: b1 | ||
doc: Damping coefficient of the shoulder joint. | ||
doc_units: kg*m^2/s | ||
default_value: 0.1 | ||
min_value: 0.0 | ||
- | ||
name: b2 | ||
doc: Damping coefficient of the elbow joint. | ||
doc_units: kg*m^2/s | ||
default_value: 0.1 | ||
min_value: 0.0 | ||
- | ||
name: gravity | ||
doc: Gravitational constant. | ||
doc_units: m/s^2 | ||
default_value: 9.81 | ||
min_value: 0.0 |
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 was deleted.
Oops, something went wrong.
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,22 @@ | ||
namespace: drake::examples::acrobot | ||
elements: | ||
- | ||
name: theta1 | ||
doc: The shoulder joint angle | ||
doc_units: rad | ||
default_value: 0.0 | ||
- | ||
name: theta2 | ||
doc: The elbow joint angle | ||
doc_units: rad | ||
default_value: 0.0 | ||
- | ||
name: theta1dot | ||
doc: The shoulder joint velocity | ||
doc_units: rad/s | ||
default_value: 0.0 | ||
- | ||
name: theta2dot | ||
doc: The elbow joint velocity | ||
doc_units: rad/s | ||
default_value: 0.0 |
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
examples/acrobot/spong_controller_params_named_vector.yaml
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,29 @@ | ||
namespace: drake::examples::acrobot | ||
elements: | ||
# Note: default parameter values are taken from: | ||
# Spong, Mark W. "Swing up control of the acrobot." Robotics and Automation, | ||
# 1994. Proceedings., 1994 IEEE International Conference on. IEEE, 1994. | ||
- | ||
name: k_e | ||
doc: Energy shaping gain. | ||
doc_units: s | ||
default_value: 5.0 | ||
min_value: 0.0 | ||
- | ||
name: k_p | ||
doc: Partial feedback linearization proportional gain. | ||
doc_units: s^-2 | ||
default_value: 50.0 | ||
min_value: 0.0 | ||
- | ||
name: k_d | ||
doc: Partial feedback linearization derivative gain. | ||
doc_units: s^-1 | ||
default_value: 5.0 | ||
min_value: 0.0 | ||
- | ||
name: balancing_threshold | ||
doc: Cost value at which to switch from swing up to balancing. | ||
doc_units: | ||
default_value: 1e3 | ||
min_value: 0.0 |
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
26 changes: 0 additions & 26 deletions
26
examples/compass_gait/compass_gait_continuous_state.named_vector
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
examples/compass_gait/compass_gait_continuous_state_named_vector.yaml
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,22 @@ | ||
namespace: drake::examples::compass_gait | ||
elements: | ||
- | ||
name: stance | ||
doc: The orientation of the stance leg, measured clockwise from the vertical axis. | ||
doc_units: radians | ||
default_value: 0.0 | ||
- | ||
name: swing | ||
doc: The orientation of the swing leg, measured clockwise from the vertical axis. | ||
doc_units: radians | ||
default_value: 0.0 | ||
- | ||
name: stancedot | ||
doc: The angular velocity of the stance leg. | ||
doc_units: rad/sec | ||
default_value: 0.0 | ||
- | ||
name: swingdot | ||
doc: The angular velocity of the swing leg. | ||
doc_units: rad/sec | ||
default_value: 0.0 |
Oops, something went wrong.