Tool Changer

More
23 Oct 2012 15:19 #25676 by andypugh
andypugh replied the topic: Re:Tool Changer
ArcEye wrote:

A little grepping in the source finds this code that triggered the "Unknown command" error is in src/hal/utils/halcmd.c:

That code is part of the command line parsing from halcmd, seems unlikely.
There are some others, if you do a case insensitive search, but equally unlikely

I wouldn't be surprised to find that all HAL commands go through halcmd.
Why have two HAL parsers?
More
23 Oct 2012 15:50 - 23 Oct 2012 15:51 #25680 by ArcEye
ArcEye replied the topic: Re:Tool Changer

I wouldn't be surprised to find that all HAL commands go through halcmd.

I had thought of that but could not find any calls to halcmd within the /src except from minor uses by halsh.c and halmodule.cc

The function parse_cmd1(..) in which this error message occurs, is only referenced inside halcmd.c.
halcmd_parse_line(..) which uses parse_cmd1() looks a likely candidate, but is also only referenced inside halcmd.

The source code is a spaghetti bush, but I haven't found a strand which leads there yet :blink:
Last Edit: 23 Oct 2012 15:51 by ArcEye.
Time to create page: 0.069 seconds
Powered by Kunena Forum