Step-Scope: an open-source smart insole for live plantar-pressure gait analysis in ROS 2 Jazzy

Step-Scope demo

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_angles and ~/connected; host/port as parameters, reconnects on its own
  • gait_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.

Repo (MIT): GitHub - mohamedeyaad/Step-Scope: Open-source smart insole: real-time plantar pressure, gait phase and gait parameters with ROS 2 · GitHub

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?

1 Like