Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Jan 8, 2024
1 parent 70eb141 commit 17fd89c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ign_ros2_control/src/ign_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ bool IgnitionSystem::initSim(

ignition::gazebo::Entity simjoint = enableJoints[joint_name];
this->dataPtr->joints_[j].sim_joint = simjoint;
this->dataPtr->joints_[j].joint_type = _ecm.Component<ignition::gazebo::components::JointType>(simjoint)->Data();
this->dataPtr->joints_[j].joint_type = _ecm.Component<ignition::gazebo::components::JointType>(
simjoint)->Data();

// Create joint position component if one doesn't exist
if (!_ecm.EntityHasComponentType(
Expand Down

0 comments on commit 17fd89c

Please sign in to comment.