autotest: use perfect sim gps to avoid races in frsky test

can't get mavlink and frsky to agree on a value!
This commit is contained in:
Peter Barker 2024-12-17 17:00:31 +11:00 committed by Peter Barker
parent 31ec6f66d9
commit 7c084e9955
1 changed files with 5 additions and 2 deletions

View File

@ -13738,8 +13738,11 @@ switch value'''
def FRSkySPort(self): def FRSkySPort(self):
'''Test FrSky SPort mode''' '''Test FrSky SPort mode'''
self.set_parameter("SERIAL5_PROTOCOL", 4) # serial5 is FRSky sport self.set_parameters({
self.set_parameter("RPM1_TYPE", 10) # enable SITL RPM sensor "SERIAL5_PROTOCOL": 4, # serial5 is FRSky sport
"RPM1_TYPE": 10, # enable SITL RPM sensor
"GPS1_TYPE": 100, # use simulated backend for consistent position
})
port = self.spare_network_port() port = self.spare_network_port()
self.customise_SITL_commandline([ self.customise_SITL_commandline([
"--serial5=tcp:%u" % port # serial5 spews to localhost port "--serial5=tcp:%u" % port # serial5 spews to localhost port