This commit is contained in:
trung09122002
2026-09-19 15:33:52 +07:00
parent 48bd5377dc
commit 3b281174d0
22 changed files with 1913 additions and 119 deletions

View File

@@ -90,6 +90,11 @@ void WriteStateJson(const WebSnapshot& s, std::string* out) {
Num("wheel_radius", s.robot.wheel_radius, 4, out); Comma(out);
Num("wheel_sep", s.robot.wheel_separation, 4, out); Comma(out);
Num("half_width", s.robot.body_half_width, 4, out); Comma(out);
Num("body_l", s.robot.body_length, 4, out); Comma(out);
Num("body_w", s.robot.body_width, 4, out); Comma(out);
Num("body_h", s.robot.body_height, 4, out); Comma(out);
Num("body_off_x", s.robot.body_offset_x, 4, out); Comma(out);
Num("clearance", s.robot.ground_clearance, 4, out); Comma(out);
Num("laser_x", s.robot.laser_x, 4, out); Comma(out);
Num("laser_y", s.robot.laser_y, 4, out); Comma(out);
Num("laser_z", s.robot.laser_z, 4, out); Comma(out);