Skip to content

Commit b664871

Browse files
committed
Fix SMACH wiki discoverability and naming consistency
1 parent c5dde45 commit b664871

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

wiki/programming/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ title: Programming
44
---
55
**This page is a stub.** You can help us improve it by [editing it](https://github.com/RoboticsKnowledgebase/roboticsknowledgebase.github.io).
66
{: .notice--warning}
7+
8+
## Key Subsections and Highlights
9+
10+
- **[SMACH Library](/wiki/programming/smach-library/)**
11+
Overview of task-level state machine design with SMACH, including key concepts, use cases, and a simple ROS-oriented example workflow.

wiki/programming/smach-library.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
date: 2024-02-12 # YYYY-MM-DD
66
# This will be displayed at the bottom of the article
77
# You should set the article's title:
8-
title: SMACH Library Overview
8+
title: SMACH Library
99
# The 'title' is automatically displayed at the top of the page
1010
# and used in other parts of the site.
1111
---
@@ -41,7 +41,7 @@ SMACH is a powerful tool particularly suited for scenarios where robots are requ
4141
While SMACH can be used to build finite state machines, its capabilities extend beyond that. It provides various "state containers" that can encapsulate other state machines or be part of larger containers themselves. This flexibility allows developers to construct intricate systems with nested state hierarchies
4242

4343
## Writing a Simple State Machine
44-
![FSM](assets/FSM.png)
44+
![FSM](assets/smach-fsm.png)
4545

4646
The above image describes a state machihne which has three main states - Finding_Cornstalk, Cleaning_Calibrating and Insertion. The outcome of each state is the flag indicating the transition to the next state. The State Machine starts with Finding_Cornstalk state and ends when the output of any state is 'Stop'. Below is a skeleton code of how this state machine programming will look like -
4747

@@ -127,4 +127,4 @@ SMACH stands out as a powerful tool in the ROS ecosystem for developing complex
127127
## References
128128
- [SMACH Library](https://wiki.ros.org/smach)
129129
- [SMACH Documentation](https://wiki.ros.org/smach/Documentation)
130-
- [State Machine Example](https://wiki.ros.org/smach/Tutorials/Simple%20State%20Machine)
130+
- [State Machine Example](https://wiki.ros.org/smach/Tutorials/Simple%20State%20Machine)

0 commit comments

Comments
 (0)