Skip to content

Commit

Permalink
Add Lane Maze level and IGVC cam bot
Browse files Browse the repository at this point in the history
  • Loading branch information
noahzemlin committed Mar 4, 2020
1 parent f3dbf4f commit 82b1a47
Show file tree
Hide file tree
Showing 20 changed files with 2,048 additions and 7 deletions.
16 changes: 16 additions & 0 deletions Assets/Levels/Lane Maze.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 79d992af8d293a346ade7e1113139280, type: 3}
m_Name: Lane Maze
m_EditorClassIdentifier:
levelName: Lane Maze
levelId: 4
8 changes: 8 additions & 0 deletions Assets/Levels/Lane Maze.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 77 additions & 0 deletions Assets/Materials/lane_transparent.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: lane_transparent
m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 58ecdd3890f7ffe4b95a4c6e858d18e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _GlossMapScale: 0
- _Glossiness: 0.146
- _GlossyReflections: 0
- _Metallic: 0
- _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 0
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 0
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
8 changes: 8 additions & 0 deletions Assets/Materials/lane_transparent.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/Materials/lane_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions Assets/Materials/lane_transparent.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Assets/MenuScripts/RobotOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public static void SetValue(string key, string value)
dict[key] = value;
}

public static bool Exists(string key)
{
return dict.ContainsKey(key);
}

public static void Save()
{
foreach (string key in dict.Keys)
Expand Down
2 changes: 0 additions & 2 deletions Assets/Robots/IGVC_Robot.asset
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ MonoBehaviour:
robotPrefab: {fileID: 6116572216260438465, guid: fc16d9ea6156982428568ec5678e576b,
type: 3}
options:
- name: Camera Topic
defaultValue: /igvc/camera/compressed
- name: IMU Topic
defaultValue: /igvc/imu
- name: Velocity Topic
Expand Down
4 changes: 2 additions & 2 deletions Assets/Robots/IGVC_Robot.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6116572215990976585}
m_LocalRotation: {x: 0.23307991, y: -0, z: -0, w: 0.97245765}
m_LocalRotation: {x: 0.38268343, y: 0, z: 0, w: 0.92387956}
m_LocalPosition: {x: 0, y: 0.86099994, z: -0.04400015}
m_LocalScale: {x: 0.10562, y: 0.048891686, z: 0.08247501}
m_Children:
- {fileID: 6116572218028855840}
m_Father: {fileID: 6116572216260438476}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 26.957, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 45, y: 0, z: 0}
--- !u!33 &6116572215990976596
MeshFilter:
m_ObjectHideFlags: 0
Expand Down
34 changes: 34 additions & 0 deletions Assets/Robots/IGVC_Robot_w_Camera.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 91daf2032ec7cbc47a4ecbed071e8d2c, type: 3}
m_Name: IGVC_Robot_w_Camera
m_EditorClassIdentifier:
robotName: IGVC w/ Cam
robotPrefab: {fileID: 6116572216260438465, guid: 6e1912bd5bf627749881f13614c02c35,
type: 3}
options:
- name: Camera Topic
defaultValue: /igvc/camera/compressed
- name: IMU Topic
defaultValue: /igvc/imu
- name: Velocity Topic
defaultValue: /igvc/velocity
- name: GPS Topic
defaultValue: /igvc/gps
- name: Laser Scan Topic
defaultValue: /scan
- name: Motors Topic
defaultValue: /igvc/motors_raw
- name: ROS Bridge IP
defaultValue: localhost:9090
- name: Autonomous
defaultValue: True
8 changes: 8 additions & 0 deletions Assets/Robots/IGVC_Robot_w_Camera.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 82b1a47

Please sign in to comment.