logo logo
Monday, 06 October 2008
 
 
English English  Español Español  
Tag Cloud
Architectures Artificial Associations Books Brain Conscious Consciousness Forums Howto Machine Machine Consciousness Machines Microsoft Neuroscience Projects Publications Research Researchers Reviews Robot Robotics Robots Services Studio
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: 388
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: 388
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
Last comments
My review of Conscious Machines
Review of the book ‘The Co...
23/09/08 12:32 More...
By Raúl

Re: How do i use this in a simulated rob
Hi, let me answer...
12/08/08 14:46 More...
By Raúl

How do i use this in a simulated robot?
I\'m entirely new ...
10/08/08 16:30 More...
By carlcs

How do i use this in a simulated robot?
I\'m entirely new ...
10/08/08 16:29 More...
By carlcs

Foro de Robotics Studio en Español
Hola sutaro, he copiado...
17/07/08 14:32 More...
By Raúl

fallo de ejecución:Unhandled within caus
Hola a todos, es ...
17/07/08 13:03 More...
By sutaro

Amazed Challenge 2
Good news for those of you who missed t...
03/07/08 11:21 More...
By Raúl

Poster Session Pictures
Some pictures of the poster sessio...
08/04/08 13:17 More...
By Raúl

Final Announcement and Conference Overvi
Final Announcemen...
07/02/08 12:45 More...
By Raúl

Discussion about test for consciousness
More information a...
29/01/08 15:01 More...
By Raúl

 
Top!
Advertising links: Loan - Mortgage Calculator - Money - Credit Cards
Top!