mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
autotest: update gimbal model to match new messages
This commit is contained in:
parent
35bac3ab4f
commit
ee35c2aa35
@ -239,9 +239,8 @@ class Gimbal3Axis(object):
|
||||
self.demanded_angular_rate = Vector3(m.demanded_rate_x,
|
||||
m.demanded_rate_y,
|
||||
m.demanded_rate_z)
|
||||
self.supplied_gyro_bias = Vector3(m.gyro_bias_x,
|
||||
m.gyro_bias_y,
|
||||
m.gyro_bias_z)
|
||||
# no longer supply a bias
|
||||
self.supplied_gyro_bias = Vector3()
|
||||
self.seen_gimbal_control = True
|
||||
if m.get_type() == 'HEARTBEAT' and not self.seen_heartbeat:
|
||||
self.seen_heartbeat = True
|
||||
|
Loading…
Reference in New Issue
Block a user