示例#1
0
 public void Add_SensorModule(Joint l_lockjoint, Sensor_Module module, Joint r_lockjoint)
 {
     sensorModules.Add(module);
     locks.Add(l_lockjoint);
     locks.Add(r_lockjoint);
 }
示例#2
0
 public void Create_SensorModuleLock(Sensor_Module s_mod, Frame left)//sensor placed first, left frame of right module
 {
     joint = new AgX_Joint(guid);
     joint.Create_Lock("Lock", s_mod.agxPrimitive, left.agxFrame);//FIX IN AGX INTERFACE
     joint.AddToSim();
 }
示例#3
0
 public void Add_SensorModule(Sensor_Module module, Joint r_lockjoint)
 {//This just creates the locks, doesnt need more info.
     sensorModules.Add(module);
     locks.Add(r_lockjoint);
 }
示例#4
0
 //Creates an AgX joint that locks a frame and a sensor module together (agxObjects can not be referenced because references are not saved to this joint object).
 public void Create_SensorModuleLock(Frame right, Sensor_Module s_mod)//sensor placed last, right frame of left module
 {
     joint = new AgX_Joint(guid);
     joint.Create_Lock("Lock", right.agxFrame, s_mod.agxPrimitive);//FIX IN AGX INTERFACE
     joint.AddToSim();
 }