rFSM bug?

Dear all,
using rFSM I have this error on the rfsm-rtt-example (and also on my project):

fabrizio@zombie:~/workspace/rfsm-rtt-example$ ./run.sh
0.203 [ Warning][DeploymentComponent::import] The ROS package 'ocl' in
'/opt/ros/electric/stacks/orocos_toolchain/ocl' nor its dependencies
contained a lib/orocos directory. I'll look in the RTT_COMPONENT_PATH
next.
0.332 [ ERROR ][ScriptingService] LuaComponent 'Supervisor':
/home/fabrizio/workspace/rfsm/rfsm.lua:180: attempt to call field
'memoize' (a nil value)

How to fix it?

Regards,
Fabrizio

Re:rFSM bug?

There's a space after the declaration of the function memoize, utils.lua:364...

Fabrizio

rFSM bug?

Hi Fabrizio,

On Tue, Mar 13, 2012 at 07:20:15PM +0000, fabrizio [dot] boriero [..] ... wrote:
> There's a space after the declaration of the function memoize,
> utils.lua:364...

This is certainly is not the problem. The reason the function is
missing is that the old version of utils.lua from orocos-ocl is being
loaded. You can fix this by taking care that that "path/to/rfsm/?.lua"
is added before "path/to/ocl/?.lua" in the LUA_PATH environment
variable.

Best regards
Markus