Add frame support to the cable composite.

Also cleanup user_composite.cc includes.

PiperOrigin-RevId: 740730596
Change-Id: I05df59926d8e61de45fd6b2a3a63121b7a390448
This commit is contained in:
Alessio Quaglino
2025-03-26 05:35:33 -07:00
committed by Copybara-Service
parent d6943731b2
commit 5c955b8fe2
4 changed files with 13 additions and 14 deletions
+1
View File
@@ -80,6 +80,7 @@ class mjCComposite {
std::vector<float> uservert; // user-specified vertex positions
double size[3]; // rope size (meaning depends on the shape)
mjtCompShape curve[3]; // geometric shape
mjsFrame* frame; // frame where the composite is defined
// body names used in the skin
std::vector<std::string> username;