Class StateSocket

Inheritance Relationships

Base Type

Class Documentation

class StateSocket : public BaseSocket

Prints the state of the tello.

Public Functions

StateSocket(asio::io_service &io_service, const std::string &drone_ip, const std::string &drone_port, const std::string &local_port)

Constructor.

Return
none
Parameters
  • io_service: io_service object used to handle all socket communication
  • drone_ip: ip address of drone
  • drone_port: port number on the drone
  • local_port: port on the local machine used to communicate with the drone port mentioned above

~StateSocket()

Destructor.

Return
none