Made propulsion optional

This commit is contained in:
Pascal Serrarens 2023-12-08 09:44:30 +01:00
parent 3e969a3939
commit 55cca93d67

View File

@ -14,7 +14,7 @@ class Roboid {
/// @brief Creates a Roboid with Perception and Propulsion abilities /// @brief Creates a Roboid with Perception and Propulsion abilities
/// @param perception The Perception implementation to use for this Roboid /// @param perception The Perception implementation to use for this Roboid
/// @param propulsion The Propulsion 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 /// @brief Update the state of the Roboid
/// @param currentTimeMs The time in milliseconds when calling this /// @param currentTimeMs The time in milliseconds when calling this