Extended servo support

This commit is contained in:
Pascal Serrarens 2024-01-04 18:03:00 +01:00
parent 63260e4141
commit f12a658145
4 changed files with 10 additions and 1 deletions

3
FeedbackServo.cpp Normal file
View File

@ -0,0 +1,3 @@
#include "FeedbackServo.h"
FeedbackServo::FeedbackServo() {}

View File

@ -2,6 +2,7 @@
#include "Perception.h"
#include "Propulsion.h"
#include "Servo.h"
namespace Passer {
namespace RoboidControl {
@ -18,6 +19,8 @@ public:
/// @param propulsion The Propulsion implementation to use for this Roboid
Roboid(Perception *perception, Propulsion *propulsion = nullptr);
Roboid(Perception *perception, Servo **actuation);
/// @brief Update the state of the Roboid
/// @param currentTimeMs The time in milliseconds when calling this
/// function

3
ServoMotor.cpp Normal file
View File

@ -0,0 +1,3 @@
#include "ServoMotor.h"
ServoMotor::ServoMotor() {}

@ -1 +1 @@
Subproject commit 5a03d296e5180236f12797f925a3e3711b5bb2d1
Subproject commit 96bcc4a405e4df95b7f54ba99fcd2c60079e0ae6