1 #ifndef CONTROLS_ALLOCATOR_CONFIG_THRUSTER_LAYOUT_H
2 #define CONTROLS_ALLOCATOR_CONFIG_THRUSTER_LAYOUT_H
Manages a collection of Thruster objects and builds the allocation matrix.
Definition: ThrusterLayout.h:11
ThrusterLayout()
Constructs an empty layout.
Definition: ThrusterLayout.cpp:5
std::vector< Thruster > thrusters
All thrusters registered in this layout.
Definition: ThrusterLayout.h:14
void clear()
Removes all thrusters from the layout.
Definition: ThrusterLayout.cpp:12
MatrixXd buildAllocationMatrix() const
Builds the 6xN force-allocation matrix from the current thruster set.
Definition: ThrusterLayout.cpp:16
void addThruster(const Thruster &thruster)
Adds a thruster to the layout.
Definition: ThrusterLayout.cpp:8
Represents a single thruster with its physical placement and force direction.
Definition: Thruster.h:11