Class TelloCameraManager
Defined in File tello.hpp
Class Documentation
-
class TelloCameraManager
Public Functions
Construct a new TelloCameraManager object.
- Parameters:
tello_ip – IP of the tello drone
port_command – Port of the client to send the command
-
~TelloCameraManager()
Destroy the TelloCameraManager object.
-
bool setVideoStream(const bool enable, const std::string &stream_url)
Enable/Disable the camera video stream.
- Parameters:
enable – Enable/Disable the camera
stream_url – URL of the video stream
- Returns:
true if was correctly set
-
const cv::Mat &getFrame()
Get the frame from the video stream.
- Returns:
cv::Mat Frame from the video stream