mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_Scripting: fixed initial tangent
This commit is contained in:
parent
d7c0a1025e
commit
228b4adda0
@ -1768,7 +1768,7 @@ function do_path()
|
||||
|
||||
path_var.path_t = 0.0
|
||||
path_var.tangent = makeVector3f(1,0,0)
|
||||
path_var.initial_maneuver_to_earth:earth_to_body(path_var.tangent)
|
||||
path_var.initial_maneuver_to_earth:inverse():earth_to_body(path_var.tangent)
|
||||
|
||||
path_var.pos = path_var.initial_ef_pos:copy()
|
||||
path_var.roll = 0.0
|
||||
|
Loading…
Reference in New Issue
Block a user