Merge pull request #396 from meshtastic/refactor-protos

add telemetry.protos
This commit is contained in:
Andre Kirchhoff 2022-03-28 15:59:15 -03:00 committed by GitHub
commit 8de9a90c8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 91 additions and 97 deletions

View file

@ -10,15 +10,9 @@ import com.geeksville.mesh.Position
/// NodeDB lives inside the UIViewModel, but it needs a backpointer to reach the service
class NodeDB(private val ui: UIViewModel) {
private val testPositions = arrayOf(
Position(32.776665, -96.796989, 35, 123, 40), // dallas
Position(32.960758, -96.733521, 35, 456, 50), // richardson
Position(
32.912901,
-96.781776,
35,
789,
60
) // north dallas
Position(32.776665, -96.796989, 35, 123), // dallas
Position(32.960758, -96.733521, 35, 456), // richardson
Position(32.912901, -96.781776, 35, 789) // north dallas
)
val testNodeNoPosition = NodeInfo(