How sreyanmbasu/lab3 works
This is a Lab 3 robotics coursework repository with two independent work paths: Step 1 analyzes motion-capture data and rotation representations, while Step 2 visualizes a Metafly in ROS 2. In the demonstrated ROS workflow, the launch file starts a transform publisher and robot visualization nodes; the publisher repeatedly converts recorded pose data into a world-to-base transform. The Python analysis excerpt shows CSV loading and a main entry point, but many calculations remain TODOs. MATLAB and other description assets are represented from the tree; their internal connections were not sampled.
Main entry points: metafly.launch.py Simulation Launch · metafly_tf_pub.py TF Publisher · Step1.py Pose Analysis · mocap_data.csv Mocap Data
Components 18
Step 1 Analysis
- Pose Analysis
Step1/Python/Step1.py - Mocap Data
Step1/Python/mocap_data.csv - MATLAB Exercises
MATLAB Solution/Lab3_StarterCode.m - Rotation Functions
MATLAB Solution/ECE569_MatrixLog3.m - MATLAB Mocap Data
MATLAB Solution/mocap_data.csv
ROS 2 Visualization
- Simulation Launch
ws3/src/metafly_description/launch/metafly.launch.py - TF Publisher
ws3/src/metafly_tf_pub/metafly_tf_pub/metafly_tf_pub.py - Publisher Mocap Data
ws3/src/metafly_tf_pub/resource/mocap_data.csv - TF Broadcaster
- Robot State Publisher
- Joint State Publisher
- RViz
Robot Description
- Metafly URDF
ws3/src/metafly_description/urdf/metafly.urdf.xacro - Robot Macro
ws3/src/metafly_description/urdf/metafly_macro.xacro - Model Materials
ws3/src/metafly_description/urdf/materials.xacro - RViz Config
ws3/src/metafly_description/rviz/metafly.rviz
Other components
- Lab User
- ROS Operator
Connections 11
- Lab User → Pose Analysis: runs analysis
Step1/Python/Step1.py - Pose Analysis → Mocap Data: reads CSV
Step1/Python/Step1.py - ROS Operator → Simulation Launch: starts simulation
ws3/src/metafly_description/launch/metafly.launch.py - Simulation Launch → TF Publisher: starts node
ws3/src/metafly_description/launch/metafly.launch.py - TF Publisher → Publisher Mocap Data: reads CSV
ws3/src/metafly_tf_pub/metafly_tf_pub/metafly_tf_pub.py - TF Publisher → TF Broadcaster: broadcasts transform
ws3/src/metafly_tf_pub/metafly_tf_pub/metafly_tf_pub.py - Simulation Launch → Robot State Publisher: starts node
ws3/src/metafly_description/launch/metafly.launch.py - Simulation Launch → Joint State Publisher: starts node
ws3/src/metafly_description/launch/metafly.launch.py - Simulation Launch → RViz: starts node
ws3/src/metafly_description/launch/metafly.launch.py - Simulation Launch → Metafly URDF: expands xacro
ws3/src/metafly_description/launch/metafly.launch.py - Simulation Launch → RViz Config: loads config
ws3/src/metafly_description/launch/metafly.launch.py