diff --git a/source/MotorState.m b/source/MotorState.m index ed551f7f453b960198d5f113f67b75e826b52e2c..00ccc962ccf856f841813285dc954e82b3478a7a 100644 --- a/source/MotorState.m +++ b/source/MotorState.m @@ -11,7 +11,15 @@ classdef MotorState end methods + function m = MotorState() + % Do nothing? + end + function display(state) + if strcmp(class(state.sendOnStart), 'SendOnStart') + state.sendOnStart = uint8(state.sendOnStart); + end + fprintf('#### Motor State ####\n'); props = properties(state); for i = 1:length(props)