public static object Microsoft_Robotics_Services_ObstacleAvoidanceDrive_ObstacleAvoidanceDriveState_TO_Microsoft_Robotics_Services_ObstacleAvoidanceDrive_Proxy_ObstacleAvoidanceDriveState(object transformFrom) { global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.ObstacleAvoidanceDriveState target = new global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.ObstacleAvoidanceDriveState(); global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.ObstacleAvoidanceDriveState from = ((global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.ObstacleAvoidanceDriveState)(transformFrom)); target.RobotWidth = from.RobotWidth; target.MaxPowerPerWheel = from.MaxPowerPerWheel; target.MinRotationSpeed = from.MinRotationSpeed; global::Microsoft.Robotics.PhysicalModel.Vector3 tmp = from.DepthCameraPosition; target.DepthCameraPosition = ((global::Microsoft.Robotics.PhysicalModel.Proxy.Vector3)(Microsoft_Robotics_PhysicalModel_Proxy_Vector3_TO_Microsoft_Robotics_PhysicalModel_Proxy_Vector30(tmp))); global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.PIDController tmp0 = from.Controller; if ((tmp0 != null)) { target.Controller = ((global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController)(Microsoft_Robotics_Services_ObstacleAvoidanceDrive_PIDController_TO_Microsoft_Robotics_Services_ObstacleAvoidanceDrive_Proxy_PIDController(tmp0))); } target.MaxDeltaPower = from.MaxDeltaPower; return(target); }
public static object Microsoft_Robotics_Services_ObstacleAvoidanceDrive_PIDController_TO_Microsoft_Robotics_Services_ObstacleAvoidanceDrive_Proxy_PIDController(object transformFrom) { global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController target = new global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.Proxy.PIDController(); global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.PIDController from = ((global::Microsoft.Robotics.Services.ObstacleAvoidanceDrive.PIDController)(transformFrom)); target.Ki = from.Ki; target.Kp = from.Kp; target.Kd = from.Kd; return(target); }