Skip to content

How-To Guides

How-to guides are task-oriented recipes that solve specific problems. Unlike tutorials which teach concepts step-by-step, each guide here assumes you already understand the basics and need to accomplish something concrete.

Available Guides

Guide Description
Custom Thread Pools Route work to dedicated threads
IO Events React to file descriptor activity
Networking Connect NUClear instances over the network
TCP & UDP Handle raw socket communication
Managing Reactions Enable, disable, and remove reactions at runtime
Watchdog Timeouts Detect and recover from timeouts
Synchronization Prevent concurrent access without mutexes
Logging Configure and use the logging system
Testing Reactors Write tests for reactive components
Extending the DSL Create custom DSL words