Skip to content
Snippets Groups Projects
Commit c392a4cd authored by Tim Stadtmann's avatar Tim Stadtmann
Browse files

Fix display-function of MotorState

parent a290c3f0
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment