Skip to content

Commit a40570d

Browse files
[AIRO-617] Update configurations to mitigate latest version incompatibilities (#243)
* update configurations to make demo works in the latest version * update configurations
1 parent 1f10973 commit a40570d

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

tutorials/pick_and_place/PickAndPlaceProject/Assets/DemoScripts/Demo.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
public class Demo : MonoBehaviour
1919
{
2020
public string hostIP = "127.0.0.1";
21-
public string overrideUnityIP = "127.0.0.1";
2221

2322
public bool generateRosMessages = true;
2423
public bool deleteRosMessagesAfterSimulation = true;
@@ -38,8 +37,8 @@ public class Demo : MonoBehaviour
3837

3938
string niryoOneName = "niryo_one";
4039
string baseLinkName = "base_link";
41-
float controllerStiffness = 10000;
42-
float controllerDamping = 100;
40+
float controllerStiffness = 100000;
41+
float controllerDamping = 1000;
4342
float controllerForceLimit = 1000;
4443
float controllerSpeed = 30;
4544
float controllerAcceleration = 10;

tutorials/pick_and_place/PickAndPlaceProject/ProjectSettings/DynamicsManager.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PhysicsManager:
1111
m_SleepThreshold: 0.005
1212
m_DefaultContactOffset: 0.01
1313
m_DefaultSolverIterations: 6
14-
m_DefaultSolverVelocityIterations: 1
14+
m_DefaultSolverVelocityIterations: 3
1515
m_QueriesHitBackfaces: 0
1616
m_QueriesHitTriggers: 1
1717
m_EnableAdaptiveForce: 0

tutorials/pick_and_place/PickAndPlaceProject/ProjectSettings/TimeManager.asset

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--- !u!5 &1
44
TimeManager:
55
m_ObjectHideFlags: 0
6-
Fixed Timestep: 0.02
7-
Maximum Allowed Timestep: 0.33333334
6+
Fixed Timestep: 0.01
7+
Maximum Allowed Timestep: 0.01
88
m_TimeScale: 1
9-
Maximum Particle Timestep: 0.03
9+
Maximum Particle Timestep: 0.01

0 commit comments

Comments
 (0)