Comment 5 for bug 379814

Revision history for this message
Nate Michael (nate-michael) wrote : Re: [Bug 379814] Re: gen_action_registry.sh incorrectly generates Action Registry

> class="$(echo $f | sed "s/^actions\/\(\w\{0,\}\)\.hh/\1/g")"
> id="$(echo $foo | sed "s/PEEKABOT_REGISTER_SERIALIZABLE[[:space:]]
> \{1,\}//g")"
>
> Still a no-go?

One line from the output follows:

Found action actions/SetJointMax.hh, id=95 (./actions/SetJointMax.hh)

So the id matching works, but not the definition of class.

> What's the reason for using the ":" syntax, instead of the "/" syntax?

Personal preference, I find it easier to read.

Nate