Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loadrt threads name1=servo-thread period1=1000000
- loadrt hostmot2
- loadrt hm2_pci config="num_pwmgens=1 num_stepgens=1"
- setp hm2_5i25.0.stepgen.00.step_type 8
- setp hm2_5i25.0.stepgen.00.table-data-0 [STEP_DATA]DATA0
- setp hm2_5i25.0.stepgen.00.table-data-1 [STEP_DATA]DATA1
- setp hm2_5i25.0.stepgen.00.control-type 1
- setp hm2_5i25.0.stepgen.00.velocity-cmd 1
- setp hm2_5i25.0.stepgen.00.position-scale 1
- setp hm2_5i25.0.stepgen.00.enable 1
- addf servo-thread hm2_5i25.0.read
- addf servo-thread hm2_5i25.0.write
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement