Study of real time aspects for motion-driven music generation for a quadruped robot

dc.contributor.authorHu, Shimin
dc.contributor.authorYi, Xin
dc.contributor.departmentChalmers tekniska högskola / Institutionen för mikroteknologi och nanovetenskap (MC2)sv
dc.contributor.departmentChalmers University of Technology / Department of Microtechnology and Nanoscience (MC2)en
dc.contributor.examinerLarsson-Edefors, Per
dc.contributor.supervisorKumar, Shivesh
dc.date.accessioned2026-09-30T09:26:59Z
dc.date.issued2026
dc.date.submitted
dc.description.abstractRecent advances in legged robotics have expanded their deployment in human-centered environments, where rich multi-modal interaction is essential. While visual and kinematic behaviors are widely studied, real-time auditory feedback directly driven by robot motion remains comparatively underexplored. Such motion-driven sonification requires bounded low-latency synchronization between physical gait events and audio generation; however, standard general-purpose operating systems and middleware such as ROS 2 may introduce non-deterministic scheduling jitter, delayed callbacks, and audible timing artifacts under computational load. This thesis proposes and evaluates an embedded audio-motion synchronization framework for the Unitree Go2 quadruped robot. The system captures high-frequency proprioceptive sensor data at 500 Hz, applies lightweight filtering for gait-event extraction, and maps detected motion features to musical parameters and triggered audio responses in real time. To improve temporal predictability, the software architecture combines a decoupled C++ sensing/audio pipeline with operating-systemlevel real-time scheduling using a PREEMPT_RT patched Linux kernel and SCHED_FIFO thread prioritization. Experimental evaluation under simulated autonomous workloads, including SLAMand navigation-like CPU stress, shows that real-time scheduling primarily improves worst-case timing behavior rather than average computational speed. Under stress, the proposed real-time configuration reduces sensor data loss from 30.16% to 8.30%. It also substantially mitigates long-tail callback execution jitter: while the standard Linux scheduler exhibits a worst-case execution inflation of 1451× with a maximum callback time of 2,875 μs, the real-time configuration bounds the corresponding maximum to 24.7 μs, a 116× reduction. On the deployed Jetson platform, immediate footstep-to-audio events remain below 40 ms, well within the perceptual synchrony target used in this work. These results demonstrate that careful architectural decoupling and real-time scheduling can make motion-synchronous audio feedback practical for embedded interactive robotic systems.
dc.identifier.coursecodeMCCX04
dc.identifier.urihttps://hdl.handle.net/20.500.12380/312568
dc.language.isoeng
dc.setspec.uppsokPhysicsChemistryMaths
dc.subjectRobotics, Sonification, ROS 2, Real-Time Operating Systems (RTOS), PREEMPT_RT, Human-Robot Interaction (HRI), Quadruped Locomotion
dc.titleStudy of real time aspects for motion-driven music generation for a quadruped robot
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeEmbedded electronic system design (MPEES), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
final_report_ShiminHu_XinYi.pdf
Size:
11.95 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Size:
2.35 KB
Format:
Item-specific license agreed upon to submission
Description: