Step-Scope: an open-source smart insole for live plantar-pressure gait analysis in ROS 2 Jazzy
A team at Ain Shams University has ported their 2023 smart insole prototype to ROS 2 Jazzy. The system uses five force-sensitive resistors and two IMUs streamed over Wi-Fi to compute center of pressure, gait phase, heel strike/toe-off events, stride time, cadence, and stance percentage. It includes a TCP client driver, a gait analyzer node, and a Tkinter GUI with live heatmaps. The project is released under MIT as an educational/research prototype, not a medical device, and currently uses std_msgs/Float32MultiArray for data exchange.
Article text · Original source
Hi all! I’d like to share Step-Scope, a smart insole for gait analysis that a team of six of us built in 2023 at Ain Shams University (Egypt), which I’ve now ported from ROS 1 Noetic to ROS 2 Jazzy.
Hardware: an ESP8266 reads 5 FSRs under the foot and 2 MPU6050 IMUs and streams them over Wi-Fi (TCP).
ROS 2 package (step_scope_ros):
insole_driver: TCP client, publishes~/fsr,~/imu_anglesand~/connected; host/port as parameters, reconnects on its owngait_analyzer: centre of pressure, gait phase, heel strike / toe off events, stride time, cadence and stance %gui: Tkinter GUI with a live plantar-pressure heat map, fed through a thread-safe queue- a recorded walk as an MCAP bag, so you can try everything without the hardware:
ros2 run step_scope_ros gait_analyzer
ros2 bag play src/Step-Scope/step_scope_ros/data/walk_2023_p01.mcap --loop
ros2 run step_scope_ros gui
Limitations, to be upfront: it’s a research/education prototype, not a medical device. Gait phases come from a simple centre-of-pressure rule that hasn’t been validated against force plates.
I’d really value feedback on the interface design. Right now everything is std_msgs/Float32MultiArray. Would you move to custom messages (e.g. a PlantarPressure msg with per-sensor positions), or is there an existing message package for wearable/gait data I should be using instead?