Go to the documentation of this file.
38 #ifndef MESH_MAP__RIDGE_LAYER_H
39 #define MESH_MAP__RIDGE_LAYER_H
41 #include <dynamic_reconfigure/server.h>
42 #include <mesh_layers/RidgeLayerConfig.h>
81 return std::numeric_limits<float>::infinity();
110 virtual std::set<lvr2::VertexHandle>&
lethals()
121 virtual void updateLethal(std::set<lvr2::VertexHandle>& added_lethal, std::set<lvr2::VertexHandle>& removed_lethal){};
130 virtual bool initialize(
const std::string& name);
139 dynamic_reconfigure::Server<mesh_layers::RidgeLayerConfig>::CallbackType
config_callback;
156 #endif // MESH_MAP__RIDGE_LAYER_H
void reconfigureCallback(mesh_layers::RidgeLayerConfig &cfg, uint32_t level)
callback for incoming reconfigure configs
std::set< lvr2::VertexHandle > lethal_vertices
virtual bool writeLayer()
try to write layer to map file
virtual float threshold()
delivers the threshold above which vertices are marked lethal
boost::shared_ptr< dynamic_reconfigure::Server< mesh_layers::RidgeLayerConfig > > reconfigure_server_ptr
dynamic_reconfigure::Server< mesh_layers::RidgeLayerConfig >::CallbackType config_callback
Costmap layer which assigns high costs to ridges. This is useful for dam avoidance in agricultural ap...
virtual bool computeLayer()
calculate the values of this layer
virtual lvr2::VertexMap< float > & costs()
deliver the current costmap
virtual bool initialize(const std::string &name)
initializes this layer plugin
virtual bool readLayer()
try read layer from map file
virtual void updateLethal(std::set< lvr2::VertexHandle > &added_lethal, std::set< lvr2::VertexHandle > &removed_lethal)
update set of lethal vertices by adding and removing vertices
virtual std::set< lvr2::VertexHandle > & lethals()
deliver set containing all vertices marked as lethal
lvr2::DenseVertexMap< float > ridge
virtual float defaultValue()
delivers the default layer value
bool computeLethals()
mark vertices with values above the threshold as lethal
mesh_layers
Author(s): Sebastian Pütz
autogenerated on Thu Jan 25 2024 03:43:03