dynamicalnodes: Block Diagrams to ROS2 Graphs
Abstract
Here we introduce dynamicalnodes, a framework for rapid iterative prototyping of control and estimation algorithms within the Robot Operating System, or ROS. The framework leverages the theory of discrete-time dynamical systems to encode each component of a feedback system (e.g. reference generator, controller, plant, observer) as a pair of functions, denoted , where is an evolution function and is an output function. With appropriate choice of domain and codomain, the pairs can be composed to form feedback systems of arbitrary complexity. Moving from theory to practice, the user implements each pair in Python and encapsulates them in objects that facilitate composition and simulation. ROS executables are generated from these objects via rclpy, where relevant metadata such as network topology and publishing frequency are written automatically. The final result is a collection of rclpy files from which validated feedback systems can be spun up as live ROS graphs. We discuss the relevant theory behind the framework and then demonstrate the prototyping workflow applied to a canonical controls problem, a car with cruise control.
Create a lesson
Metadata
- Categories
- eess.SY, cs.SY
- Comments
- See the associated github repo: https://github.com/nehalsinghmangat/dynamicalnodes/tree/main
Related papers
Control Foundation Models across Changing Block Diagrams: Generalizing Time-Series Prediction to Dynamic Graphs
Shared title terminologyeess.SYYuji Okamoto, Kenta Hoshino, Masaki Inoue
On the Grouping-based RIS-aided Multi-user Networks: A Graph Theoretic Approach
Shared title terminologyeess.SYUdit Raj, Priyadarshi Mukherjee
Power-Swing Blocking and Out-of-Step Tripping Scheme Using the Swing Center Voltage in Systems With Inverter-Based Resources
Shared title terminologyeess.SYHenrik Johansson, Qianli Xing, Jaekeun Lee et al.
Scaled Relative Graph Separation for Unbounded Nonlinear Systems
Shared title terminologyeess.SYChao Chen, Sei Zhen Khong, Rodolphe Sepulchre
Network Traffic Dynamics in Urban Low-Altitude Air Transport with Projected-Space Macroscopic Fundamental Diagrams
Shared title terminologyeess.SYRan Chen, Can Chen, Nikolas Geroliminis
Prospective Action-Resource Graph Multi-Agent Reinforcement Learning for Electric HGV Fleets under Shared Charging Infrastructure
Shared title terminologyeess.SYYiming Xu, Fulong Yao, Maurizio Albano et al.