test1: exercise mot_at_power

This commit is contained in:
Paweł Sadowski 2026-09-14 12:04:50 +00:00
parent 5d11e44c22
commit 34f50b186e
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
from apc_perf import ApcPerfdata
from mot import MotorData, op_full_pizda
from mot import MotorData, mot_at_power, op_full_pizda
at2826_900 = MotorData(
@ -39,5 +39,10 @@ op_prop, op_mot = op_full_pizda(mot= ttt,
speed=20,
volt= 14)
op_prop, op_mot = mot_at_power(mot = ttt,
prop = prop_12x6,
speed = 20,
input_power= 600)
print(op_prop)
print(op_mot)