Skip to content

Commit

Permalink
revert: readability-identifier-naming" for pose history
Browse files Browse the repository at this point in the history
This reverts commit 9278e71.

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
  • Loading branch information
h-ohta committed Aug 22, 2022
1 parent ae56406 commit b91d58c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ void PoseHistory::processMessage(const geometry_msgs::msg::PoseStamped::ConstSha
update_history();
}

void PoseHistory::update_history()
void PoseHistory::updateHistory()
{
const auto buffer_size = static_cast<size_t>(property_buffer_size_->getInt());
while (buffer_size < history_.size()) {
history_.pop_front();
}
}

void PoseHistory::update_lines()
void PoseHistory::updateLines()
{
Ogre::ColourValue color = rviz_common::properties::qtToOgre(property_line_color_->getColor());
color.a = property_line_alpha_->getFloat();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class PoseHistory : public rviz_common::MessageFilterDisplay<geometry_msgs::msg:
void subscribe() override;
void unsubscribe() override;
void processMessage(const geometry_msgs::msg::PoseStamped::ConstSharedPtr message) override;
void update_history();
void update_lines();
void updateHistory();
void updateLines();

std::string target_frame_;
std::deque<geometry_msgs::msg::PoseStamped::ConstSharedPtr> history_;
Expand Down

0 comments on commit b91d58c

Please sign in to comment.