public static extern void Survive_default_angle_process(SurviveObjectPtr so, int sensor_id, int acode, UInt32 timecode, double length, double angle, UInt32 lh);
public static extern void Survive_object_codename(SurviveObjectPtr so, byte[] buf);
public static extern void Survive_default_imu_process(SurviveObjectPtr so, int mode, SurviveIMUData accelgyro, UInt32 timecode, int id);
public static extern bool Survive_object_charging(SurviveObjectPtr so);
public static extern double[] Survive_object_sensor_locations(SurviveObjectPtr so);
public static extern int Survive_default_config_process(SurviveObjectPtr so, string ct0conf, int len);
public static extern char Survive_object_drivername(SurviveObjectPtr so);
protected void LightHouseEvent(SurviveObjectPtr ctx, byte lighthouse, SurvivePose lighthouse_pose) { Cfunctions.Survive_default_lighthouse_pose_process(ctx, lighthouse, lighthouse_pose); }
virtual protected void LightEvent(SurviveObjectPtr so, int sensor_id, int acode, int timeinsweep, UInt32 timecode, UInt32 length, UInt32 lighthouse) { Cfunctions.Survive_default_light_process(so, sensor_id, acode, timeinsweep, timecode, length, lighthouse); }
virtual protected void ButtonEvent(SurviveObjectPtr so, byte eventType, byte buttonId, byte axis1Id, ushort axis1Val, byte axis2Id, ushort axis2Val) { Cfunctions.Survive_default_button_process(so, eventType, buttonId, axis1Id, axis1Val, axis2Id, axis2Val); }
virtual protected void AngleEvent(SurviveObjectPtr so, int sensor_id, int acode, uint timecode, double length, double angle, uint lh) { Cfunctions.Survive_default_angle_process(so, sensor_id, acode, timecode, length, angle, lh); }
virtual protected int ConfigEvent(SurviveObjectPtr so, string ct0conf, int len) { return(Cfunctions.Survive_default_config_process(so, ct0conf, len)); }
virtual protected void IMUEvent(SurviveObjectPtr so, int mask, SurviveIMUData accelgyro, uint timecode, int id) { Cfunctions.Survive_default_imu_process(so, mask, accelgyro, timecode, id); }
public static extern char Survive_object_drivername(SurviveObjectPtr so, byte[] buf);
public static extern void Survive_default_button_process(SurviveObjectPtr so, byte eventType, byte buttonId, byte axis1Id, UInt16 axis1Val, byte axis2Id, UInt16 axis2Val);
virtual protected void PoseEvent(SurviveObjectPtr so, UInt32 timecode, SurvivePose pose) { Cfunctions.Survive_default_pose_process(so, timecode, pose); }
public static extern void Survive_default_pose_process(SurviveObjectPtr so, UInt32 timecode, SurvivePose pose);
virtual protected void InfoEvent(SurviveObjectPtr ctx, UInt32 loglevl, string fault) { Console.Out.WriteLine(fault); }
public static extern string Survive_object_codename(SurviveObjectPtr so);
virtual protected void ErrorEvent(SurviveObjectPtr ctx, string fault) { Console.Error.WriteLine(fault); }
public static extern byte Survive_object_charge(SurviveObjectPtr so);
public static extern void Survive_default_raw_pose_process(SurviveObjectPtr so, byte lighthouse, SurvivePose pose);
public static extern IntPtr Survive_object_pose(SurviveObjectPtr so);
public static extern void Survive_default_light_process(SurviveObjectPtr so, int sensor_id, int acode, int timeinsweep, UInt32 timecode, UInt32 length, UInt32 lh);
public static extern double[] Survive_object_sensor_normals(SurviveObjectPtr so);
virtual protected void PoseEvent(SurviveObjectPtr so, byte lighthouse, SurvivePose pose) { Cfunctions.Survive_default_raw_pose_process(so, lighthouse, pose); Console.WriteLine("PoseEvent"); }