We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e9f2a commit 3d8f0bdCopy full SHA for 3d8f0bd
src/viam/examples/modules/simple/main.cpp
@@ -17,6 +17,8 @@
17
18
using namespace viam::sdk;
19
20
+// Implements a trivial sensor component, constructed with a ResourceConfig that specifies a
21
+// "multiplier" value which is then returned as the only sensor reading.
22
class MySensor : public Sensor, public Reconfigurable {
23
public:
24
MySensor(const ResourceConfig& cfg) : Sensor(cfg.name()) {
0 commit comments