27 #include "modules/drivers/proto/sensor_image.pb.h" 29 #include "CivetServer.h" 51 bool handleGet(CivetServer *server,
struct mg_connection *conn);
54 template <
typename SensorMsgsImage>
55 void OnImage(
const std::shared_ptr<SensorMsgsImage> &image);
57 void OnImageFront(
const std::shared_ptr<apollo::drivers::Image> &image);
59 const std::shared_ptr<apollo::drivers::CompressedImage> &image);
61 std::vector<uint8_t> send_buffer_;
62 std::atomic<int> requests_;
66 std::condition_variable cvar_;
68 std::unique_ptr<cyber::Node> node_;
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
bool handleGet(CivetServer *server, struct mg_connection *conn)
The ImageHandler, built on top of CivetHandler, converts the received ROS image message to an image s...
Definition: image_handler.h:44
static constexpr double kImageScale
Definition: image_handler.h:47