logo logo
Home arrow Forums...
Friday, 05 December 2008
 
 
English English  Español Español  
Upcoming Events
10.Jun. 2009

IWANN 2009
Salamanca, Spain
International Work-Conference on Artificial Neural Networks
11.Jun. 2009

Toward a Science of Consciousness
Hong Kong, China
15.Jun. 2009

International Workshop on Machine Consciousness
Hong Kong, China
15.Jun. 2009

The 8th IEEE International Conference on Cognitive Informatics
Hong Kong, China
22.Jun. 2009

IWINAC 2009
Santiago de Compostela, Spain
Work-Conference in the Interplay between Natural and Artificial Computation
Tag Cloud
Architectures Artificial Associations Books Conferences Conscious Consciousness Developer Documentación Documentation Español Machine Machine Consciousness Machines Neuroscience Publications Research Researchers Reviews Robotics Robots Spanish Studio VPL
Spotlight
Syndicate
 Conscious Robots RSS FeedConscious Robots RSS Feed
Conscious-Robots.com Forum  


Garcia
User

Fresh Boarder
Posts: 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.
  The administrator has disabled public write access. Please, register to participate in the forum.
Raúl
Moderator

Moderator
Posts: 434
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
  The administrator has disabled public write access. Please, register to participate in the forum.
Garcia
User

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

1 Saludo
  The administrator has disabled public write access. Please, register to participate in the forum.
Raúl
Moderator

Moderator
Posts: 434
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
  The administrator has disabled public write access. Please, register to participate in the forum.





Lost Password?
No account yet? Register
Last Posts in Forum
 
Top! Top!