Skip to content

Commit

Permalink
Plane: Trajectory fix alt scaler
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Oct 26, 2024
1 parent 4018c4f commit a76451a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ void GCS_MAVLINK_Plane::handle_trajectory_representation_waypoints(const mavlink

Location loc = Location(packet.pos_x[i]*1e-7,
packet.pos_y[i]*1e-7,
packet.pos_z[i]*1e-7,
packet.pos_z[i]*100,
Location::AltFrame::ABSOLUTE);

// sanitize your inputs
Expand Down

0 comments on commit a76451a

Please sign in to comment.