A tree architecture with hierarchical data processing on a sensor-rich hexapod robot