MCPcopy Create free account
hub / github.com/CCNYRoboticsLab/imu_tools / updateBox

Method updateBox

rviz_imu_plugin/src/imu_display.cpp:129–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void ImuDisplay::updateBox()
130{
131 box_enabled_ = box_enabled_property_->getBool();
132 if (isEnabled() && box_enabled_)
133 box_visual_->show();
134 else
135 box_visual_->hide();
136
137 box_visual_->setScaleX(box_scale_x_property_->getFloat());
138 box_visual_->setScaleY(box_scale_y_property_->getFloat());
139 box_visual_->setScaleZ(box_scale_z_property_->getFloat());
140 box_visual_->setColor(box_color_property_->getColor());
141 box_visual_->setAlpha(box_alpha_property_->getFloat());
142}
143
144void ImuDisplay::updateAxes()
145{

Callers

nothing calls this directly

Calls 7

setScaleXMethod · 0.80
setScaleYMethod · 0.80
setScaleZMethod · 0.80
showMethod · 0.45
hideMethod · 0.45
setColorMethod · 0.45
setAlphaMethod · 0.45

Tested by

no test coverage detected