Skip to content

Commit

Permalink
Markdown syntax fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Vroni27 committed Nov 3, 2024
1 parent 54d925e commit b25857c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 40 deletions.
Binary file removed doc/research/paf24/curr_behavior_example.png
Binary file not shown.
Binary file removed doc/research/paf24/nav_msgs_Path_type.png
Binary file not shown.
31 changes: 31 additions & 0 deletions doc/research/paf24/planning/planning_acting_relation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Relation between planning and acting

This diagram shows the basics of the communication between the planning (green) and acting (blue) components. The information is gained using the rqt-graph. There are three main topics which represent the communication:

- `/paf/hero/trajectory`
- `/paf/hero/emergency`
- `/paf/hero/curr_behavior`

![Diagram showing the involved nodes and topics and their relation](../../../assets/research_assets/planning_acting_communication.svg)

## Useful commands

- The types of the messages published on the mentioned topics can be found out with the command `rostopic type <topic>`.
- To have a deeper look on the message types, you can use the command `rosmsg show <messageType>`.
- `rostopic echo <topic>` shows all the messages published on the specified topic.

## Messages

The topic `/paf/hero/trajectory` uses the message type `nav_msgs/Path`. This type looks as follows:

![Format of Path messages](../../../assets/research_assets/nav_msgs_Path_type.png)

Every message that is published consists of several parts of this structure. One concrete example of a part of such a message can be seen here:

![Example of a Path message](../../../assets/research_assets/trajectory_example.png)

The topic `/paf/hero/emergency` uses the message type `std_msgs/Bool`, so the emergency case can either be true or false.

The topic `/paf/hero/curr_behavior` uses the message type `std_msgs/String`. Examples of these messages can be seen here:

![Examples of messages posted on the topic curr_behavior](../../../assets/research_assets/curr_behavior_example.png)
4 changes: 0 additions & 4 deletions doc/research/paf24/planning_acting_communication.svg

This file was deleted.

36 changes: 0 additions & 36 deletions doc/research/paf24/planning_acting_relation.md

This file was deleted.

Binary file removed doc/research/paf24/trajectory_example.png
Binary file not shown.

0 comments on commit b25857c

Please sign in to comment.