Skip to content
Snippets Groups Projects
Commit c177f2c4 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

bugfix: missing include and const pointer

parent bb143f14
No related branches found
No related tags found
1 merge request!39Draft: Resolve "Adapt to new sensor constructors in core"
......@@ -18,6 +18,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "vision/landmark/landmark_hp.h"
#include <core/state_block/state_homogeneous_3d.h>
namespace wolf
{
......@@ -55,7 +56,7 @@ YAML::Node LandmarkHp::toYaml() const
Eigen::Vector3d LandmarkHp::point() const
{
return std::static_pointer_cast<StateHomogeneous3d>(getStateBlock('H'))->point();
return std::static_pointer_cast<const StateHomogeneous3d>(getStateBlock('H'))->point();
}
WOLF_REGISTER_LANDMARK(LandmarkHp);
......
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