Skip to content

Commit

Permalink
removing step function, from simple_test
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-cavalcanti committed Oct 14, 2023
1 parent 0733285 commit c507c91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/simple_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ fn main() -> Result<(), RemoteAPIError> {
std::thread::sleep(std::time::Duration::from_secs_f64(0.1))
}

client.sim_set_stepping(true)?;
client.sim_start_simulation()?;

// Run a simulation in stepping mode:
Expand All @@ -82,7 +81,6 @@ fn main() -> Result<(), RemoteAPIError> {
let message = format!("Simulation time: {time:.2} [s] (simulation running asynchronously to client, i.e. stepped)", time = time);
println!("{}", message);
client.sim_add_log(sim::VERBOSITY_SCRIPTINFOS, message)?;
client.sim_step()?; //triggers next simulation step
}
client.sim_stop_simulation()?;

Expand Down

0 comments on commit c507c91

Please sign in to comment.