diff --git a/Roboid.h b/Roboid.h index 964b125..2ad3d8f 100644 --- a/Roboid.h +++ b/Roboid.h @@ -8,13 +8,13 @@ namespace RoboidControl { /// @brief A Roboid is used to control autonomous robots class Roboid { - public: +public: /// @brief Default constructor for a Roboid Roboid(); /// @brief Creates a Roboid with Perception and Propulsion abilities /// @param perception The Perception implementation to use for this Roboid /// @param propulsion The Propulsion implementation to use for this Roboid - Roboid(Perception* perception, Propulsion* propulsion); + Roboid(Perception *perception, Propulsion *propulsion = nullptr); /// @brief Update the state of the Roboid /// @param currentTimeMs The time in milliseconds when calling this @@ -22,11 +22,11 @@ class Roboid { void Update(float currentTimeMs); /// @brief The Perception module of this Roboid - Perception* perception; + Perception *perception; /// @brief The Propulsion module of this Roboid - Propulsion* propulsion; + Propulsion *propulsion; }; -} // namespace RoboidControl -} // namespace Passer +} // namespace RoboidControl +} // namespace Passer using namespace Passer::RoboidControl; \ No newline at end of file