def __init__(self) -> None:
        self.mavlink2rest = MavlinkMessenger()

        self.target_system = 1
        self.target_component = 1
        self.confirmation = 0
 def forward_message(message: MavlinkGpsInput, component_id: int) -> None:
     """Forward Mavlink message package to Mavlink2Rest, on the specified component ID."""
     mavlink2rest = MavlinkMessenger()
     mavlink2rest.set_component_id(component_id)
     mavlink2rest.send_mavlink_message(message.dict())
 def __init__(self, component_id: int) -> None:
     self.mavlink2rest = MavlinkMessenger()
     self.mavlink2rest.set_component_id(component_id)