Skip to content

Commit 3d8f0bd

Browse files
committed
doc comments
1 parent 36e9f2a commit 3d8f0bd

File tree

1 file changed

+2
-0
lines changed
  • src/viam/examples/modules/simple

1 file changed

+2
-0
lines changed

src/viam/examples/modules/simple/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
using namespace viam::sdk;
1919

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.
2022
class MySensor : public Sensor, public Reconfigurable {
2123
public:
2224
MySensor(const ResourceConfig& cfg) : Sensor(cfg.name()) {

0 commit comments

Comments
 (0)