logo logo
Saturday, 11 de October de 2008
 
 
English English  Español Español  
Etiquetas
Análisis Artificial Associations Científicos Conciencia Consciencia Consciencia Artificial Conscientes Consciousness Howto Investigación Microsoft Máquinas Neurociencia Publicaciones Researchers Reviews Robot Robotics Robots Servicios Studio artificial conciencia
Conscious-Robots.com Forum  


Garcia
Usuarios

Fresh Boarder
Mensajes: 2
graphgraph
Karma: 1  
C# Matrix Library for an Articulated Arm - 2008/07/09 14:09 Hi, I'm looking for a C# Matrix Library to create a MSRS Driver for a fisic Articulated Arm I have.

Do you now if there is one included in MSRS that I can use? (Not for simulation, but real time kinematics proccess).

I could make my own library, but it's much more simple to use one allready made (MSRS one or external C# library).

Thanks in advance.
  El administrador ha deshabilitado la escritura de mensajes a los usuarios no registrados.
Raúl
Moderador

Moderador
Mensajes: 394
graph
Karma: 6  
Re:C# Matrix Library for an Articulated Arm - 2008/07/09 18:05 Hi, I was looking for the same stuff some time ago. I had to do plenty of euclidean transformations like rotations, translations, projections, calculate vectors from different reference systems, etc.

I started using the classes defined in Microsoft.Robotics.PhysicalModel (Vector3, Quaternion, Matrix, etc.) to represent objects and locations perceived by my robot. Then, I discovered (thanks to S@ilor for this) that you can have some more functionality if you use the Microsoft.XNA.Framework assembly (which is also shipped with Robotics Studio).

By the way, note the difference between Microsoft.Robotics.PhysicalModel.Vector3 and Microsoft.XNA.Framework.Vector3

Using the XNA Framework you can do things like this:

Code:

 static Vector3 RotatePointOnYAxis(Vector3 pointfloat angle) {     // Create a rotation matrix that represents a rotation of angle radians.     Matrix rotationMatrix Matrix.CreateRotationY(angle);     // Apply the rotation matrix to the point.     Vector3 rotatedPoint Vector3.Transform(pointrotationMatrix);     return rotatedPoint; }



I don't know of any other C# library for matrix algebra, but I am sure there should be something out there.. I'll let you know if I here of something.

Hope this helps..
Raúl Arrabales Moreno. conscious-robots.com/raul
  El administrador ha deshabilitado la escritura de mensajes a los usuarios no registrados.
Garcia
Usuarios

Fresh Boarder
Mensajes: 2
graphgraph
Karma: 1  
Re:C# Matrix Library for an Articulated Arm - 2008/07/11 08:44 Muchas gracias, Raúl

1 Saludo
  El administrador ha deshabilitado la escritura de mensajes a los usuarios no registrados.
Raúl
Moderador

Moderador
Mensajes: 394
graph
Karma: 6  
Re:C# Matrix Library for an Articulated Arm - 2008/07/13 18:00 ¡De nada! You're welcome!

Cheers,
Raúl.
Raúl Arrabales Moreno. conscious-robots.com/raul
  El administrador ha deshabilitado la escritura de mensajes a los usuarios no registrados.





¿Recuperar contraseña?
¿Quieres registrarte? Hazlo aquí
Mensajes en el Foro
 
Top! Top!