logo logo
Wednesday, 07 January 2009
 
 
English English  Español Español  
Upcoming Events
10.Jun. 2009

IWANN 2009
Salamanca, Spain
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
Tag Cloud
Architectures Associations Books Conferences Conscious Consciousness Developer Documentación Documentation Español Howto Machine Machine Consciousness Machines Neuroscience Publications Research Researchers Reviews Robotics Robots Spanish Studio VPL
Spotlight
Conscious-Robots.com Forum  


jonymegripo
User

Senior Boarder
Posts: 10
graphgraph
Karma: 3  
Como insertar una nueva rueda loca a un objeto - 2008/10/21 14:08 Hola, he estado mirando el codigo de las entidades y me he creado una nueva entidad que es una silla de ruedas. Quiero insertarle una nueva rueda loca, pero no tengo muy claro como se hace.
Alguien me puede hechar una mano.
gracias!!!
  The administrator has disabled public write access. Please, register to participate in the forum.
Raúl
Moderator

Moderator
Posts: 444
graph
Karma: 6  
Re:Como insertar una nueva rueda loca a un objeto - 2008/10/22 16:59 Hola, puedes echar un vistazo en el fichero entities.cs cómo está creado el Pioneer3DX, pues se trata de un differential drive con una rueda de giro libre, que creo que es lo que quieres hacer tú. Fíjate que en el código a la rueda de giro libre en inglés se le denomina CASTER WHEEL.

Basicamente es esto:

Code:

 if (_casterWheelShape == null) {     // add caster wheel as a basic sphere shape     CasterWheelShape = new SphereShape(         new SphereShapeProperties("rear wheel"0.001f,         new Pose(CASTER_WHEEL_POSITION), CASTER_WHEEL_RADIUS));     CasterWheelShape.State.Name "Caster wheel";     // a fixed caster wheel has high friction when moving laterely, but low friction when it moves  along the     // body axis its aligned with. We use anisotropic friction to model this     CasterWheelShape.State.Material = new MaterialProperties("small friction with anisotropy"0.5f0.5f1);     CasterWheelShape.State.Material.Advanced = new MaterialAdvancedProperties(); CasterWheelShape.State.Material.Advanced.AnisotropicDynamicFriction 0.3f; CasterWheelShape.State.Material.Advanced.AnisotropicStaticFriction 0.4f; CasterWheelShape.State.Material.Advanced.AnisotropyDirection = new Vector3(001); } base.State.PhysicsPrimitives.Add(_casterWheelShape);

Raúl Arrabales Moreno. conscious-robots.com/raul
  The administrator has disabled public write access. Please, register to participate in the forum.
jonymegripo
User

Senior Boarder
Posts: 10
graphgraph
Karma: 3  
Re:Como insertar una nueva rueda loca a un objeto - 2008/10/24 12:25 Muchas gracias raul, me di cuenta despues de insertar la pregunta.
  The administrator has disabled public write access. Please, register to participate in the forum.
Syndicate
 Conscious Robots RSS FeedConscious Robots RSS Feed





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