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

Method reset

rviz_imu_plugin/src/mag_display.cpp:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75MagDisplay::~MagDisplay() = default;
76
77void MagDisplay::reset()
78{
79 MFDClass::reset();
80 messages_received_ = 0;
81
82 setStatus(rviz_common::properties::StatusProperty::Warn, "Topic",
83 "No messages received");
84
85 mag_visual_->hide();
86}
87
88void MagDisplay::update(std::chrono::nanoseconds /* wall_dt */, std::chrono::nanoseconds /* ros_dt */)
89{

Callers

nothing calls this directly

Calls 1

hideMethod · 0.45

Tested by

no test coverage detected