Skip to content

Instantly share code, notes, and snippets.

@tfoote
Created March 17, 2020 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tfoote/b7ef42baecc81fdfbc5acfb93fe74210 to your computer and use it in GitHub Desktop.
Save tfoote/b7ef42baecc81fdfbc5acfb93fe74210 to your computer and use it in GitHub Desktop.
digraph {
controller [shape=box,label="Controller"];
mixer [shape=box, label="Mixer"];
actuator [shape=box, label="Actuator"];
hardware_interface [label="Hardware Interface"]
abstract_command [label="Twist"]
constraints [label="Constraints",rank=1]
controller -> abstract_command
abstract_command -> mixer
mixer -> hardware_interface
hardware_interface -> actuator
constraints -> controller;
mixer -> constraints;
// Force rank for readabilty
{
rank = same
abstract_command -> constraints [style=invis]
rankdir = LR
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment