Skip to content
Snippets Groups Projects
Commit a103960e authored by Florian Hölzl's avatar Florian Hölzl
Browse files

Added connected and last update value to camera client in af3pihal.

parent a8a4dd10
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,12 @@
#include "debugprint.h"
#include <stdbool.h>
#include <stdint.h>
/** Initialize the connection to the camera server. */
void camera_client_initialize(const char *hostname, const char *port);
/** Returns whether the client is connected to the camera. */
bool camera_client_is_connected();
/** Returns the left distance. */
float camera_client_get_distance_left();
/** Returns the right distance. */
......@@ -30,5 +32,7 @@ float camera_client_get_yaw_angle();
bool camera_client_get_detection_state_left();
/** Returns the detection state left. */
bool camera_client_get_detection_state_right();
/** Returns the number of milliseconds since the last camera data was received. */
uint64_t camera_client_get_ms_since_last_update();
#endif /* INC_CAMERA_CLIENT_H_ */
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment