Try to fix tests

This commit is contained in:
Chuyuan Fu
2019-03-08 13:50:12 -08:00
parent 2908bd9641
commit fa2368c6d6

View File

@@ -110,7 +110,7 @@ public:
{
for (int i = 0; i < numCubes; i++)
{
btVector3 pos = {0, i * 0.05, 1};
btVector3 pos = {0, i * (btScalar)0.05, 1};
btQuaternion quar = {0, 0, 0, 1};
m_robotSim.resetBasePositionAndOrientation(cubeIds[i], pos, quar);
}
@@ -157,7 +157,6 @@ public:
virtual void resetCamera()
{
float dist = 1;
float pitch = -20;
float yaw = -30;