Skip to content

Commit

Permalink
Bug Fix: Reading in all the Inertia values from ADF (WPI-AIM#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
nag92 authored Nov 3, 2021
1 parent b93f750 commit 35245ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adf_loader/version_1_0/adf_loader_1_0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,8 @@ bool ADFUtils::getInertialAttrisFromNode(YAML::Node *a_node, afInertialAttribute

if(inertiaNode.IsDefined()){
double ix = inertiaNode["ix"].as<double>();
double iy = inertiaNode["ix"].as<double>();
double iz = inertiaNode["ix"].as<double>();
double iy = inertiaNode["iy"].as<double>();
double iz = inertiaNode["iz"].as<double>();

attribs->m_inertia.set(ix, iy, iz);
attribs->m_estimateInertia = false;
Expand Down

0 comments on commit 35245ad

Please sign in to comment.