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

Method onInitialize

rviz_imu_plugin/src/mag_display.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void MagDisplay::onInitialize()
63{
64 MFDClass::onInitialize();
65
66 // Make an Ogre::SceneNode to contain all our visuals.
67 scene_node_ = scene_manager_->getRootSceneNode()->createChildSceneNode();
68
69 // create magnetic field heading vector visual
70 mag_visual_ = new MagVisual(context_->getSceneManager(), scene_node_);
71
72 scene_node_->setVisible(isEnabled());
73}
74
75MagDisplay::~MagDisplay() = default;
76

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected