Skip to content
Snippets Groups Projects
Commit fec096a5 authored by Luca Conterio's avatar Luca Conterio
Browse files

[Airbrakes] Updated trajectories script

Sbar field no more present (automatically computed)
parent 77b664fb
Branches
Tags
No related merge requests found
......@@ -25,9 +25,9 @@ with open(outfilename, "w") as f:
f.write("const trajectory_t TRAJECTORIES_DATA[TOT_TRAJECTORIES] = {\n")
for trajectory in trajectories:
zs, vzs, xs, vxs, ys, vys, sbar = trajectory
zs, vzs, xs, vxs, ys, vys = trajectory
f.write("\t{\n")
f.write("\t\t%d, %d,\n\t\t{\n" % (len(zs), sbar))
f.write("\t\t%d, \n\t\t{\n" % (len(zs)))
for z, vz in zip(zs, vzs):
f.write("\t\t\t{%f, %f},\n" % (z, vz))
f.write("\t\t}\n\t},\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment