Add missing state.

PiperOrigin-RevId: 882072832
Change-Id: I6ad75af67edc7672350c775c1a560e3db6d16969
This commit is contained in:
Haroon Qureshi
2026-03-11 10:06:03 -07:00
committed by Copybara-Service
parent ecc22667fa
commit ad57721e2c
+2 -1
View File
@@ -534,11 +534,12 @@ void StateGui(const mjModel* model, mjData* data, std::vector<mjtNum>& state,
ImGui::Unindent(0.5f * ImGui::GetTreeNodeToLabelSpacing());
// State component names and tooltips.
static constexpr const char* name_and_tooltip[][2] = {
static constexpr const char* name_and_tooltip[mjNSTATE][2] = {
{"TIME", "Time"},
{"QPOS", "Position"},
{"QVEL", "Velocity"},
{"ACT", "Actuator activation"},
{"HISTORY", "History buffers (control, sensor)"},
{"WARMSTART", "Acceleration used for warmstart"},
{"CTRL", "Control"},
{"QFRC_APPLIED", "Applied generalized force"},