Tool Changer

More
14 years 1 week ago #25660 by ArcEye
Replied by ArcEye on topic Re:Tool Changer

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 wonder if it isn't just a BabelFish, German to English translation thing?

Anyway can't do anything else without the configs, your code works fine, there is something else in the mix.

regards

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

More
14 years 1 week ago #25675 by BigJohnT
Replied by BigJohnT on topic Re:Tool Changer
I did a case sensitive search to find the exact one with the "C" as you found out the case insensitive search brings up other hits.

John

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

More
14 years 1 week ago #25676 by andypugh
Replied by andypugh on 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?

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

More
14 years 1 week ago - 14 years 1 week ago #25680 by ArcEye
Replied by ArcEye on 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: 14 years 1 week ago by ArcEye.

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

Time to create page: 0.301 seconds
Powered by Kunena Forum