If you use FtcDashboard.getInstance().getTelemetry() for your opmode telemetry, and you want to add a field overlay via TelemetryPacket packet = new TelemetryPacket(); and Canvas canvas = packet.fieldOverlay(); and eventually a ftcDashboard dashboard = FtcDashboard.getInstance(); and dashboard.sendTelemetryPacket(packet);, the field overlay blinks.
Specifically, the original telemetry clears the field overlay and the new packet sends the drawing instructions to the field overlay. Am I missing a way to ask the ordinary telemetry to not clear the field overlay or a way to get the ordinary telemetry packet so I can get the fieldOverlay reference of that packet? Is there more appropriate way to send telemetry to the driver station and FTC dashboard AND send a field overlay without duplicating by addData and other calls?
If you use
FtcDashboard.getInstance().getTelemetry()
for your opmode telemetry, and you want to add a field overlay viaTelemetryPacket packet = new TelemetryPacket();
andCanvas canvas = packet.fieldOverlay();
and eventually aftcDashboard dashboard = FtcDashboard.getInstance();
anddashboard.sendTelemetryPacket(packet);
, the field overlay blinks.Specifically, the original telemetry clears the field overlay and the new packet sends the drawing instructions to the field overlay. Am I missing a way to ask the ordinary telemetry to not clear the field overlay or a way to get the ordinary telemetry packet so I can get the
fieldOverlay
reference of that packet? Is there more appropriate way to send telemetry to the driver station and FTC dashboard AND send a field overlay without duplicating byaddData
and other calls?Thank you.