mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
autotest: test EPM gripper
This commit is contained in:
parent
f429aae09e
commit
8e33476bfd
@ -9985,12 +9985,17 @@ Also, ignores heartbeats not from our target system'''
|
||||
|
||||
def Gripper(self):
|
||||
'''Test gripper'''
|
||||
self.GripperType(1) # servo
|
||||
self.GripperType(2) # EPM
|
||||
|
||||
def GripperType(self, gripper_type):
|
||||
'''test specific gripper type'''
|
||||
self.context_push()
|
||||
self.set_parameters({
|
||||
"GRIP_ENABLE": 1,
|
||||
"GRIP_GRAB": 2000,
|
||||
"GRIP_RELEASE": 1000,
|
||||
"GRIP_TYPE": 1,
|
||||
"GRIP_TYPE": gripper_type,
|
||||
"SIM_GRPS_ENABLE": 1,
|
||||
"SIM_GRPS_PIN": 8,
|
||||
"SERVO8_FUNCTION": 28,
|
||||
|
Loading…
Reference in New Issue
Block a user