Skip to content
Snippets Groups Projects
Commit 38f5f60a authored by Daniel Agar's avatar Daniel Agar
Browse files

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
parent 3d685409
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
......@@ -504,7 +504,7 @@ then
if [ $OUTPUT_MODE == hil ]
then
if pwm_out_sim mode_pwm16
if pwm_out_sim start
then
else
tune_control play -m ${TUNE_ERR}
......
......@@ -56,7 +56,7 @@ const char *get_commands()
"mc_pos_control start\n"
"mc_att_control start\n"
"sleep 1\n"
"pwm_out_sim mode_pwm\n"
"pwm_out_sim start\n"
"param set RC1_MAX 2015\n"
"param set RC1_MIN 996\n"
"param set RC1_TRIM 1502\n"
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment