Skip to content

Commit

Permalink
feat(tier4_perception_rviz_plugin): use negative z pose and positive …
Browse files Browse the repository at this point in the history
…dimension values (autowarefoundation#3468)

Signed-off-by: Berkay Karaman <[email protected]>
  • Loading branch information
brkay54 authored Apr 20, 2023
1 parent ff37c36 commit f6ebd56
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
12 changes: 9 additions & 3 deletions common/tier4_perception_rviz_plugin/src/tools/car_pose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ CarInitialPoseTool::CarInitialPoseTool()
std_dev_y_->setMin(0);
std_dev_z_->setMin(0);
std_dev_theta_->setMin(0);
position_z_->setMin(0);
width_->setMin(0);
length_->setMin(0);
height_->setMin(0);
}

void CarInitialPoseTool::onInitialize()
Expand Down Expand Up @@ -191,7 +193,9 @@ BusInitialPoseTool::BusInitialPoseTool()
std_dev_y_->setMin(0);
std_dev_z_->setMin(0);
std_dev_theta_->setMin(0);
position_z_->setMin(0);
width_->setMin(0);
length_->setMin(0);
height_->setMin(0);
}

void BusInitialPoseTool::onInitialize()
Expand Down Expand Up @@ -284,7 +288,9 @@ BikeInitialPoseTool::BikeInitialPoseTool()
std_dev_y_->setMin(0);
std_dev_z_->setMin(0);
std_dev_theta_->setMin(0);
position_z_->setMin(0);
width_->setMin(0);
length_->setMin(0);
height_->setMin(0);
label_->addOption("BICYCLE", ObjectClassification::BICYCLE);
label_->addOption("MOTORCYCLE", ObjectClassification::MOTORCYCLE);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ PedestrianInitialPoseTool::PedestrianInitialPoseTool()
std_dev_y_->setMin(0);
std_dev_z_->setMin(0);
std_dev_theta_->setMin(0);
position_z_->setMin(0);
}

void PedestrianInitialPoseTool::onInitialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ UnknownInitialPoseTool::UnknownInitialPoseTool()
std_dev_y_->setMin(0);
std_dev_z_->setMin(0);
std_dev_theta_->setMin(0);
position_z_->setMin(0);
}

void UnknownInitialPoseTool::onInitialize()
Expand Down

0 comments on commit f6ebd56

Please sign in to comment.