[Lazarus] 5dpo components last update

Paulo Costa paco.mail.telepac.pt at gmail.com
Thu Feb 11 16:56:51 CET 2016


Hi,

The last update for the 5dpo components:
http://wiki.lazarus.freepascal.org/5dpo#About

can be found here:
https://sourceforge.net/p/sdpo-cl/mercurial/ci/default/tree/
or
https://sourceforge.net/projects/sdpo-cl/files/latest/download

The most important changes are:
  - TSdpoSerial tested and working on the Raspberry Pi 2.

  - TSdpoFreenect can read the RGB and depth images from the original 
Xbox Kinect. It works in Linux and uses the OpenKinect driver.

  - TDMatrix now supports element access like an array: A[r, c] := B[r, 
c] + 1.0;

An example:

uses dynmatrix;

...

function DoSomething(A, B: TDMatrix): TDMatrix;
begin
   A := Meye(4);   // 4 x 4 Identity matrix
   B := MZeros(4, 4);  // 4 x 4 zeros matrix
   A := 2 * A + B;
   A[1, 2] := B[2, 2] + 3.0;
   result := A;
end;


Regards,

Paulo Costa




More information about the Lazarus mailing list