Hi all,
I’m integrating PX4 with Zubax Myxa via Cyphal interface, using the T-Motor MN5212 KV340 motors.
When I using GQC to test a motor, other motors will keep spinup and then stop continuously even the torque value is 0 (readiness = 3). I assume that whenever the readines value is equal to 3, we will face this issue.
Do we have any option to disable this behavior?
Here is my config (I have used the MotorID service to get the motor params as well, but still the same issue):
uavcan.node.id: 122
# Motor parameters. The motor used here is T-Motor MN5212 KV340. MN5212 IP35 Navigator Type UAV Multi-Motor KV340
# Spinup configuration
drive.runner.0_ramp.spinup_current_pu: [0.3, 0.3]
drive.runner.0_ramp.spinup_duration: [0.1, 0.3, 0.7, 0.002, 0.015, 0.6]
drive.runner.0_ramp.velocity_stall_spinup: [5, 40]
drive.runner.1_passive.delay: 0.2
drive.runner.1_passive.velocity_off_on: [5, 10]
drive.runner.type: 0
# Motor model
motor.current_ctl_bwr: 0.0452
motor.current_max: 35
motor.current_ramp: 5000
motor.flux_linkage: 0.001641
motor.inductance_dq: [4.74e-06, 4.74e-06]
motor.resistance: 0.0112
motor.mechanical_ratio: 11
# vsi
vsi.phase_current_stderr: [0.3, 0.3, 0.2, 0.2]
vsi.phase_current_gain: [100, 100, 25, 25]
# Cyphal/CAN parameters.
uavcan.can.count: 1 # In this setup we are not using CAN2.
# Cyphal ports.
uavcan.sub.setpoint_rat_torque.id: 111
uavcan.sub.readiness.id: 112
uavcan.pub.dq.id: 1001
uavcan.pub.dynamics.id: 1002
uavcan.pub.power.id: 1003
uavcan.pub.temperature.id: 1004
# General parameters.
mns.setpoint_index: 0
mns.status_period: 1
mns.deadman_timeout: 1 # 1 sec
sys.debug: false # Debug interfaces shall be disabled in production use.