Skip to content

Commit

Permalink
deploy: 399a1b2
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Mar 22, 2024
1 parent fe7314d commit 86e4f89
Show file tree
Hide file tree
Showing 41 changed files with 5,183 additions and 5,179 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified api/cpp/doctrees/api/library_root.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified api/cpp/doctrees/environment.pickle
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Inheritance Relationships
Base Type
*********

- ``public mavlinkcom::MavLinkLog``
- ``public mavlink_comm::MavLinkLog``


Class Documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ Functions
---------


- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1a4f4b3060c8be9db77d0cbd4d342023ab`

- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1abb33b0231861928bba288833a2c05173`
- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1a46cd14d414e8fc72032ef2edc817fca7`

- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1aa48460dda401d585625e850d035669c3`

- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1a46cd14d414e8fc72032ef2edc817fca7`

- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1afb001b2ca995cc726f581621db317400`

- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1a4f4b3060c8be9db77d0cbd4d342023ab`

- :ref:`exhale_function_RpcLibAdaptorsBase_8hpp_1abb33b0231861928bba288833a2c05173`

13 changes: 13 additions & 0 deletions api/cpp/html/_sources/api/namespace_mavlink_comm.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

.. _namespace_mavlink_comm:

Namespace mavlink_comm
======================


.. contents:: Contents
:local:
:backlinks: none



13 changes: 0 additions & 13 deletions api/cpp/html/_sources/api/namespace_mavlinkcom.rst.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Program Listing for File ArduRoverApi.hpp
connection_info_.local_host_ip.c_str(), ip_.c_str()),
Utils::kLogLevelInfo);
udp_socket_ = std::make_unique<mavlinkcom::UdpSocket>();
udp_socket_ = std::make_unique<mavlink_comm::UdpSocket>();
udp_socket_->bind(connection_info_.local_host_ip, connection_info_.control_port_local);
}
Expand Down Expand Up @@ -285,7 +285,7 @@ Program Listing for File ArduRoverApi.hpp
AutonomySimSettings::MavLinkConnectionInfo connection_info_;
std::unique_ptr<mavlinkcom::UdpSocket> udp_socket_;
std::unique_ptr<mavlink_comm::UdpSocket> udp_socket_;
uint16_t port_;
std::string ip_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Program Listing for File ArduCopterApi.hpp
connection_info_.local_host_ip.c_str(), ip_.c_str()),
Utils::kLogLevelInfo);
udp_socket_ = std::make_unique<mavlinkcom::UdpSocket>();
udp_socket_ = std::make_unique<mavlink_comm::UdpSocket>();
udp_socket_->bind(connection_info_.local_host_ip, connection_info_.control_port_local);
}
Expand Down Expand Up @@ -459,7 +459,7 @@ Program Listing for File ArduCopterApi.hpp
uint16_t pwm[kArduCopterRotorControlCount];
};
std::unique_ptr<mavlinkcom::UdpSocket> udp_socket_;
std::unique_ptr<mavlink_comm::UdpSocket> udp_socket_;
AutonomySimSettings::MavLinkConnectionInfo connection_info_;
uint16_t port_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ Program Listing for File ArduCopterSoloApi.hpp
ip.c_str()),
Utils::kLogLevelInfo);
udpSocket_ = mavlinkcom::AdHocConnection::connectLocalUdp("ArduCopterSoloConnector", ip,
connection_info_.control_port_local);
mavlinkcom::AdHocMessageHandler handler = [this](std::shared_ptr<mavlinkcom::AdHocConnection> connection,
const std::vector<uint8_t> &msg) {
this->rotorPowerMessageHandler(connection, msg);
};
udpSocket_ = mavlink_comm::AdHocConnection::connectLocalUdp("ArduCopterSoloConnector", ip,
connection_info_.control_port_local);
mavlink_comm::AdHocMessageHandler handler =
[this](std::shared_ptr<mavlink_comm::AdHocConnection> connection, const std::vector<uint8_t> &msg) {
this->rotorPowerMessageHandler(connection, msg);
};
rotorSubscriptionId_ = udpSocket_->subscribe(handler);
}
Expand Down Expand Up @@ -167,7 +167,7 @@ Program Listing for File ArduCopterSoloApi.hpp
uint16_t speed, direction, turbulance;
};
std::shared_ptr<mavlinkcom::AdHocConnection> udpSocket_;
std::shared_ptr<mavlink_comm::AdHocConnection> udpSocket_;
int rotorSubscriptionId_;
virtual void normalizeRotorControls() {
Expand All @@ -177,7 +177,7 @@ Program Listing for File ArduCopterSoloApi.hpp
}
}
void rotorPowerMessageHandler(std::shared_ptr<mavlinkcom::AdHocConnection> connection,
void rotorPowerMessageHandler(std::shared_ptr<mavlink_comm::AdHocConnection> connection,
const std::vector<uint8_t> &msg) {
if (msg.size() != sizeof(RotorControlMessage)) {
Utils::log("Got rotor control message of size " + std::to_string(msg.size()) +
Expand Down
Loading

0 comments on commit 86e4f89

Please sign in to comment.