| 67 | } |
| 68 | |
| 69 | void make_coordinates() { |
| 70 | // Propagate old coordinate system data to the new format if necessary. |
| 71 | // G54 - G59 work coordinate systems, G28, G30 reference positions, etc |
| 72 | make_coordinate(CoordIndex::G54, "G54", true); |
| 73 | make_coordinate(CoordIndex::G55, "G55", true); |
| 74 | make_coordinate(CoordIndex::G56, "G56", true); |
| 75 | make_coordinate(CoordIndex::G57, "G57", true); |
| 76 | make_coordinate(CoordIndex::G58, "G58", true); |
| 77 | make_coordinate(CoordIndex::G59, "G59", true); |
| 78 | if (MAX_N_AXIS > U_AXIS) { |
| 79 | make_coordinate(CoordIndex::G59_1, "G59.1", true); |
| 80 | } |
| 81 | if (MAX_N_AXIS > V_AXIS) { |
| 82 | make_coordinate(CoordIndex::G59_2, "G59.2", true); |
| 83 | } |
| 84 | if (MAX_N_AXIS > W_AXIS) { |
| 85 | make_coordinate(CoordIndex::G59_3, "G59.3", true); |
| 86 | } |
| 87 | make_coordinate(CoordIndex::G28, "G28", true); |
| 88 | make_coordinate(CoordIndex::G30, "G30", true); |
| 89 | make_coordinate(CoordIndex::G92, "G92", false); |
| 90 | make_coordinate(CoordIndex::TLO, "TLO", false); |
| 91 | } |
| 92 | |
| 93 | void make_settings() { |
| 94 | Setting::init(); |
no test coverage detected