These are chat archives for machinekit/machinekit

26th
Nov 2015
Michael Haberler
@mhaberler
Nov 26 2015 10:59
arm6<what>? seems to be a propped up rpi1 cpu?
GP Orcullo
@kinsamanka
Nov 26 2015 13:14
It's an overclocked RPi1 :smile:
GP Orcullo
@kinsamanka
Nov 26 2015 15:19
1GHz ARM11 core
Bas de Bruijn
@luminize
Nov 26 2015 20:21

Hi guys, There has been some thread on the machinekit list regarding configuring HAL files in a more visual way. Today I saw an announcement on the ros-users list which could help with that. the message: http://lists.ros.org/pipermail/ros-users/2015-November/069769.html

I visited the links, did some further searching, and led me to here:
https://blockly-demo.appspot.com/static/demos/code/index.html

this can then generate python code (one of the tabs).
Would it make sense to make configurations in a scratch-like way? which generate python files which do the actual loading?

Bob van der Linden
@bobvanderlinden
Nov 26 2015 21:37
@luminize visualization of HAL would be awesome. The way scratch and ROS do it is visualizing basic programming constructs (turtle graphics in this case): procedural operations: top-to-bottom execution. I don't exactly know how well this fits with HAL as HAL seemed to be more like components with inputs and outputs (but I'm haven't used as many). That said, having the components be blocks that can be couples to other blocks would be really cool.
Has there been anyone that already visualized the HAL with something like DOT? That would already help a lot I think. (only visualization, not editing HAL yet)
Michael Haberler
@mhaberler
Nov 26 2015 21:42
yes, just search the emc-users and emc-developers archive
this comes up every 3-6month
Kent did some work on this too
Bob van der Linden
@bobvanderlinden
Nov 26 2015 21:47
oh eagle2hal already seems very close to configuring hal in a visual way: http://wiki.linuxcnc.org/uploads/eagle2hal-example-config.png
Bas de Bruijn
@luminize
Nov 26 2015 22:09

@bobvanderlinden i did some with DOT in the past, resulting in this http://basdebruijn.com/wp-content/uploads/velocity-extruding-configuration.pdf (came from this post: http://basdebruijn.com/2014/09/velocity-extruding-revisited/
But who needs to visualise if you have a user-understandable way of making and then loading a HAL config.

What is funny in this “scratch” way of configuring hal you just generate python files. I mean, if my 9 year old son can work with scratch, then somebody older can make a HAL configuration. Instead of re-inventing the wheel wrt to nifty GUIs we could re-use blockly like erle-robotics did, and start the realtime HAL. The picture above will become unreadable very quickly.

Configuring is all that’s needed imo, just generating a setup of the RT part (the HAL). No programming required, and no coding errors.

ok off to bed. cu later!
Michael Haberler
@mhaberler
Nov 26 2015 22:10
what exactly is the problem this tool should help with? Understanding existing configs? Documenting? creating new configs?
Bas de Bruijn
@luminize
Nov 26 2015 22:11
making low level entry of creating configs
not understanding existing configs
like getting succesfull quickly with something non-standard. I’m not saying we need this now, but better to know it exists if the question pops up on the list or something.
ok now really off to bed. cu!
Michael Haberler
@mhaberler
Nov 26 2015 22:15
frankly, the last guy propping up needs to read the HAL manual, not fumble a GUI
Bas de Bruijn
@luminize
Nov 26 2015 22:18
imo that’s beside the point.
Michael Haberler
@mhaberler
Nov 26 2015 22:19
could be
Bas de Bruijn
@luminize
Nov 26 2015 22:19
Even if you read the HAL manual, the power of the HAL is that you have a flexible RT components you can wire up
no need to code to configure your machine with components
ok, now I’m really off. feel free to bash my head while I’m asleep. I’ll read up tomorrow :) Cheers!
Bob van der Linden
@bobvanderlinden
Nov 26 2015 22:21
using halcmd to figure out what is connected to where is a bit of a pain. figuring it out from multiple .hal files is a pain too, so I can see where @luminize is coming from
k, byebye
Bas de Bruijn
@luminize
Nov 26 2015 22:22
thx, cu
Bob van der Linden
@bobvanderlinden
Nov 26 2015 22:22
though the net2dot stuff is new to me (i might have seen it before, but at the time wasn't that into customizing hal that much)