Skip to content

Implement a YAML config for robot IP addresses #3463

@itsarune

Description

@itsarune

Description

We aren't able to communicate to the robots when using a VM (Parallels, VirtualBox, WSL, etc.). The root issue is that we can't seem to receive multicasted messages from the robot (RobotIpNotification) so RobotCommunication can't figure out which IP addresses to send on.

We can fix this by allowing users to provide a yaml file that maps robot IDs to their IP addresses.

WifiCommunicationManager can read this yaml config and prefill this structure in the __init__ function.

YAML is just a suggestion but if there are better config options, feel free to do that

Sub-tasks

[ ] Create a YAML file configuration that maps robot ids to IP addresses
[ ] Read the config file in WifiCommunicationManager.__init_ and prefill this struct

Testing

Field testing required (ideally with a VM)

Metadata

Metadata

Assignees

Labels

Difficulty - 3Easy and simple issues that require some context to doElaborated StartersNeeds HardwareThis ticket needs extra hardware, like a robot or development board to work onRobot Software

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions