Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
haitomatic committed Nov 8, 2023
1 parent c255514 commit 210d77c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mavlink_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ void MavlinkInterface::send_mavlink_message(const mavlink_message_t *message)
} else {
len = sendto(fds_[CONNECTION_FD].fd, buffer, packetlen, 0, (struct sockaddr *)&remote_simulator_addr_, remote_simulator_addr_len_);
}
std::cout << "send " << message->msgid << "to " << message->sysid << std::endl;
if (len < 0) {
if (received_first_actuator_) {
std::cerr << "Failed sending mavlink message: " << strerror(errno) << std::endl;
Expand Down

0 comments on commit 210d77c

Please sign in to comment.