Skip to content

Commit b8cb61c

Browse files
committed
remove easter egg
Signed-off-by: Michał Pełka <[email protected]>
1 parent b0cebef commit b8cb61c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

rfcs/RFC Feature - Simulation Interfaces Integration.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,16 +304,8 @@ The transition from *PLAYING* or *PAUSED* to *STOPPED* will trigger level reload
304304
305305
The transition from *PLAYING* to *PAUSED* will ask the default physics scene to be disabled. It will stop movement of all PhysX articulations, rigid bodies (both kinematic and simulated), and characters, but some animations will be played. The transition from *PAUSED* to *PLAYING* will do the opposite.
306306
307-
The transition from *PLAYING*, *PAUSED*, or *STOPPED* to *QUITTING* will call:
308-
```cpp
309-
int* ptr = nullptr;
310-
*ptr= 99;
311-
```
312-
alternatively:
313-
```cpp
314-
#pragma clang diagnostic ignored "-Winfinite-recursion"
315-
auto exit = [&]() { exit(); }; exit();
316-
```
307+
The transition from *PLAYING*, *PAUSED*, or *STOPPED* to *QUITTING* will close simulator calling `ConsoleRequestBus` with `quit` command.
308+
317309
318310
The ROS 2 Simulator manager will contain the state of the simulation and perform necessary transitions.
319311

0 commit comments

Comments
 (0)