Hi Roiki,
In order to get ros to work you need an interface to pass commands from user space to rt space. This does not currently exist except for gcode.
This exist's. We have already the c++ rtapi interface running. It works very well. You can take a
look in this
archive
, file halio.cpp is the most interesting one.
Then you can take the simple_tp component or modify the source and use coarse_pos pins for the normal trajectory planner and you have your realtime motion pipeline
That can be done that way. But i see a tiny problem.
Today i started with finishing a motion planner with s-curve implementation.
I started the
project
some time ago, but never finished it to higher level.
What lcnc misses in the motion planner is calculating 3d arc path lenghts for s-curve motion planning.
In fact it's missing
a 3d G02 / G03 command like :
G02 [xs,ys,zs] [xe,ye,ze] [xc,yc,zc]
where xs=x start, xe=x end, xc =x circle center
For robot's and other machines, 3d motion command's are quite normal. With today's gcode intepreter you cannot give 3d Gcode motion commands, except a G1 (lineair) one.
Calculating an arc-lenght from g1 segment's is cpu intensive. Especially for a look ahead implementation where you have to look when to do a dcc to stop exactly at target point.
I hope i can code something together that will work. But i have to load in my brains into it. This kind of project can be boring to code.
After you've done the motion buffer you can use the normal python api to build whatever gui or integration on top fairly easily.[/i]
Yes yes, off course !!