sailboat_main.servo.sail_servo_fake module

class sailboat_main.servo.sail_servo_fake.SailServoFake

Bases: object

Simulates servo communication for testing without real hardware. Prints the commands to the console instead of sending them to a physical device.

close()

Simulate closing the connection (no-op for simulated servo).

send_command(sail, tail)

Simulate sending a command to the servo. :param sail: Sail position :param tail: Tail position