Skip to content

Commit 360782d

Browse files
authored
Change block sample time
1 parent 32c889f commit 360782d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • autodrive_turnkey_demos/autodrive_husky_g2g_mbse/autodrive_husky_api

autodrive_turnkey_demos/autodrive_husky_g2g_mbse/autodrive_husky_api/autodrive_husky.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function setup(block)
147147
% [positive_num offset] : Discrete sample time
148148
% [-1, 0] : Inherited sample time
149149
% [-2, 0] : Variable sample time
150-
block.SampleTimes = [1 0];
150+
block.SampleTimes = [0 0];
151151

152152
% Specify the block simStateCompliance. The allowed values are:
153153
% 'UnknownSimState', < The default setting; warn and assume DefaultSimState
@@ -333,4 +333,4 @@ function Terminate(block)
333333
% Kill the simulator instance
334334
system('taskkill /F /IM "AutoDRIVE Simulator.exe"');
335335

336-
%end Terminate
336+
%end Terminate

0 commit comments

Comments
 (0)