Clearpath HLFB amp.joint.delay

More
10 months 2 weeks ago #340022 by tommylight
net joint.X.amp-fault-in whatever_input_pin
That is all you need to add to hal file for each joint.

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #340025 by Fastfred
Do U replace this section
# HLFB is true when enabled *and* following
net hlfb_x  hm2_7i76e.0.7i76.0.0.input-16-not 
net hlfb_y  hm2_7i76e.0.7i76.0.0.input-17-not
net hlfb_y2 hm2_7i76e.0.7i76.0.0.input-18-not
net hlfb_z  hm2_7i76e.0.7i76.0.0.input-19-not
net hlfb-a  hm2_7i76e.0.7i76.0.0.input-20-not

With net joint.X.amp-fault-in whatever_input_pin

? Thanks 

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #340026 by tommylight
net joint.X.amp-fault-in hm2_7i76e.0.7i76.0.0.input-16-not
etc...

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #340032 by Fastfred
made the changes but errors

Debug file information:
Note: Using POSIX realtime
HAL: ERROR: function 'and2.4' not found
./custom.hal:5: addf failed
18633
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

 

File Attachment:

File Name: custom_202...12-2.hal
File Size:1.13 KB

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #340033 by tommylight
and2.n should be ranged from 0, not from 3, so
and2.0
and2.1
and2.2
and2.3

Please Log in or Create an account to join the conversation.

More
10 months 2 weeks ago #340034 by Fastfred
Thank You for that looks like the .hal file is correct now I am assuming I dont have correct settings in the motors thought it would fault if power/loss of com .

or am I missing a config for that? 

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.256 seconds
Powered by Kunena Forum