|
93 | 93 | #define MAX_DRIVING_AWAY_DELAY 30 /* seconds */
|
94 | 94 |
|
95 | 95 | #define TUG_APPCH_LONG_DIST (6 * bp_ls.tug->veh.wheelbase)
|
96 |
| -#define TUG_APPCH_SHORT_DIST (4 * bp_ls.tug->veh.wheelbase) |
| 96 | +#define TUG_APPCH_SHORT_DIST (2 * bp_ls.tug->veh.wheelbase) |
97 | 97 |
|
98 | 98 | #define MIN_RADIO_VOLUME_THRESH 0.1
|
99 | 99 | #define MIN_STEP_TIME 0.001 /* minimum simulation step in secs */
|
@@ -1899,7 +1899,7 @@ pb_step_tug_load(void) {
|
1899 | 1899 | dir = hdg2dir(bp.cur_pos.hdg);
|
1900 | 1900 | if (tug_starts_next_plane) {
|
1901 | 1901 | p_start = vect2_add(bp.cur_pos.pos, vect2_scmul(dir,
|
1902 |
| - TUG_APPCH_SHORT_DIST)); |
| 1902 | + -bp.acf.nw_z + TUG_APPCH_SHORT_DIST)); |
1903 | 1903 | tug_set_pos(bp_ls.tug, p_start, normalize_hdg(bp.cur_pos.hdg), 0);
|
1904 | 1904 | } else {
|
1905 | 1905 | p_start = vect2_add(bp.cur_pos.pos, vect2_scmul(dir,
|
@@ -1929,7 +1929,7 @@ pb_step_start(void) {
|
1929 | 1929 |
|
1930 | 1930 | if (tug_starts_next_plane) {
|
1931 | 1931 | left_off = vect2_add(bp.cur_pos.pos, vect2_scmul(dir,
|
1932 |
| - TUG_APPCH_SHORT_DIST)); |
| 1932 | + -bp.acf.nw_z + TUG_APPCH_SHORT_DIST)); |
1933 | 1933 | tug_set_pos(bp_ls.tug, left_off, normalize_hdg(bp.cur_pos.hdg), 0.1 * bp_ls.tug->veh.max_fwd_spd);
|
1934 | 1934 | p_end = vect2_add(bp.cur_pos.pos, vect2_scmul(dir,
|
1935 | 1935 | (-bp.acf.nw_z) + bp_ls.tug->info->apch_dist));
|
|
0 commit comments