mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 01:48:29 -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,
|
self.demanded_angular_rate = Vector3(m.demanded_rate_x,
|
||||||
m.demanded_rate_y,
|
m.demanded_rate_y,
|
||||||
m.demanded_rate_z)
|
m.demanded_rate_z)
|
||||||
self.supplied_gyro_bias = Vector3(m.gyro_bias_x,
|
# no longer supply a bias
|
||||||
m.gyro_bias_y,
|
self.supplied_gyro_bias = Vector3()
|
||||||
m.gyro_bias_z)
|
|
||||||
self.seen_gimbal_control = True
|
self.seen_gimbal_control = True
|
||||||
if m.get_type() == 'HEARTBEAT' and not self.seen_heartbeat:
|
if m.get_type() == 'HEARTBEAT' and not self.seen_heartbeat:
|
||||||
self.seen_heartbeat = True
|
self.seen_heartbeat = True
|
||||||
|
Loading…
Reference in New Issue
Block a user