Skip to content
Snippets Groups Projects
Commit 7a9f67de authored by Fabian Reister's avatar Fabian Reister
Browse files

new-style createPropertyDefs: ensuring prefix is set properly

parent 6b0ce1e9
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,8 @@ namespace armarx
{
PropertyDefinitionsPtr PlatformUnitSimulation::createPropertyDefinitions()
{
auto def = PlatformUnit::createPropertyDefinitions(/*getConfigIdentifier()*/);
auto def = PlatformUnit::createPropertyDefinitions();
def->setPrefix(getConfigIdentifier());
def->defineOptionalProperty<int>("IntervalMs", 10, "The time in milliseconds between two calls to the simulation method.");
def->defineOptionalProperty<float>("InitialRotation", 0, "Initial rotation of the platform.");
......
......@@ -36,6 +36,7 @@ namespace armarx
PropertyDefinitionsPtr armarx::PlatformSubUnit::createPropertyDefinitions()
{
auto def = PlatformUnit::createPropertyDefinitions();
def->setPrefix(getConfigIdentifier());
def->component(robotStateComponent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment