add estop on movement error parameter
parent
2cc6e900d8
commit
f4ec89b6a9
|
@ -69,6 +69,10 @@ export namespace ToolTips {
|
|||
export const MAX_MOVEMENT_RETRIES =
|
||||
`Number of times to retry a movement before stopping.`;
|
||||
|
||||
export const E_STOP_ON_MOV_ERR =
|
||||
`Emergency stop if movement is not complete after the maximum number of
|
||||
retries.`;
|
||||
|
||||
export const MAX_SPEED =
|
||||
`Maximum travel speed after acceleration in motor steps per second.`;
|
||||
|
||||
|
|
|
@ -40,6 +40,21 @@ export function Motors({ dispatch, bot }: MotorsProps) {
|
|||
dispatch={dispatch} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row>
|
||||
<Col xs={6}>
|
||||
<label>
|
||||
{t("E-Stop on Movement Error")}
|
||||
</label>
|
||||
<SpacePanelToolTip tooltip={t(ToolTips.E_STOP_ON_MOV_ERR)} />
|
||||
</Col>
|
||||
<Col xs={2}>
|
||||
<ToggleButton
|
||||
toggleValue={mcu_params.param_e_stop_on_mov_err}
|
||||
toggleAction={() =>
|
||||
settingToggle("param_e_stop_on_mov_err", bot)}
|
||||
/>
|
||||
</Col>
|
||||
</Row>
|
||||
<NumericMCUInputGroup
|
||||
name={t("Max Speed (steps/s)")}
|
||||
tooltip={t(ToolTips.MAX_SPEED)}
|
||||
|
|
Loading…
Reference in New Issue