hidconfig lcd problem

More
6 years 10 months ago #152725 by porshe
Replied by porshe on topic hidconfig lcd problem
Recompiled linuxcnc 2.6 from source. Version hidcomp 1.7. I still get this error if I enter "net relative-x halui.axis.0.pos-relative => hidcomp.0.LCD.in-float-1". Everything else works well (buttons, encoders, joysticks). Looks like something in pathpilot is blocking the output of FLOAT data. Is there any other way to output data to lcd?

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

More
6 years 10 months ago #152817 by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem

porshe wrote: I still get this error if I enter "net relative-x halui.axis.0.pos-relative => hidcomp.0.LCD.in-float-1".


Just clarifying - you still get this error? - "The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it."

If that is the case, you need to compile hidcomp against the same linuxcnc source code that your are running - that is, the path pilot linuxcnc source? Are doing that?

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

More
6 years 10 months ago #152915 by porshe
Replied by porshe on topic hidconfig lcd problem
I can’t compile Hidcomp 1.7 for LINUXCNC - 2.6.0~pre. I get an error. For LINUXCNC - 2.6.0 it compiles well, but the Pathpilot is built on LINUXCNC - 2.6.0~pre.[hr]
Warning: Spoiler!

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

More
6 years 10 months ago #152933 by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
I've created a new branch in the hidcomp repository called v2.6, which should work with your version - I wasn't able to get a copy of v2.6.0~pre, only v2.6.0~pre1, which should be close enough.

I'm assuming you built from the source from github.com/ftkalcevic/hidcomp

Just refresh the source code - git pull
Then switch branches - git checkout v2.6
And follow the build instructions (probably just make clean, then make).

If you didn't get it from there, clone the repository - git clone github.com/ftkalcevic/hidcomp.git
Then switch branches, etc

I've compiled the code, but don't have a test system to run on.

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

More
6 years 10 months ago - 6 years 10 months ago #152936 by porshe
Replied by porshe on topic hidconfig lcd problem
There is a big difference between 2.6.0 ~ pre and 2.6.0 ~ pre1. I could compile 2.6.0 ~ pre1 earlier without errors. Here is a direct link to 2.6.0~pre

Thank you for your patience and work.
Last edit: 6 years 10 months ago by porshe.

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

More
6 years 10 months ago #152987 by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
There is another branch in my repository, v2.6.0-pre0

This wasn't build against the link you gave me - the contents of the VERSION file in the root directory says 2.5.0~pre

So I ended up getting the repository from the commit that changed VERSION - git checkout 6f3211f6795c3744c088097be00a851f776f67ff .

That required changes - going from linuxcnc back to emc.

(I lost my change history moving from sourceforge to github).

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

Time to create page: 0.204 seconds
Powered by Kunena Forum