Commit d725c6ac authored by 杨泽宇's avatar 杨泽宇

更新

parent 7179fe90
......@@ -13,15 +13,29 @@ public class AGVDemoV2 : MonoBehaviour
public void Update()
{
UpdatePosition();
UpdateErrorReporting();
}
private void UpdatePosition()
private void Start()
{
StartCoroutine(UpdatePosition());
}
private void UpdatePosition1()
{
AGVManager.AddMoveMsg("AGV1", manager.position, manager.angle);
}
private IEnumerator UpdatePosition()
{
while (true)
{
UpdatePosition1();
yield return new WaitForSeconds(1);
}
}
private void UpdateErrorReporting()
{
if (manager.Failure.code == 200)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -38,7 +38,7 @@ MonoBehaviour:
overlayTextureScale: 1
overlayTextureScrolling: {x: 0, y: 0}
overlayVisibility: 0
outline: 0.7
outline: 1
outlineColor: {r: 1, g: 0, b: 0.019191265, a: 1}
outlineColorStyle: 0
outlineGradient:
......@@ -73,7 +73,7 @@ MonoBehaviour:
m_NumAlphaKeys: 2
outlineGradientInLocalSpace: 0
outlineBlurPasses: 2
outlineWidth: 1
outlineWidth: 0.4
outlineQuality: 1
outlineEdgeMode: 0
outlineEdgeThreshold: 0.995
......
......@@ -191,7 +191,7 @@ Transform:
m_GameObject: {fileID: 751308104399680690}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.00011083654, y: 0.33207875, z: -0.24428463}
m_LocalPosition: {x: -0, y: 0.319, z: -0.242}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
......@@ -307,7 +307,7 @@ Transform:
m_GameObject: {fileID: 1501631403894516518}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.00011083654, y: 0.33207875, z: -0.24428463}
m_LocalPosition: {x: -0, y: 0.319, z: -0.242}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
......@@ -435,7 +435,7 @@ Transform:
m_GameObject: {fileID: 1965839620980476416}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.625, z: -0.344}
m_LocalPosition: {x: -0, y: 0.158, z: -0.27}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
......@@ -589,7 +589,7 @@ Transform:
m_GameObject: {fileID: 2831112200708131673}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.99691737, z: -0.078459114, w: 0}
m_LocalPosition: {x: -0, y: 2.961, z: 2.427}
m_LocalPosition: {x: -0, y: 2.494, z: 2.501}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
......@@ -696,7 +696,7 @@ Transform:
m_GameObject: {fileID: 3166591749672883522}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.003, y: 1.129, z: -0.274}
m_LocalPosition: {x: 0.003, y: 0.662, z: -0.2}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment