Skip to content

Commit

Permalink
Merge pull request #188 from dartsim/dynamics
Browse files Browse the repository at this point in the history
Performance improvement for forward dynamics
  • Loading branch information
karenliu committed May 27, 2014
2 parents 4e67948 + 1dd569a commit 3a7e22d
Show file tree
Hide file tree
Showing 142 changed files with 3,620 additions and 1,754 deletions.
2 changes: 1 addition & 1 deletion apps/balance/Controller.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/balance/Controller.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/balance/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/balance/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/balance/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/cube/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/cube/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/cube/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/cubes/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/cubes/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/cubes/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/doublePendulumWithBase/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/doublePendulumWithBase/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/doublePendulumWithBase/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/forwardSim/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/forwardSim/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/forwardSim/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/hardcodedDesign/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Can Erdogan
Expand Down
2 changes: 1 addition & 1 deletion apps/hardcodedDesign/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Can Erdogan
Expand Down
2 changes: 1 addition & 1 deletion apps/hardcodedDesign/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Can Erdogan
Expand Down
2 changes: 1 addition & 1 deletion apps/jointLimitTest/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/jointLimitTest/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/jointLimitTest/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Karen Liu <karenliu@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion apps/meshCollision/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/meshCollision/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/meshCollision/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/sdfLoader/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/sdfLoader/MyWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion apps/sdfLoader/MyWindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
10 changes: 5 additions & 5 deletions apps/softDropBoxTest/MyWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ void MyWindow::timeStepping()

void MyWindow::drawSkels()
{
// glEnable(GL_LIGHTING);
// glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
// Eigen::Vector4d color;
// color << 0.5, 0.8, 0.6, 1.0;
// mWorld->getSkeleton(0)->draw(mRI, color, false);
glEnable(GL_LIGHTING);
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
Eigen::Vector4d color;
color << 0.5, 0.8, 0.6, 1.0;
mWorld->getSkeleton(0)->draw(mRI, color, false);

// draw arrow
if (mImpulseDuration > 0)
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/CollisionDetector.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>,
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/CollisionDetector.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>,
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/CollisionNode.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>,
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/CollisionNode.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>,
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/dart/DARTCollide.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/dart/DARTCollide.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/dart/DARTCollisionDetector.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/dart/DARTCollisionDetector.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/fcl/FCLCollisionDetector.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>,
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/fcl/FCLCollisionDetector.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>,
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/fcl/FCLCollisionNode.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/fcl/FCLCollisionNode.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, Georgia Tech Research Corporation
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion dart/collision/fcl_mesh/CollisionShapes.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Chen Tang
Expand Down
2 changes: 1 addition & 1 deletion dart/common/Console.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Sumit Jain <sumit@cc.gatech.edu>,
Expand Down
2 changes: 1 addition & 1 deletion dart/common/Console.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2013, Georgia Tech Research Corporation
* Copyright (c) 2011-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Sumit Jain <sumit@cc.gatech.edu>,
Expand Down
Loading

0 comments on commit 3a7e22d

Please sign in to comment.