Skip to content

Commit

Permalink
make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde committed Apr 28, 2021
1 parent db911e2 commit e0b88fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/systems/velocity_control/VelocityControl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ void VelocityControl::Configure(const Entity &_entity,
{
modelTopics.push_back(_sdf->Get<std::string>("topic"));
}
modelTopics.push_back("/model/" + this->dataPtr->model.Name(_ecm) + "/cmd_vel");
modelTopics.push_back(
"/model/" + this->dataPtr->model.Name(_ecm) + "/cmd_vel");
auto modelTopic = validTopic(modelTopics);
this->dataPtr->node.Subscribe(
modelTopic, &VelocityControlPrivate::OnCmdVel, this->dataPtr.get());
Expand Down

0 comments on commit e0b88fe

Please sign in to comment.