dodalem probe basic
This commit is contained in:
15
configs/probe_basic/hallib/sim_cannon.hal
Normal file
15
configs/probe_basic/hallib/sim_cannon.hal
Normal file
@@ -0,0 +1,15 @@
|
||||
loadrt pwmgen output_type=0
|
||||
addf scale.servo servo-thread
|
||||
|
||||
addf pwmgen.update servo-thread
|
||||
addf pwmgen.make-pulses servo-thread
|
||||
|
||||
setp pwmgen.0.enable 1
|
||||
setp pwmgen.0.pwm-freq 333
|
||||
|
||||
setp scale.servo.gain 0.0037
|
||||
setp scale.servo.offset 0.333
|
||||
|
||||
#CONNECTIONS
|
||||
net scale-sig motion.analog-out-00 => scale.servo.in #input degrees
|
||||
net scale-pwm scale.servo.out => pwmgen.0.value
|
||||
Reference in New Issue
Block a user