Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed getStateSpace return type #536

Merged
merged 4 commits into from
Jul 26, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/aikido/distance/SE2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SE2 : public DistanceMetric
explicit SE2(std::shared_ptr<statespace::SE2> _space);

// Documentation inherited
statespace::StateSpacePtr getStateSpace() const override;
statespace::ConstStateSpacePtr getStateSpace() const override;

/// Computes shortest distance between two SE2 states.

Expand Down
2 changes: 1 addition & 1 deletion src/distance/SE2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SE2::SE2(std::shared_ptr<statespace::SE2> _space)
}

//=============================================================================
statespace::StateSpacePtr SE2::getStateSpace() const
statespace::ConstStateSpacePtr SE2::getStateSpace() const
{
return mStateSpace;
}
Expand Down