Code for robot and dashboard.