<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def gopro_heartbeat_send(self, status, capture_mode, flags, force_mavlink1=False):
                '''
                Heartbeat from a HeroBus attached GoPro

                status                    : Status (uint8_t)
                capture_mode              : Current capture mode (uint8_t)
                flags                     : additional status bits (uint8_t)

                '''
                return self.send(self.gopro_heartbeat_encode(status, capture_mode, flags), force_mavlink1=force_mavlink1)