Esempio n. 1
0
 public void Add_SensorModule(Joint l_lockjoint, SensorModule module, Joint r_lockjoint)
 {
     sensorModules.Add(module);
     locks.Add(l_lockjoint);
     locks.Add(r_lockjoint);
 }
Esempio n. 2
0
 public void Add_SensorModule(SensorModule module, Joint r_lockjoint)
 {//This just creates the locks, doesnt need more info.
     sensorModules.Add(module);
     locks.Add(r_lockjoint);
 }
Esempio n. 3
0
 public void Create_DistanceSensorLock(SensorModule sm, DistanceSensor ds, Vector3 lockPosition)
 {
     agxJoint = new AgX_Joint(guid);
     agxJoint.DistanceSensorLock(sm.agxPrimitive, ds.agxPrimitive, lockPosition);
     agxJoint.AddtoAssembly();
 }
Esempio n. 4
0
 /*-------------------------------------------------Force Sensors:-------------------------------------------------*/
 public void Create_ForceSensorLock(SensorModule sm, ForceSensor fs, Vector3 lockPosition)
 {
     agxJoint = new AgX_Joint(guid);
     agxJoint.ForceSensorLock(sm.agxPrimitive, fs.agxSensor, lockPosition);
     agxJoint.AddtoAssembly();
 }
Esempio n. 5
0
 public void Create_SensorModuleLock(SensorModule s_mod, Frame left)//sensor placed first, left frame of right module
 {
     agxJoint = new AgX_Joint(guid);
     agxJoint.Create_Lock("Lock", s_mod.agxPrimitive, left.agxFrame);//FIX IN AGX INTERFACE
     agxJoint.AddtoAssembly();
 }
Esempio n. 6
0
 /*------------------------------------------------Sensory Modules:------------------------------------------------*/
 public void Create_SensorModuleLock(Frame right, SensorModule s_mod)//sensor placed last, right frame of left module
 {
     agxJoint = new AgX_Joint(guid);
     agxJoint.Create_Lock("Lock", right.agxFrame, s_mod.agxPrimitive);//FIX IN AGX INTERFACE
     agxJoint.AddtoAssembly();
 }