浏览代码

[AIRO-617] Update configurations to mitigate latest version incompatibilities (#243)

* update configurations to make demo works in the latest version
* update configurations
/dev-backup
GitHub 4 年前
当前提交
73f99d48
共有 3 个文件被更改,包括 6 次插入7 次删除
  1. 5
      tutorials/pick_and_place/PickAndPlaceProject/Assets/DemoScripts/Demo.cs
  2. 2
      tutorials/pick_and_place/PickAndPlaceProject/ProjectSettings/DynamicsManager.asset
  3. 6
      tutorials/pick_and_place/PickAndPlaceProject/ProjectSettings/TimeManager.asset

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


public class Demo : MonoBehaviour
{
public string hostIP = "127.0.0.1";
public string overrideUnityIP = "127.0.0.1";
public bool generateRosMessages = true;
public bool deleteRosMessagesAfterSimulation = true;

string niryoOneName = "niryo_one";
string baseLinkName = "base_link";
float controllerStiffness = 10000;
float controllerDamping = 100;
float controllerStiffness = 100000;
float controllerDamping = 1000;
float controllerForceLimit = 1000;
float controllerSpeed = 30;
float controllerAcceleration = 10;

2
tutorials/pick_and_place/PickAndPlaceProject/ProjectSettings/DynamicsManager.asset


m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverVelocityIterations: 1
m_DefaultSolverVelocityIterations: 3
m_QueriesHitBackfaces: 0
m_QueriesHitTriggers: 1
m_EnableAdaptiveForce: 0

6
tutorials/pick_and_place/PickAndPlaceProject/ProjectSettings/TimeManager.asset


--- !u!5 &1
TimeManager:
m_ObjectHideFlags: 0
Fixed Timestep: 0.02
Maximum Allowed Timestep: 0.33333334
Fixed Timestep: 0.01
Maximum Allowed Timestep: 0.01
Maximum Particle Timestep: 0.03
Maximum Particle Timestep: 0.01
正在加载...
取消
保存