remove indent in namespace

This commit is contained in:
Hyungyu Kim 2025-02-05 16:48:41 +09:00
parent 554c9b3b29
commit 3013cdcff4
No known key found for this signature in database
GPG Key ID: E1730AE24BD6C2B7
3 changed files with 142 additions and 146 deletions

View File

@ -24,8 +24,8 @@
namespace gazebo
{
class Obstacle1: public ModelPlugin
{
class Obstacle1: public ModelPlugin
{
public:
void Load(physics::ModelPtr _parent, sdf::ElementPtr /*_sdf*/)
{
@ -78,16 +78,14 @@ public:
_parent->SetAnimation(anim);
}
// Pointer to the model
// Pointer to the model
private:
physics::ModelPtr model;
// Pointer to the update event connection
private:
event::ConnectionPtr updateConnection;
};
// Register this plugin with the simulator
GZ_REGISTER_MODEL_PLUGIN(Obstacle1)
} // namespace gazebo
};
// Register this plugin with the simulator
GZ_REGISTER_MODEL_PLUGIN(Obstacle1)
}// namespace gazebo

View File

@ -24,8 +24,8 @@
namespace gazebo
{
class Obstacle2: public ModelPlugin
{
class Obstacle2: public ModelPlugin
{
public:
void Load(physics::ModelPtr _parent, sdf::ElementPtr /*_sdf*/)
{
@ -94,15 +94,14 @@ public:
_parent->SetAnimation(anim);
}
// Pointer to the model
// Pointer to the model
private:
physics::ModelPtr model;
// Pointer to the update event connection
// Pointer to the update event connection
private:
event::ConnectionPtr updateConnection;
};
// Register this plugin with the simulator
GZ_REGISTER_MODEL_PLUGIN(Obstacle2)
} // namespace gazebo
};
// Register this plugin with the simulator
GZ_REGISTER_MODEL_PLUGIN(Obstacle2)
}// namespace gazebo

View File

@ -26,8 +26,8 @@
namespace gazebo
{
class Obstacles: public ModelPlugin
{
class Obstacles: public ModelPlugin
{
public:
void Load(physics::ModelPtr _parent, sdf::ElementPtr /*_sdf*/)
{
@ -60,15 +60,14 @@ public:
_parent->SetAnimation(anim);
}
// Pointer to the model
// Pointer to the model
private:
physics::ModelPtr model;
// Pointer to the update event connection
// Pointer to the update event connection
private:
event::ConnectionPtr updateConnection;
};
};
// Register this plugin with the simulator
GZ_REGISTER_MODEL_PLUGIN(Obstacles)
} // namespace gazebo
GZ_REGISTER_MODEL_PLUGIN(Obstacles)
}// namespace gazebo