public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Reset To Start Pos", this.ResetToStartPos.GetType(), "ResetToStartPos", "Properties", "If true then it will reset the joint to a known position at the start the simulation", this.ResetToStartPos)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Query Motor Data", this.QueryMotorData.GetType(), "QueryMotorData", "Properties", "If this is false then no data is retrieved from the motor", this.QueryMotorData)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Position FP Min", this.MinPosFP.GetType(), "MinPosFP", "Motor Properties", "This is the minimum fixed point position that the motor uses.", this.MinPosFP)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Position FP Max", this.MaxPosFP.GetType(), "MaxPosFP", "Motor Properties", "This is the maximum fixed point position that the motor uses.", this.MaxPosFP)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Angle Min", this.MinAngle.GetType(), "MinAngle", "Motor Properties", "This is the minimum angle the motor can attain.", this.MinAngle)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Angle Max", this.MaxAngle.GetType(), "MaxAngle", "Motor Properties", "This is the maximum angle the motor can attain.", this.MaxAngle)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Velocity FP Min", this.MinVelocityFP.GetType(), "MinVelocityFP", "Motor Properties", "This is the minimum fixed point velocity that the motor uses.", this.MinVelocityFP)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Velocity FP Max", this.MaxVelocityFP.GetType(), "MaxVelocityFP", "Motor Properties", "This is the maximum fixed point velocity that the motor uses.", this.MaxVelocityFP)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("RPM Per FP Unit", this.RPMPerFPUnit.GetType(), "RPMPerFPUnit", "Motor Properties", "This is the RPM per fixed velocity unit.", this.RPMPerFPUnit)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Load FP Min", this.MinLoadFP.GetType(), "MinLoadFP", "Motor Properties", "This is the minimum fixed point load that the motor uses.", this.MinLoadFP)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Load FP Max", this.MaxLoadFP.GetType(), "MaxLoadFP", "Motor Properties", "This is the maximum fixed point load that the motor uses.", this.MaxLoadFP)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("CW Compliance Margin", this.CWComplianceMargin.GetType(), "CWComplianceMargin", "Motor Properties", "This is the clock-wise compliance margin used by this servo.", this.CWComplianceMargin)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("CCW Compliance Margin", this.CCWComplianceMargin.GetType(), "CCWComplianceMargin", "Motor Properties", "This is the counter clock-wise compliance margin used by this servo.", this.CCWComplianceMargin)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("CW Compliance Slope", this.CWComplianceSlope.GetType(), "CWComplianceSlope", "Motor Properties", "This is the clock-wise compliance slope used by this servo.", this.CWComplianceSlope)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("CCW Compliance Slope", this.CCWComplianceSlope.GetType(), "CCWComplianceSlope", "Motor Properties", "This is the counter clock-wise compliance slope used by this servo.", this.CCWComplianceSlope)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Max Torque", this.MaxTorque.GetType(), "MaxTorque", "Motor Properties", "This is the maximum torque setting used by this servo.", this.MaxTorque)); if (!IsHinge) { AnimatGuiCtrls.Controls.PropertyBag pbNumberBag = m_snTranslationRange.Properties; propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Translation Range", pbNumberBag.GetType(), "TranslationRange", "Motor Properties", "Sets the range of movement for a prismatic joint.", pbNumberBag, "", typeof(AnimatGUI.Framework.ScaledNumber.ScaledNumericPropBagConverter))); } }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Pin", this.IOComponentID.GetType(), "IOComponentID", "Properties", "The pin number where the digital value will be output.", this.IOComponentID)); }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Com Port", this.ComPort.GetType(), "ComPort", "Properties", "Com port number", this.ComPort)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Baud Rate", this.BaudRate.GetType(), "BaudRate", "Properties", "Baud rate to use for communications", this.BaudRate)); }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Com Port", this.Port.GetType(), "Port", "Properties", "Com port", this.Port)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Baud Rate", this.BaudRate.GetType(), "BaudRate", "Properties", "Baud rate to use for communications", this.BaudRate)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Pulse Sim Step Count", this.ChangeSimStepCount.GetType(), "ChangeSimStepCount", "Properties", "Number of simulation step slices to keep a start/stop signal active", this.ChangeSimStepCount)); }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Min Pulse", this.MinPulse.GetType(), "MinPulse", "Properties", "Minimum pulse duration of servo", this.MinPulse)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Max Pulse", this.MaxPulse.GetType(), "MaxPulse", "Properties", "Maximum pulse duration of servo", this.MaxPulse)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Reset To Start Pos", this.ResetToStartPos.GetType(), "ResetToStartPos", "Properties", "If true then it will reset the joint to a known position at the start the simulation", this.ResetToStartPos)); }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Update All Params Count", this.UpdateAllParamsCount.GetType(), "UpdateAllParamsCount", "Properties", "How many update loops to go through before updating all params (voltage, load, etc.)", this.UpdateAllParamsCount)); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Update Queue Index", this.UpdateQueueIndex.GetType(), "UpdateQueueIndex", "Properties", "Dynamixel motors can be updated in a round robin fashion. To do this change their queue index. " + "To have it updated every time set the index to -1.", this.UpdateAllParamsCount)); }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); propTable.Properties.Add(new AnimatGuiCtrls.Controls.PropertySpec("Com Port", this.PortNumber.GetType(), "PortNumber", "Properties", "Com port number", this.PortNumber)); }
public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable) { base.BuildProperties(ref propTable); }