25 namespace perception {
40 std::string
Name()
const override {
return "GroundServiceContent"; }
41 bool Init(
double roi_x,
double roi_y, uint32_t rows, uint32_t cols);
49 uint32_t* grid_index)
const;
78 std::string
Name()
const override {
return "GroundService"; }
81 return ground_content_ref_;
101 typedef std::shared_ptr<const GroundServiceContent>
std::shared_ptr< GroundService > GroundServicePtr
Definition: ground_service.h:104
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: scene_service.h:61
Eigen::Vector3d Vector3d
Definition: frame_transform.h:27
uint32_t cols_
Definition: ground_service.h:59
void SetContent(const SceneServiceContent &content) override
Definition: ground_service.h:28
GroundGrid grid_
Definition: ground_service.h:56
std::shared_ptr< GroundServiceContent > GroundServiceContentPtr
Definition: ground_service.h:100
double resolution_y_
Definition: ground_service.h:61
GroundServiceContent * GetGroundServiceContent() const
Definition: ground_service.h:80
double bound_y_max_
Definition: ground_service.h:65
~GroundServiceContent()=default
Definition: ground_struct.h:31
uint32_t rows_
Definition: ground_service.h:58
Eigen::Vector3d grid_center_
Definition: ground_service.h:57
std::shared_ptr< const GroundServiceContent > GroundServiceContentConstPtr
Definition: ground_service.h:102
Definition: scene_service.h:59
void GetCopy(SceneServiceContent *content) const override
~GroundService()
Definition: ground_service.h:71
double bound_x_max_
Definition: ground_service.h:64
GroundServiceContent()=default
std::string Name() const override
Definition: ground_service.h:40
bool Init(double roi_x, double roi_y, uint32_t rows, uint32_t cols)
std::shared_ptr< const GroundService > GroundServiceConstPtr
Definition: ground_service.h:105
Definition: ground_service.h:68
bool PointToGrid(const Eigen::Vector3d &world_point, uint32_t *grid_index) const
double bound_y_min_
Definition: ground_service.h:63
std::string Name() const override
Definition: ground_service.h:78
Definition: scene_service.h:28
float PointToPlaneDistance(const Eigen::Vector3d &world_point) const
double bound_x_min_
Definition: ground_service.h:62
double resolution_x_
Definition: ground_service.h:60