delphyne
|
Specializes BasicVector with specific getters and setters.
#include <src/gen/dynamic_bicycle_car_input.h>
Public Types | |
typedef DynamicBicycleCarInputIndices | K |
An abbreviation for our row index constants. More... | |
Public Member Functions | |
DynamicBicycleCarInput () | |
Default constructor. More... | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, | |
MoveAssignable | |
DynamicBicycleCarInput (const DynamicBicycleCarInput &other) | |
DynamicBicycleCarInput (DynamicBicycleCarInput &&other) noexcept | |
DynamicBicycleCarInput & | operator= (const DynamicBicycleCarInput &other) |
DynamicBicycleCarInput & | operator= (DynamicBicycleCarInput &&other) noexcept |
template<typename U = T> | |
std::enable_if< std::is_same< U, drake::symbolic::Expression >::value >::type | SetToNamedVariables () |
Create a drake::symbolic::Variable for each element with the known variable name. More... | |
DynamicBicycleCarInput< T > * | DoClone () const final |
Getters and Setters | |
const T & | steer_CD () const |
Steer angle from Cx to Dx with positive Cz sense. More... | |
void | set_steer_CD (const T &steer_CD) |
Setter that matches steer_CD(). More... | |
DRAKE_VECTOR_GEN_NODISCARD DynamicBicycleCarInput< T > | with_steer_CD (const T &steer_CD) const |
Fluent setter that matches steer_CD(). More... | |
const T & | f_Cp_x () const |
The Cx measure of the Longitudinal force on body C at Cp. More... | |
void | set_f_Cp_x (const T &f_Cp_x) |
Setter that matches f_Cp_x(). More... | |
DRAKE_VECTOR_GEN_NODISCARD DynamicBicycleCarInput< T > | with_f_Cp_x (const T &f_Cp_x) const |
Fluent setter that matches f_Cp_x(). More... | |
drake::boolean< T > | IsValid () const |
Returns whether the current values of this vector are well-formed. More... | |
static const std::vector< std::string > & | GetCoordinateNames () |
See DynamicBicycleCarInputIndices::GetCoordinateNames(). More... | |
typedef DynamicBicycleCarInputIndices K |
An abbreviation for our row index constants.
Default constructor.
Sets all rows to their default value:
steer_CD
defaults to 0.0 rad. f_Cp_x
defaults to 0.0 N. DynamicBicycleCarInput | ( | const DynamicBicycleCarInput< T > & | other | ) |
|
noexcept |
|
final |
const T& f_Cp_x | ( | ) | const |
The Cx measure of the Longitudinal force on body C at Cp.
f_Cp_x
is expressed in units of N.
|
static |
drake::boolean<T> IsValid | ( | ) | const |
Returns whether the current values of this vector are well-formed.
DynamicBicycleCarInput& operator= | ( | const DynamicBicycleCarInput< T > & | other | ) |
|
noexcept |
void set_f_Cp_x | ( | const T & | f_Cp_x | ) |
Setter that matches f_Cp_x().
void set_steer_CD | ( | const T & | steer_CD | ) |
Setter that matches steer_CD().
std::enable_if<std::is_same<U, drake::symbolic::Expression>::value>::type SetToNamedVariables | ( | ) |
Create a drake::symbolic::Variable for each element with the known variable name.
This is only available for T == drake::symbolic::Expression.
const T& steer_CD | ( | ) | const |
Steer angle from Cx to Dx with positive Cz sense.
steer_CD
is expressed in units of rad. DRAKE_VECTOR_GEN_NODISCARD DynamicBicycleCarInput<T> with_f_Cp_x | ( | const T & | f_Cp_x | ) | const |
Fluent setter that matches f_Cp_x().
Returns a copy of this
with f_Cp_x set to a new value.
DRAKE_VECTOR_GEN_NODISCARD DynamicBicycleCarInput<T> with_steer_CD | ( | const T & | steer_CD | ) | const |
Fluent setter that matches steer_CD().
Returns a copy of this
with steer_CD set to a new value.