hal-core ( if you only need to run a embedded hal environment )

More
16 Aug 2021 13:41 - 16 Aug 2021 13:44 #217883 by Grotius
Hi,

If you want to deliver a machine like a cnc-bandsaw you could consider to use the hal-core code with
your own component or components.

When not to use :
- If you need a linuxcnc nml interface, linuxcnc's motion planner, linuxcnc gtk or qtvcp gui's.
- If you like Python.

When considering to use:
- If you like small software package's.
- If you like C and C++
- If you like Qt-c++ gui's

Further info:
- No real coding knowlegde is needed.
- Start learing to write a component. Examples included with source.

github.com/grotius-cnc/hal_core
Last edit: 16 Aug 2021 13:44 by Grotius.
The following user(s) said Thank You: tommylight

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

More
16 Aug 2021 23:55 #217934 by andypugh
You can do this with a stock LinuxCNC installation. (And I often do).

So I guess this is mainly about saving disc space?

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

More
17 Aug 2021 11:12 #217971 by Grotius
Hi Andy,

You can do this with a stock LinuxCNC installation. (And I often do).
Yes, that is ok. The disk space is not as important for me.

If a company or individual want's to build something from scratch and needs in fact only a hal platform without
any entanglement with nml, tcl, python, etc. Then this becomes useful.

My strategy is to build and provide future program's from this empty hal template.
It now build's outside of qt. I will try to create a qt project of this repository.

What i did is removed everything except a working rtapi / hal environment and included a example how to build realtime components with the gcc command instead of the python-halcompile.

I had to remove the nml interface from some hal source files. Also the tcl (gtk based stuff) source is removed.
It is configured for uspace.

I just updated the repository code again. It is quite clean now. The filesize is 6.8Mib.

It can be a useful startpoint if you want to build something from scratch.
In my previous attempt's i failed trough complexity during the cleanup process.
You have to constantly check if it builds etc, otherwise you are lost. Now i succeeded quite easely.







 

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

More
08 Sep 2021 10:11 #219920 by udoS
@Grotius
The HAL has  pin to send the encoder act pos over  nml RCS_CMD to the cnc.
I realy could use that. 

Best rgds

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

More
08 Sep 2021 17:27 - 08 Sep 2021 17:29 #219979 by Grotius
Hi Udo,

Please not spread the same questions around different topics.
And halcore is free of NML, python, etc.
Last edit: 08 Sep 2021 17:29 by Grotius.

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

Time to create page: 0.118 seconds
Powered by Kunena Forum