Skip to content

Commit

Permalink
Better display of wheel values
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Jan 9, 2024
1 parent 1ab339b commit 00e2768
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/raspberry_pi/src/car/display/CarConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,11 @@ namespace car::display {
rear_wheel_speed_slider->Render(),
front_wheel_angle_slider->Render(),
separator(),
text("Rear Wheel Speed: " + std::to_string(rear_wheel_speed) + " | Front Wheel Angle: " + std::to_string(front_wheel_angle)),
hbox({
text("Rear Wheel Speed: " + std::to_string(rear_wheel_speed)) | xflex,
separator(),
text("Front Wheel Angle: " + std::to_string(front_wheel_angle)) | xflex,
}),
});
});

Expand Down

0 comments on commit 00e2768

Please sign in to comment.