mirror of
https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
synced 2025-09-15 13:08:35 +08:00
remove indent in namespace
This commit is contained in:
parent
554c9b3b29
commit
3013cdcff4
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user