My project for Northeastern's CS4300 Computer Graphics with Professor Shah. I built a basic robot simulator which parses a URDF file and can perform forward kinematics to control the joints of the robot.
The crate provides several modules:
wgpu_program
provides a simple engine for rendering meshes and scene graphsurdf
parses URDF XML into a scene graph with transformation information, as well as visual, inertial, collision datageometry
provides mesh parsing and homogeneous transformationsshader
convenience traits for compiling shader programsbindings
convenience traits for creating bindings to buffers in the programcamera
data structure for creating cameralight
data structure for adding lightstexture
convenience for creating textures
To build the library with an up-to-date Rust toolchain:
cargo build
To run the XArm example:
cargo run --example=urdf_arm