http://bugs.orocos.org/show_bug.cgi?id=896
Summary: How to redefine (script)functions online?
Product: Toolchain
Version: 2.3.2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: bert [dot] willaert [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
I have an .ops file that defines some functions and they are loaded at start up
with runScript. Now, when I change the function definition in the .ops while
Orocos keeps running, I can't reload (with runScript) this .ops file:
"Semantic error: exported function 'Name' is already defined in Deployer"
[Bug 896] How to redefine (script)functions online?
http://bugs.orocos.org/show_bug.cgi?id=896
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |peter [..] ...
Resolution| |FIXED
--- Comment #1 from Peter Soetens <peter [..] ...> 2011-10-21 15:43:18 CEST ---
(In reply to comment #0)
> I have an .ops file that defines some functions and they are loaded at start up
> with runScript. Now, when I change the function definition in the .ops while
> Orocos keeps running, I can't reload (with runScript) this .ops file:
>
> "Semantic error: exported function 'Name' is already defined in Deployer"
This bug was fixed in 2.5.0, together with the introduction of the 'local',
'global' and 'export' keywords.
If you override a function, a warning is still printed.
Peter