make sure attributes always start with a capital letter.
This commit is contained in:
@@ -28,13 +28,13 @@ MobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("MobilityModel")
|
||||
.SetParent<Object> ()
|
||||
.AddAttribute ("position", "The current position of the mobility model.",
|
||||
.AddAttribute ("Position", "The current position of the mobility model.",
|
||||
TypeId::ATTR_SGC,
|
||||
Vector (0.0, 0.0, 0.0),
|
||||
MakeVectorAccessor (&MobilityModel::SetPosition,
|
||||
&MobilityModel::GetPosition),
|
||||
MakeVectorChecker ())
|
||||
.AddAttribute ("velocity", "The current velocity of the mobility model.",
|
||||
.AddAttribute ("Velocity", "The current velocity of the mobility model.",
|
||||
TypeId::ATTR_GET,
|
||||
Vector (0.0, 0.0, 0.0), // ignored initial value.
|
||||
MakeVectorAccessor (&MobilityModel::GetVelocity),
|
||||
|
||||
Reference in New Issue
Block a user