Re: device drivers problem

Peter Soetens <[email protected]> Tue, 2 May 2006 11:03:51 +0200
Newsgroups gmane.science.robotics.orocos.user
Organization FMTC
Message-ID <[email protected]>
On Thursday 27 April 2006 11:17, H.S. Randhawa wrote:
> i want to send the joint position values ( 6 double values) through serial
> port,
> but i saw the parallel port interface in device_driver in kernel samples.
>
> Is there is way to send through serial port.

You need to provide such interface yourself. There is no way Orocos can know 
in which format/units you want to send data to hardware. You need to subclass
AnalogOutputs (which is a logical device) and write the data in the correct
format to the serial port.

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