pwm_out_sim cleanup

- move to ModuleBase
 - strip down to PWM 8 and 16 modes only
 - remove all dead code
 - implement missing pwm ioctls (current value, rates, etc)
 - default rate 50Hz -> 400Hz
This commit is contained in:
Daniel Agar
2018-03-04 11:00:40 -05:00
parent 3d6854099e
commit 38f5f60a1e
40 changed files with 841 additions and 1140 deletions

View File

@@ -13,7 +13,7 @@ dataman start
simulator start -s
pwm_out_sim mode_pwm
pwm_out_sim start
mixer load /dev/pwm_output0 ROMFS/px4fmu_test/mixers/uuv_quad_x.mix
gyrosim start

View File

@@ -53,7 +53,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -55,7 +55,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -55,7 +55,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -54,7 +54,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -56,7 +56,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -53,7 +53,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -53,7 +53,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -61,7 +61,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
navigator start

View File

@@ -57,7 +57,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sleep 1
sensors start
commander start

View File

@@ -50,7 +50,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -68,7 +68,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start start
sensors start
commander start
land_detector start vtol

View File

@@ -49,7 +49,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start vtol

View File

@@ -70,7 +70,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start vtol

View File

@@ -56,7 +56,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm16
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -51,7 +51,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -53,7 +53,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -13,7 +13,7 @@ dataman start
simulator start -s
pwm_out_sim mode_pwm
pwm_out_sim start
mixer load /dev/pwm_output0 ROMFS/px4fmu_test/mixers/uuv_quad_x.mix
gyrosim start

View File

@@ -53,7 +53,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -55,7 +55,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -55,7 +55,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -61,7 +61,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -71,7 +71,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -52,7 +52,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sleep 1
sensors start
commander start

View File

@@ -59,7 +59,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
navigator start

View File

@@ -53,7 +53,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sleep 1
sensors start
commander start

View File

@@ -53,7 +53,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -63,7 +63,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
land_detector start vtol

View File

@@ -50,7 +50,7 @@ accelsim start
barosim start
adcsim start
gpssim start
pwm_out_sim mode_pwm16
pwm_out_sim start
sensors start
commander start
land_detector start multicopter

View File

@@ -35,7 +35,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
sensors start
commander start
navigator start

View File

@@ -13,7 +13,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
ver all

View File

@@ -13,7 +13,7 @@ barosim start
adcsim start
gpssim start
measairspeedsim start
pwm_out_sim mode_pwm
pwm_out_sim start
ver all