Re: composeProperty and decomposeProperty [ Marshalling and Demarshalling ]

Peter Soetens <[email protected]> Fri, 21 Apr 2006 16:11:58 +0200
Newsgroups gmane.science.robotics.orocos.user
Organization FMTC
Message-ID <[email protected]>
On Saturday 15 April 2006 13:17, H.S. Randhawa wrote:
> I want to know that how composeProperty and decomposeProperty for
> Marshalling can be created and implemented.
> I m not using CORBA.

Which data do you want to Marshall ? these functions are mainly for converting 
properties to text and vice versa.

>
> I want to use Cartesian Position tracker along with Cartesian Generator to
> track the points.
> My program load the Position Tracker but in output I am getting
>
>  In Task MyTrackingKernel. (Status of last Command : done )
>  (type 'ls' for context info) :CartesianGenerator.moveTo(frame(vector(0.4,
> 0.6,1.2), rotation(90.0, 0.0, 0.0)),1.45)
>       Got :CartesianGenerator.moveTo(frame(vector(0.4,0.6,1.2), rotation(
> 90.0, 0.0, 0.0)),1.45)
>
>  In Task MyTrackingKernel. (Status of last Command : queued )
>  (type 'ls' for context info) :
>
>  In Task MyTrackingKernel. (Status of last Command : done )
>  (type 'ls' for context info) :CartesianPositionTracker.isTracking()
>       Got :CartesianPositionTracker.isTracking()
>  = false

You need to 'shutdown()' the CartesianGenerator and 'startup()' the 
CartesianPositionTracker in order to use the last one.

>
>  In Task MyTrackingKernel. (Status of last Command : done )
>  (type 'ls' for context info) :
>
> Can this purpose be solved using the 'Default Marshalling' option?

I'm not sure what you understand under Marshalling but it has nothing to do 
with the things you type above. I don't understand the problem.

Peter
-- 
Peter Soetens -- FMTC -- <http://www.fmtc.be>