Skip to content

Commit bbd5e25

Browse files
committed
doc: update readme
1 parent 5ba1742 commit bbd5e25

5 files changed

Lines changed: 9 additions & 2 deletions

File tree

systems/test/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This test demonstrates the integration of a C3 controller with a cartpole system
44

55
The diagram below illustrates the system architecture used in this test:
66

7-
![C3 Controller Test Diagram](res/c3_controller_test_diagram.jpg)
7+
![C3 Controller Test Diagram](resources/diagrams/cartpole_softwalls_c3_controller_test.jpg)
88

99
# LCS Factory System Test
1010

@@ -14,4 +14,5 @@ For a detailed view of the system architecture, refer to the diagram below:
1414

1515
Cartpole with Softwalls | Cube Pivoting
1616
:-------------------------:|:-------------------------:
17-
![Cartpole with Softwalls](res/cartpole.png)| ![Cube Pivoting](res/pivoting.png)
17+
![Cartpole with Softwalls Diagram](resources/diagrams/cartpole_softwalls_lcs_factory_systems_test.jpg)| ![Cube Pivoting Diagram](resources/diagrams/cube_pivoting_lcs_factory_systems_test.jpg)
18+
![Cartpole with Softwalls](resources/cartpole_softwalls/cartpole.png)| ![Cube Pivoting](resources/cube_pivoting/pivoting.png)

systems/test/lcs_factory_system_test.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ int RunCartpoleTest() {
234234

235235
auto diagram = builder.Build();
236236

237+
c3::systems::common::DrawAndSaveDiagramGraph(
238+
*diagram, "/home/stephen/Workspace/DAIR/c3/systems/test/resources/cartpole_softwalls/diagram");
239+
237240
// Create a default context for the diagram.
238241
auto diagram_context = diagram->CreateDefaultContext();
239242

@@ -399,6 +402,9 @@ int RunPivotingTest() {
399402
// Build the diagram.
400403
auto diagram = builder.Build();
401404

405+
c3::systems::common::DrawAndSaveDiagramGraph(
406+
*diagram, "/home/stephen/Workspace/DAIR/c3/systems/test/resources/cube_pivoting/diagram");
407+
402408
// Create a default context for the diagram.
403409
auto diagram_context = diagram->CreateDefaultContext();
404410

systems/test/resources/c3_controller_test_diagram.jpg renamed to systems/test/resources/diagrams/cartpole_softwalls_c3_controller_test.jpg

File renamed without changes.
1.38 MB
Loading
1.32 MB
Loading

0 commit comments

Comments
 (0)