Skip to content

Commit

Permalink
default parameters added
Browse files Browse the repository at this point in the history
  • Loading branch information
MyCabbages4 committed Oct 6, 2024
1 parent 6e2da9e commit 1b7132a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions teleoperation/lander_align/lander_align.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ namespace mrover {
auto paramSub = std::make_shared<rclcpp::ParameterEventHandler>(this);

std::vector<ParameterWrapper> params{
{"camera_frame", mCameraFrameId},
{"world_frame", mMapFrameId},
{"camera_frame", mCameraFrameId, "zed_left_camera_frame"},
{"world_frame", mMapFrameId, "map"},
{"ransac/distance_threshold", mDistanceThreshold}};

ParameterWrapper::declareParameters(this, paramSub, params);
ParameterWrapper::declareParameters(this, params);

mPlaneLocationInWorldVector = std::make_optional<Eigen::Vector3d>(0, 0, 0);
mNormalInWorldVector = std::make_optional<Eigen::Vector3d>(0, 0, 0);
Expand Down

0 comments on commit 1b7132a

Please sign in to comment.