forked from Archive/PX4-Autopilot
Update px4tools api for mission test.
This commit is contained in:
parent
d8f423aa2b
commit
8e297022e6
|
@ -369,7 +369,8 @@ class MavrosMissionTest(unittest.TestCase):
|
|||
rospy.loginfo("mission done, calculating performance metrics")
|
||||
last_log = get_last_log()
|
||||
rospy.loginfo("log file %s", last_log)
|
||||
data = px4tools.ulog.read_ulog(last_log).resample_and_concat(0.1)
|
||||
data = px4tools.ulog.read_ulog(last_log).concat(dt=0.1)
|
||||
data = px4tools.ulog.compute_data(data)
|
||||
res = px4tools.estimator_analysis(data, False)
|
||||
|
||||
# enforce performance
|
||||
|
|
Loading…
Reference in New Issue