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

Method createProperties

rviz_imu_plugin/src/mag_display.cpp:135–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void MagDisplay::createProperties()
136{
137 // **** acceleration vector properties
138 mag_2d_property_ = new rviz_common::properties::BoolProperty(
139 "2D-visual", twod_visual_, "Use only 2D visualization", this,
140 SLOT(updateMag()));
141
142 mag_scale_property_ = new rviz_common::properties::FloatProperty(
143 "Scale", true, "Vector size, in meters", this, SLOT(updateMag()));
144 mag_color_property_ = new rviz_common::properties::ColorProperty(
145 "Color", Qt::red, "Color to draw vector.", this, SLOT(updateMag()));
146 mag_alpha_property_ = new rviz_common::properties::FloatProperty(
147 "Alpha", 1.0, "0 is fully transparent, 1.0 is fully opaque.", this,
148 SLOT(updateMag()));
149}
150
151} // namespace rviz_imu_plugin
152

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected