Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback based API for Implementing Custom Moment of Inertia Calculators for Meshes #1304

Merged
merged 142 commits into from
Aug 30, 2023

Commits on Jun 13, 2023

  1. Copy sdf 1.10 to 1.11

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    93e497e View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Bumped sdf 1.10 to sdf 1.11

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    bf33df2 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Update SDF schema version in CMakeLists.txt

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    9450574 View commit details
    Browse the repository at this point in the history
  2. Added <material_density> element to <collision

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    0841705 View commit details
    Browse the repository at this point in the history
  3. Added auto attribute to <inertia> tag

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    1c27bfc View commit details
    Browse the repository at this point in the history
  4. Added gz::math::Material member to Collision

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    8a1f8a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Added MassMatrix() functions to Box, Capsule, Cylinder, Ellipsoid & S…

    …phere
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    e3fc2a3 View commit details
    Browse the repository at this point in the history
  2. Added MassMatrix() functions to sdf::Geometry class

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    dbe7d3e View commit details
    Browse the repository at this point in the history
  3. Replaced gz::math::Material member of sdf::Collision with double density

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    45a67bd View commit details
    Browse the repository at this point in the history
  4. Added getter setter functions for density in sdf::Collision

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    db76c5f View commit details
    Browse the repository at this point in the history
  5. Added MassMatrix() function to sdf::Collision class

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    7290483 View commit details
    Browse the repository at this point in the history
  6. Update Link::Load() to check for inertia auto attr & call MassMatrix …

    …for each collision
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    c8120ae View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Cleaned up the Code

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    42a4707 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Corrected default density value

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    bbacbe9 View commit details
    Browse the repository at this point in the history
  2. Corrected function comments

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b092904 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Added ParserConfig param to Collision & Geometry MassMatrix()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    6827d9a View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Added function to register & get CustomMoiCalculator in ParserConfig

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    85b3149 View commit details
    Browse the repository at this point in the history
  2. Added MassMatrix() function to sdf::Mesh

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    49c6528 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Added <moi_calculator_params> to <collision

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    7b33556 View commit details
    Browse the repository at this point in the history
  2. Added InterfaceMoiCalculator class

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    408b643 View commit details
    Browse the repository at this point in the history
  3. Update ParserConfig to use InterfaceMoiCalculator

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    0bc1cf6 View commit details
    Browse the repository at this point in the history
  4. Update Geometry::MassMatrix() to pass calculator params sdf element t…

    …o Mesh::MassMatrix
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    a1db03b View commit details
    Browse the repository at this point in the history
  5. Update Mesh::MassMatrix to pass InterfaceMoiCalculator object to calc…

    …ulator callback
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    d086d68 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Changed <material_density> tag to <density>

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    c3c52aa View commit details
    Browse the repository at this point in the history
  2. Updated Collision:MassMatrix() to use gz::math::Inertial object as pa…

    …rameter
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    8ff8726 View commit details
    Browse the repository at this point in the history
  3. Updated Link::Load() to add inertials from multiple collisions

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    0cd267b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Shifted auto attribute from <inertia> to <inertial>

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    6881c2d View commit details
    Browse the repository at this point in the history
  2. Added CalculateInertial() function to sdf::Root

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    dd0551a View commit details
    Browse the repository at this point in the history
  3. Added CalculateInertial() function to sdf::Model

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    8d0c084 View commit details
    Browse the repository at this point in the history
  4. Added CalculateInertial() function to sdf::World

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    942bf78 View commit details
    Browse the repository at this point in the history
  5. Added CalculateInertial() function to sdf::Link to check for auto and…

    … set inertials
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    1eeed1e View commit details
    Browse the repository at this point in the history
  6. Update Collision::MassMatrix() to set inertial pose using collision p…

    …ose in link frame
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    b6a8a7b View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Called World::CalculateInertials() in Root::Load() function

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    33d9979 View commit details
    Browse the repository at this point in the history
  2. Added check for no collisions when auto is true & return an Element M…

    …issing Error
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    76842fe View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Used enforcePolicyCondition() to print <density> element missing mess…

    …age in Collision::Load()
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    f486a1b View commit details
    Browse the repository at this point in the history
  2. Restored original flow of Link::Load() to set inertial values & updat…

    …ed CalculateInertials()
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    429eb2f View commit details
    Browse the repository at this point in the history
  3. Renamed & changed MassMatrix() functions for all shapes to return gz:…

    …:math::Inertial objects
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b349c0d View commit details
    Browse the repository at this point in the history
  4. Renamed & updated MassMatrix() function for sdf::Geometry to return o…

    …pitonal gz::math::Inertiald object
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    5f11863 View commit details
    Browse the repository at this point in the history
  5. Renamed & Updated MassMatrix() function of sdf::Collision to use Iner…

    …tial object
    
    Added check for geometry type before setting inertial pose
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    8214ae6 View commit details
    Browse the repository at this point in the history
  6. Updated call to collision inertia calculation function with the new name

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    0d1e1bc View commit details
    Browse the repository at this point in the history
  7. Removed print statements

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b1f7a51 View commit details
    Browse the repository at this point in the history
  8. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    702dd9f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    67126dd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e90455a View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Removed const type qualifier from double density param for CalculateI…

    …nertial() functions
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    0a6a528 View commit details
    Browse the repository at this point in the history
  2. Shifted check for density element from Collision::Load() to Collision…

    …::CalculateInertials()
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    138bdb4 View commit details
    Browse the repository at this point in the history
  3. Shifted CalculateInertials() call to end of Root:Load()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    fa1da0b View commit details
    Browse the repository at this point in the history
  4. Update CalculateInertials() function in Root, World, Model, Link & Co…

    …llision to take ParserConfig as param
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    9c6f8c5 View commit details
    Browse the repository at this point in the history
  5. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    1a483a2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d1fdf8a View commit details
    Browse the repository at this point in the history
  7. Removed const specifier for double density from Geometry & Collision

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    2f0c840 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    414ffd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Updated CustomMOICalculator function signature to return Inertial object

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4d08091 View commit details
    Browse the repository at this point in the history
  2. Updated Mesh::CalculateInertial() to return inertial objecT

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    373fa3f View commit details
    Browse the repository at this point in the history
  3. Updated Geometry::CalculateInertial() to take calculator params Eleme…

    …ntPtr as param
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8088f4b View commit details
    Browse the repository at this point in the history
  4. Shifted check for moi_calculator_params element to Collision::Calcula…

    …teInertials()
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    7b2e37b View commit details
    Browse the repository at this point in the history
  5. Corrected function comments

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    ac943c6 View commit details
    Browse the repository at this point in the history
  6. Included <optional> header

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8fef740 View commit details
    Browse the repository at this point in the history
  7. Renamed <moi_calculator_params> element to <auto_inertia_params>

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    0f98215 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f16e1f View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Renamed CustomMOICalculator std::function alias to CustomInertiaCalcu…

    …lator
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    17d60e1 View commit details
    Browse the repository at this point in the history
  2. Added check for empty mesh filePath before calling custom calculator

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b9a6698 View commit details
    Browse the repository at this point in the history
  3. Renamed InterfaceMOICalculator class to CustomInertiaCalcProperties

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    00c1496 View commit details
    Browse the repository at this point in the history
  4. Removed std::cout statements

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b23abc6 View commit details
    Browse the repository at this point in the history
  5. Removed const specifier for double density

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5c44ff0 View commit details
    Browse the repository at this point in the history
  6. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5e3d708 View commit details
    Browse the repository at this point in the history
  7. Added default values for density & calculatorParams ElementPtr

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    a929478 View commit details
    Browse the repository at this point in the history
  8. Updated function comments

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    746d86e View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Removed warning for missing <inertial> element

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    80e321c View commit details
    Browse the repository at this point in the history
  2. Added warning for overwritting of user given inertial value sif auto …

    …is true
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e3041e4 View commit details
    Browse the repository at this point in the history
  3. Removed call to CalculateInertial() from Root::Load()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    cc9849c View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Corrected codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0e41116 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Added unit tests for CalculateInertial() function in Box, Capsule, Cy…

    …linder, Ellipsoid & Sphere
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    4731e21 View commit details
    Browse the repository at this point in the history
  2. Added unit tests for CalculateInertial() in Geometry

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    3aefdc3 View commit details
    Browse the repository at this point in the history
  3. Updated construction unit test of Collision with checks for density v…

    …alue
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    2836be9 View commit details
    Browse the repository at this point in the history
  4. Updated CalculateInertial() unit test to test for std::nullopt return…

    … in case of invalid inertial
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    dbe543f View commit details
    Browse the repository at this point in the history
  5. Added unit tests for CalculateInertial() in sdf::Collision

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    8d459c7 View commit details
    Browse the repository at this point in the history
  6. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    464f7de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5af78f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Added enum class for CalculateInertial() configuration

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    485dd84 View commit details
    Browse the repository at this point in the history
  2. Added check for CalculateInertialConfiguration in Root::Load()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ca78026 View commit details
    Browse the repository at this point in the history
  3. Renamed CALCULATE_AND_SAVE value to SAVE_CALCULATION in COnfigureCalc…

    …ulateInertial enum
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    002c643 View commit details
    Browse the repository at this point in the history
  4. Added boolean autoInertiaSaved member to link

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    1688522 View commit details
    Browse the repository at this point in the history
  5. Added check for autoInertiaSaved & SAVE_CALCULATION configuration in …

    …CalculateInertial() function
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    230bde2 View commit details
    Browse the repository at this point in the history
  6. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    0df7eae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5b58b11 View commit details
    Browse the repository at this point in the history
  8. Added //inertial/density to the spec

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    dd06f08 View commit details
    Browse the repository at this point in the history
  9. Updated Geometry::CalculateInertial() to accept density & parser conf…

    …ig as parameter
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    325854c View commit details
    Browse the repository at this point in the history
  10. Updated Geometry::CalculateInertial() to give warning when a not supp…

    …orted geometry type is used
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    fc01633 View commit details
    Browse the repository at this point in the history
  11. Updated Geometry unit test for not supported geom type

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    d1e7484 View commit details
    Browse the repository at this point in the history
  12. Updated Collision::ToElement() to set density

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    88d5eeb View commit details
    Browse the repository at this point in the history
  13. Added unit tests for collision pose relative to some other frame test…

    … case
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    0ec1aac View commit details
    Browse the repository at this point in the history
  14. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    dc30cf9 View commit details
    Browse the repository at this point in the history
  15. Added unit tests for ParserConfig

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    40811cf View commit details
    Browse the repository at this point in the history
  16. Added unit tests for Link

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    01c49c4 View commit details
    Browse the repository at this point in the history
  17. Replaced tabs with spaces in sdf string in Link_Test

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    b5648ff View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    6a65644 View commit details
    Browse the repository at this point in the history
  19. Updated ParserConfig Unit test to test SetCalculateInertialConfigurat…

    …ion()
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    4a2357a View commit details
    Browse the repository at this point in the history
  20. Added test for CalculateInertial() called with auto set to false

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    60131dd View commit details
    Browse the repository at this point in the history
  21. Added unit test for World::CalculateInertial()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a3cb221 View commit details
    Browse the repository at this point in the history
  22. Added unit test for CalculateInertial() call with SAVE_CALCULATION co…

    …nfiguration
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    7483b89 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5aa5e42 View commit details
    Browse the repository at this point in the history
  24. Updated CalculateInertial() calls in Geometry Unit tests

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    bd72ac8 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Included missing header files

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    e772c24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f108330 View commit details
    Browse the repository at this point in the history
  3. Included missing header files in Mesh and CustomInertiCalcProperties

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    3c1f29e View commit details
    Browse the repository at this point in the history
  4. Made model member in CustomInertiaCalcProperties as optional

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    3c22811 View commit details
    Browse the repository at this point in the history
  5. Added unit test for CustomInertiaCalcProperties

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    55d5ef1 View commit details
    Browse the repository at this point in the history
  6. Added default nullptr value for autoInertiaParams elementptr

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    c503112 View commit details
    Browse the repository at this point in the history
  7. Added unit test for the use of <auto_inertia_params> element

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    4e2371d View commit details
    Browse the repository at this point in the history
  8. Added sdf::Errors object as parameter for Mesh::CalculateInertial()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    db5a4e2 View commit details
    Browse the repository at this point in the history
  9. Codecheck corrections

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    70d9576 View commit details
    Browse the repository at this point in the history
  10. Updated Geometry CalculateInertial() Unit test for mesh geom type

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    7850bb2 View commit details
    Browse the repository at this point in the history
  11. Added unit tests for Mesh::CalculateInertial()

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    c65a0a5 View commit details
    Browse the repository at this point in the history
  12. Added <auto_inertia_params> element to <inertial> element

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    1112607 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2023

  1. Removed redundant sdf/Model.hh include from Collision_TEST

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    f3cd3be View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    c5e181e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef8ae18 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Updated CalculateInertial() documentation for Box, Capsule, Cylinder,…

    … Ellipsoid & Sphere
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    16ce852 View commit details
    Browse the repository at this point in the history
  2. Updated Collision::Density() & Collision::SetDensity() docs

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    65c3703 View commit details
    Browse the repository at this point in the history
  3. Updated Root::CalculateInertial() docs

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    fee0d90 View commit details
    Browse the repository at this point in the history
  4. Updated description for <density> element in <inertial>

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    ff88720 View commit details
    Browse the repository at this point in the history
  5. Added doc for autoInertiaSaved variable in sdf::Link

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    af8052e View commit details
    Browse the repository at this point in the history
  6. Update function APIs

    - Updated all functions returning Errors object to take errors object as an output param
    - Updated function params to take errors as a first params
    
    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    943b886 View commit details
    Browse the repository at this point in the history
  7. Added flag to track if density was set at load

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    a658c25 View commit details
    Browse the repository at this point in the history
  8. Added separate variable to track if auto inertia is enabled or not

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    d652717 View commit details
    Browse the repository at this point in the history
  9. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    ec62766 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6818408 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Corrected function docs in Mesh & Geometry class

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    adc2813 View commit details
    Browse the repository at this point in the history
  2. Updated Collision::CalculateInertial() API

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    c8f9fc4 View commit details
    Browse the repository at this point in the history
  3. Updated check for geometry type before resolving inertial pose

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    b05e267 View commit details
    Browse the repository at this point in the history
  4. Updated Root::CalculateInertial() docs

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    3a21b69 View commit details
    Browse the repository at this point in the history
  5. Added const specifier to variables where needed

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    91c828a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    563da4b View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Rename CalculateInertials() API in Root, World, Model & Link

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    1986cfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8953e10 View commit details
    Browse the repository at this point in the history
  3. Rename function call in Collision_TEST

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    cb9f54e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf9bfe9 View commit details
    Browse the repository at this point in the history
  5. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    a414168 View commit details
    Browse the repository at this point in the history
  6. Updated //inertial/auto_inertia_params element description

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    e921982 View commit details
    Browse the repository at this point in the history
  7. Updated Mesh::CalculateInertial() API to take errors as first param

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    4de7035 View commit details
    Browse the repository at this point in the history
  8. Completed codecheck

    Signed-off-by: Jasmeet Singh <jasmeet0915@gmail.com>
    jasmeet0915 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    9a49998 View commit details
    Browse the repository at this point in the history