Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
models
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IPos-public
models
Commits
425e7dbe
Commit
425e7dbe
authored
3 years ago
by
FrankR
Browse files
Options
Downloads
Patches
Plain Diff
added OSM-extension protobuf specification
parent
fdf267ad
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
interfaces/OSM/OSM.proto
+60
-0
60 additions, 0 deletions
interfaces/OSM/OSM.proto
interfaces/OSM/README.md
+3
-0
3 additions, 0 deletions
interfaces/OSM/README.md
interfaces/SimpleScene/SimpleScene.proto
+1
-1
1 addition, 1 deletion
interfaces/SimpleScene/SimpleScene.proto
with
64 additions
and
1 deletion
interfaces/OSM/OSM.proto
0 → 100644
+
60
−
0
View file @
425e7dbe
syntax
=
"proto3"
;
package
ipos
.
models
;
message
OSMOutputWrapper
{
repeated
OSMObject
objects
=
1
;
}
message
OSMExtInputWrapper
{
repeated
OSMMonitoringTarget
monitoringTargets
=
1
;
}
message
OSMMonitoringTarget
{
string
monitorintTaskId
=
1
;
string
protocol
=
2
;
}
message
OSMObject
{
string
id
=
1
;
string
sensorId
=
2
;
string
type
=
3
;
string
sensorType
=
4
;
OSMPosition
position
=
5
;
OSMOrientation
orientation
=
6
;
string
lastPosUpdate
=
7
;
// https://en.wikipedia.org/wiki/ISO_8601
repeated
OSMZoneDescriptor
zoneDescriptors
=
8
;
// contains information about all zones that the current position of this object belongs to
OSMExtractedAttributes
extractedAttributes
=
9
;
}
message
OSMPosition
{
string
refSystemId
=
1
;
// e.g., "WGS84" if absolute position, "ROOT" for testcases or if specific absolute position is actually irrelevant
OSMPoint
point
=
2
;
float
accuracy
=
3
;
// object is with 95% probability within x metres of this point (gaussian distribution)
}
message
OSMPoint
{
float
x
=
1
;
// pos in x direction in m
float
y
=
2
;
// pos in y direction in m
float
z
=
3
;
// pos in z direction in m (up)
}
message
OSMOrientation
{
float
x
=
1
;
// quaternion notation
float
y
=
2
;
// if the quaternion is (0,0,0,0)
float
z
=
3
;
// there is no orientation
float
w
=
4
;
// available
}
message
OSMExtractedAttributes
{
float
batteryChargeLevel
=
1
;
repeated
int32
loadedItems
=
2
;
repeated
int32
errors
=
3
;
float
theta
=
4
;
}
message
OSMZoneDescriptor
{
string
zoneId
=
1
;
string
notificationType
=
2
;
// may be ExitNotification or EntryNotification
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
interfaces/OSM/README.md
0 → 100644
+
3
−
0
View file @
425e7dbe
# OSM Protobuf Definition
This protobuf data model is a description of the messages sent to the OpenStreetMap-application ("frontend").
\ No newline at end of file
This diff is collapsed.
Click to expand it.
interfaces/SimpleScene/SimpleScene.proto
+
1
−
1
View file @
425e7dbe
...
...
@@ -14,7 +14,7 @@ message IposConfigWrapper { // wrapper-message for configuration-topic
message
IposMonitoringWrapper
{
repeated
IposPositionEvent
iposPositionEvents
=
1
;
repeated
IposMsgRcvEvent
iposMsgRcvEvent
=
2
;
repeated
IposMsgRcvEvent
iposMsgRcvEvent
s
=
2
;
}
message
IposObjectConfig
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment