Skip to content

Commit

Permalink
Removed use of display.
Browse files Browse the repository at this point in the history
Can be slower on target.
Used only for debug during development
  • Loading branch information
gabryelreyes committed Nov 8, 2023
1 parent 5d72e11 commit 1139a87
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/APPConvoyLeader/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ void App::loop()
void App::reportOdometry()
{
Odometry& odometry = Odometry::getInstance();
IDisplay& display = Board::getInstance().getDisplay();
OdometryData payload;
int32_t xPos = 0;
int32_t yPos = 0;
Expand All @@ -141,11 +140,6 @@ void App::reportOdometry()
payload.orientation = odometry.getOrientation();

m_smpServer.sendData(m_serialMuxProtChannelIdOdometry, reinterpret_cast<uint8_t*>(&payload), sizeof(payload));

display.clear();
display.print("Heading:");
display.gotoXY(0U, 1U);
display.print(payload.orientation);
}

void App::reportSpeed()
Expand Down

0 comments on commit 1139a87

Please sign in to comment.