From 91b2e335d2806ec93bf30d13c2ebcdeedc02f21d Mon Sep 17 00:00:00 2001 From: Mark Rivers Date: Wed, 22 Nov 2017 14:06:07 -0600 Subject: [PATCH] Set deceleration the same as acceleration for SET_ACCEL command; previously the default controller decleration was always used --- motorApp/NewportSrc/devESP300.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/NewportSrc/devESP300.cc b/motorApp/NewportSrc/devESP300.cc index 92d6c02f..f77e268a 100644 --- a/motorApp/NewportSrc/devESP300.cc +++ b/motorApp/NewportSrc/devESP300.cc @@ -240,7 +240,7 @@ static RTN_STATUS ESP300_build_trans(motor_cmnd command, double *parms, struct m sprintf(buff, "%.2dVA%f;", axis, cntrl_units); break; case SET_ACCEL: - sprintf(buff, "%.2dAC%f;", axis, cntrl_units); + sprintf(buff, "%.2dAC%f;%.2dAG%f;", axis, cntrl_units, axis, cntrl_units); break; case GO: /*