Skip to content

Commit

Permalink
feat(detected_object_sensor): add ground truth detected sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
taikitanaka3 committed Sep 27, 2023
1 parent 784ac56 commit e873c14
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 10 deletions.
66 changes: 66 additions & 0 deletions Assets/AWSIM/Prefabs/Sensors/ObjectSensor.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &918164463061557422
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 918164463061557423}
- component: {fileID: 918164463061557393}
- component: {fileID: 918164463061557392}
m_Layer: 6
m_Name: ObjectSensor
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &918164463061557423
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 918164463061557422}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &918164463061557393
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 918164463061557422}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a01699b62cf01f97185f27e73f715f1d, type: 3}
m_Name:
m_EditorClassIdentifier:
OutputHz: 10
--- !u!114 &918164463061557392
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 918164463061557422}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b268261a3d68d09b1ab995099f84af28, type: 3}
m_Name:
m_EditorClassIdentifier:
objectTopic: /awsim/ground_truth/perception/object_recognition/detection/objects
frameId: base_link
qosSettings:
ReliabilityPolicy: 2
DurabilityPolicy: 2
HistoryPolicy: 1
Depth: 1
7 changes: 7 additions & 0 deletions Assets/AWSIM/Prefabs/Sensors/ObjectSensor.prefab.meta

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

Original file line number Diff line number Diff line change
Expand Up @@ -1742,6 +1742,7 @@ Transform:
- {fileID: 4843604171253800091}
- {fileID: 2465439771431800668}
- {fileID: 1195138626504501104}
- {fileID: 2465439770435285749}
m_Father: {fileID: 635807138616992815}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
Expand Down Expand Up @@ -3953,11 +3954,6 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c7276496f3d93284c9ac668faf9a39c6, type: 3}
--- !u!4 &5653496621862650962 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7800869322880189814, guid: c7276496f3d93284c9ac668faf9a39c6, type: 3}
m_PrefabInstance: {fileID: 2465439771401027876}
m_PrefabAsset: {fileID: 0}
--- !u!114 &5653496621862650956 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7800869322880189800, guid: c7276496f3d93284c9ac668faf9a39c6, type: 3}
Expand All @@ -3969,6 +3965,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c65d1fdc35027290e9b91e2c6ecab1fd, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &5653496621862650962 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7800869322880189814, guid: c7276496f3d93284c9ac668faf9a39c6, type: 3}
m_PrefabInstance: {fileID: 2465439771401027876}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &2465439771711446011
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -4051,6 +4052,68 @@ Transform:
m_CorrespondingSourceObject: {fileID: 3068494487180298279, guid: 9351c3661d105f12f9fe2819a1203053, type: 3}
m_PrefabInstance: {fileID: 2465439771711446011}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3353767605646234202
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 5512666411487739948}
m_Modifications:
- target: {fileID: 918164463061557422, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_Name
value: ObjectSensor
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
--- !u!4 &2465439770435285749 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
m_PrefabInstance: {fileID: 3353767605646234202}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7797320889804115525
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down
71 changes: 66 additions & 5 deletions Assets/AWSIM/Scenes/Main/AutowareSimulation.unity
Original file line number Diff line number Diff line change
Expand Up @@ -3613,6 +3613,11 @@ MonoBehaviour:
timeScaleText: {fileID: 631930841}
timeScaleSlider: {fileID: 1153401690}
versionText: {fileID: 988705868}
--- !u!4 &1624570381 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5512666411487739948, guid: 164645b2d105b6b4ab4e3d2e7c65dab2, type: 3}
m_PrefabInstance: {fileID: 2465439770829660650}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1672697011 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 9027057599777832477, guid: 58d73df60b244d146bdf5f5896f78355, type: 3}
Expand Down Expand Up @@ -4245,22 +4250,78 @@ Transform:
m_Father: {fileID: 543989980}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &918164463204283312
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1624570381}
m_Modifications:
- target: {fileID: 918164463061557422, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_Name
value: ObjectSensor
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 918164463061557423, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0ce669864a1d9865996f5d7da68eab85, type: 3}
--- !u!1001 &2465439770829660650
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1416174297}
m_Modifications:
- target: {fileID: 2019290181275176336, guid: 164645b2d105b6b4ab4e3d2e7c65dab2, type: 3}
propertyPath: EnableGravity
value: 1
- target: {fileID: 1195138626504501105, guid: 164645b2d105b6b4ab4e3d2e7c65dab2, type: 3}
propertyPath: Topic
value: /awsim/ground_truth/localization/kinematic_state
objectReference: {fileID: 0}
- target: {fileID: 2019290181275176336, guid: 164645b2d105b6b4ab4e3d2e7c65dab2, type: 3}
propertyPath: EnableGravity
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2963106999894261215, guid: 164645b2d105b6b4ab4e3d2e7c65dab2, type: 3}
- target: {fileID: 2963106999894261215, guid: 164645b2d105b6b4ab4e3d2e7c65dab2, type: 3}
propertyPath: m_Radius
value: 0.368
objectReference: {fileID: 0}
Expand Down

0 comments on commit e873c14

Please sign in to comment.