Skip to content

Commit 8539463

Browse files
author
Michael Andersen
committed
Remove old comments
1 parent 5d5e641 commit 8539463

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/algorithm.go

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@ import (
88
l7g "github.com/immesys/chirp-l7g"
99
)
1010

11-
//Notes
12-
/*
13-
- you only calibrate once, and you seem to require some special
14-
setup while calibrating
15-
- you don't properly handle missing data, you treat all readings
16-
as next to each other in time
17-
*/
18-
1911
//You can put some state variables and type definitions here
2012
type path struct {
2113
Src int
2214
Dst int
2315
}
16+
2417
type algorithmstate struct {
2518
//This is just example information copied from python
19+
//You can put anything you want here
2620
AnemometerID string
2721
IsDuct bool
2822
CalibrationPeriod time.Duration
@@ -149,10 +143,7 @@ func OnNewDataSet(info *l7g.SetInfo, popHdr []*l7g.L7GHeader, data []*l7g.ChirpH
149143
//add that in here
150144
outputdata.Extradata = append(outputdata.Extradata, "the algorithm has not been filled in yet")
151145

152-
//Note that you can also use print statements. These are not visible to
153-
//consumers of the data, but you can see them using `make watch`
154-
155-
//Emit the data on the data bus (and if DuplicateEmitToStdout is true, also
146+
//Emit the data on the data bus (and if MirrorToStandardOut is true, also
156147
//to standard output)
157148
emit.Data(outputdata)
158149
}

0 commit comments

Comments
 (0)