Tools: correct sim_vehicle's --tracker option
This commit is contained in:
parent
c163915f6e
commit
86d8252166
@ -446,10 +446,12 @@ def start_antenna_tracker(autotest, opts):
|
||||
tracker_frame_options = vinfo.options["AntennaTracker"]["frames"][tracker_default_frame]
|
||||
do_build(vehicledir, opts, tracker_frame_options)
|
||||
tracker_instance = 1
|
||||
oldpwd = os.getcwd()
|
||||
os.chdir(vehicledir)
|
||||
tracker_uarta = "tcp:127.0.0.1:" + str(5760 + 10 * tracker_instance)
|
||||
exe = os.path.join(vehicledir, "AntennaTracker.elf")
|
||||
run_in_terminal_window(autotest, "AntennaTracker", ["nice", exe, "-I" + str(tracker_instance), "--model=tracker", "--home=" + tracker_home])
|
||||
os.chdir(oldpwd)
|
||||
|
||||
|
||||
def start_vehicle(binary, autotest, opts, stuff, loc):
|
||||
|
Loading…
Reference in New Issue
Block a user