Use RobotCapabilities
#3371
Labels
Difficulty - 7
Well-defined tasks that requires some understanding about the relevant system and tools
Gameplay
Thunderscope
Description of the task
We have the ability to define
RobotCapabilities
for various robots. If these are set for a robot, then the tactic assignment algorithm will take into account the robot's capabilities during assignment. We don't currently use this feature.The task: add the ability in Thunderscope to add/remove capabilities from robots through a widget.
Possible approach:
RobotCapability
to robots that are currently on the field. A possible design is a drop-down that allows us to select a robot and checkboxes to select which capabilities it has.that maps the robot id to the
RobotCapability` it has. It would look something like this.backend.cpp
andunix_simulator_backend.cpp
SensorFusion
SensorFusion
should keep track of a map of the robot id to the unavailableRobotCapabilities
of that robotRobot
constructor and updateSensorFusion::createFriendlyTeam
to accept the current unavailable capabilities for each robotAcceptance criteria
[sensor_fusion_test.cpp
](https://github.com/UBC-Thunderbots/Software/blob/master/src/software/sensor_fusion/sensor_fusion_test.cpp) to test the new logic you addedBlocked By
The text was updated successfully, but these errors were encountered: