Download src/planner.hpp from chibifire/motion-bricks.cpp: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/chibifire/motion-bricks.cpp/resolve/main/src/planner.hpp
- Command line
-
hf download hf://chibifire/motion-bricks.cpp/src/planner.hpp
-
curl -L -o planner.hpp https://huggingface.co/chibifire/motion-bricks.cpp/resolve/main/src/planner.hpp
1.13 kB
| struct mb_model; | |
| struct mb_motion; | |
| namespace motionbricks::detail { | |
| struct transition_constraints { | |
| std::array<float, 8U * global_root_width> global_root{}; | |
| std::array<float, 8U * local_root_width> local_root{}; | |
| std::array<float, 8U * external_pose_width> poses{}; | |
| std::array<std::uint8_t, 8U> has_global_root{1,1,1,1,1,1,1,1}; | |
| std::array<std::uint8_t, 8U> has_local_root{1,1,1,0,1,1,1,1}; | |
| std::array<std::uint8_t, 8U> has_poses{1,1,1,1,1,1,1,1}; | |
| std::array<std::uint8_t, 11U> allowed_tokens{1,1,1,1,1,1,1,1,1,1,1}; | |
| std::array<float, 4U * 3U> target_root_translations{}; | |
| std::array<float, 4U * g1_joint_count * 4U> target_local_rotations_xyzw{}; | |
| }; | |
| mb_status run_transition(const mb_model & model, | |
| const transition_constraints & constraints, | |
| mb_motion & output, | |
| std::uint32_t * selected_tokens, | |
| std::string & reason); | |
| } // namespace motionbricks::detail | |