All pastes #186972 Raw Copy code Copy link Edit

sim rtapi WIP

public unlisted text v1 · immutable
#186972 ·published 2006-09-30 17:55 UTC
rendered paste body
$ ../bin/rtapi_app load hal_lib &
[1] 25301
$ ../bin/rtapi_app load pid
$ ../bin/halcmd show all pid.0
hal_init ULAPI
Loaded HAL Components:
ID  Type  Name                                        PID  Ready?

Component Pins:
Owner  Type  Dir     Value      Name
 00    float IN    0.00000e+00  pid.0.command
 00    bit   IN      FALSE      pid.0.enable
 00    float OUT   0.00000e+00  pid.0.error
 00    float IN    0.00000e+00  pid.0.feedback
 00    float OUT   0.00000e+00  pid.0.output

Signals:
Type      Value      Name

Parameters:
Owner  Type  Dir    Value      Name
 00    float  RW   0.00000e+00  pid.0.Dgain
 00    float  RW   0.00000e+00  pid.0.FF0
 00    float  RW   0.00000e+00  pid.0.FF1
 00    float  RW   0.00000e+00  pid.0.FF2
 00    float  RW   0.00000e+00  pid.0.Igain
 00    float  RW   1.00000e+00  pid.0.Pgain
 00    float  RW   0.00000e+00  pid.0.bias
 00    float  RW   0.00000e+00  pid.0.deadband
 00    s32    RO            0   pid.0.do-pid-calcs.time
 00    s32    RW            0   pid.0.do-pid-calcs.tmax
 00    float  RW   0.00000e+00  pid.0.maxcmdD
 00    float  RW   0.00000e+00  pid.0.maxcmdDD
 00    float  RW   0.00000e+00  pid.0.maxerror
 00    float  RW   0.00000e+00  pid.0.maxerrorD
 00    float  RW   0.00000e+00  pid.0.maxerrorI
 00    float  RW   0.00000e+00  pid.0.maxoutput

Exported Functions:
Owner CodeAddr   Arg    FP  Users  Name
 00   B7D0FE3A B7CEF0B0 YES    0   pid.0.do-pid-calcs