Skip to content

Commit 89cb3b9

Browse files
committed
Document protobufs and structs
Resolves wpilibsuite#2812 Signed-off-by: Jade Turner <[email protected]>
1 parent 55de795 commit 89cb3b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/docs/software/telemetry/telemetry.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ WPILib supports several :ref:`dashboards <docs/software/dashboards/index:Dashboa
2222
* ``string[]``
2323
* ``byte[]``
2424

25-
Telemetry data can be sent to a WPILib dashboard using an associated WPILib method (for more details, see the documentation for the individual dashboard in question), or by :ref:`directly publishing to NetworkTables <docs/software/networktables/networktables-intro:what is networktables>`.
25+
Along with these primitive data types NetworkTables supports logging with two different serialisation formats, struct and protobuf. For most users structs will be preferable as they are significantly more performant, but in some cases (ie dynamically sized types) protobufs must be used. These can be used to log more complex data types such as `Pose2d`.
2626

27-
While NetworkTables does not yet support serialization of complex data types (this is tentatively scheduled for 2024), *mutable* types from user code can be easily extended to interface directly with WPILib dashboards via the ``Sendable`` interface, whose usage is described in the next article.
27+
Telemetry data can be sent to a WPILib dashboard using an associated WPILib method (for more details, see the documentation for the individual dashboard in question), or by :ref:`directly publishing to NetworkTables <docs/software/networktables/networktables-intro:what is networktables>`.

0 commit comments

Comments
 (0)