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

Method show

rviz_imu_plugin/src/imu_acc_visual.cpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void ImuAccVisual::show()
77{
78 if (!acc_vector_)
79 {
80 acc_vector_ = new rviz_rendering::Arrow(scene_manager_, frame_node_);
81 acc_vector_->setColor(color_.redF(), color_.greenF(), color_.blueF(),
82 alpha_);
83 acc_vector_->setDirection(direction_);
84 acc_vector_->set(arrow_length_ * scale_, arrow_radius_ * scale_,
85 head_length_ * scale_, head_radius_ * scale_);
86 }
87}
88
89void ImuAccVisual::hide()
90{

Callers

nothing calls this directly

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected