[Bug 456] New: Cannot use exported program function as command in c++

For more infomation about this bug, visit
Summary: Cannot use exported program function as command in c++
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Hi,

I would like to use an exported program function as a command in c++ (only to
check it's status).

I can see the command ("moveJS") in the taskbrowser, but when i ask it using
getCommand(), i get the message that the function is not found:

4.640 [ Warning][CommandRepository::getCommand] No such command: moveJS
4.641 [ Warning][CommandRepository::getCommand] No such command: moveCS

In Task SuperVisor[R]. (Status of last Command : busy )
(type 'ls' for context info) :ls

Listing TaskContext SuperVisor :

Configuration Properties: (none)

Execution Interface:
Attributes : (none)
Methods : cleanup configure isConfigured isRunning start stop trigger
update
Commands : moveCS moveJS
Events : (none)

Data Flow Ports: (none)

Am I trying something impossible or is this a bug. Or is there a better way to
report the status of a command ;)

Ruben

[Bug 456] Cannot use exported program function as command in c++

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
CC| |peter [dot] soetens [..] ...

Ruben Smits's picture

[Bug 456] Cannot use exported program function as command in c++

For more infomation about this bug, visit

[Bug 456] Cannot use exported program function as command in c++

For more infomation about this bug, visit

Peter Soetens
<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID