Skip to content

BackUp: Previous Development#3

Open
ThomasNaderBMW wants to merge 41 commits into
masterfrom
BMW_OSI4Graphics
Open

BackUp: Previous Development#3
ThomasNaderBMW wants to merge 41 commits into
masterfrom
BMW_OSI4Graphics

Conversation

@ThomasNaderBMW
Copy link
Copy Markdown
Owner

Bitte einfach kommentieren :)

@SergejHolzmannBMW
Copy link
Copy Markdown

Aus meiner Sicht fehlen noch folgende Informationen:

VehicleBasics:

  • color
  • number plate

DriverActions:

  • Enum mit möglichen Tätigkeiten (fahren, Zeitung lesen, schlafen, telefonieren, trinken, schimpfen,...)

@TKUsaneers
Copy link
Copy Markdown
Collaborator

Für unser AR-HUD fehlen noch:

  1. Kopfposition bzw. Augpunkt des Fahrers
  2. Navigationsinformation
    2.1 Geplanter Streckenverlauf
    2.2 Anstehende Maneuver mit Position, Maneuvertyp (z.B. Spurwechsel, Abbiegen), und eventueller Zusatzinformation (z.B. Straßennamen, Zielspur des Spurwechsels)
  3. FAS-Funktionen
    3.1 Regelobjekt des ACC
    3.2 Erkannte Engstellen
    3.3 Aktivierungssignal inklusive Level
    3.4 Deaktivierungssignal inklusive Level und Counter/Timer
    3.5 Spurverlassenswarnung inklusive betroffene Seite
    3.6 WBC: Gefährdendes Objekt, sowie Ausweich-Trajektorie (falls Level 3/4)
    3.7 HOR inklusive Level
    3.8 TOR inklusive Level
    3.9 Nothalt inlusive Distanz bis zum Stillstand und Trajektorie
    3.10 Abstandswarnung inklusive erkanntem Objekt/Hinderniss
  4. Ist es möglich die Trajektorie nicht nur als Ankerpunkt zu bekommen, sondern, wie die normalen Spuren, als Liste von Koordinaten?

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

ManuelKugelmann commented Sep 12, 2019

osi_vehicle.proto is missing includes:

import "osi_version.proto";

(and maybe import "osi_object.proto"; for LightState, although it is wrapped in MovingObject_VehicleClassification_LightState)

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

ManuelKugelmann commented Sep 12, 2019

osi_vehicle.proto Vehicle has duplicate field ids:

optional InterfaceVersion version = 1;
optional VehicleBasics vehicle_basics = 1;

optional LightState vehicle_light_state = 7;
repeated VehicleAutomatedDrivingFunction vehicle_automated_driving_function = 7;

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

Vehicle LightState is not properly defined - same as MovingObject_VehicleClassification_LightState ?

@ThomasNaderBMW
Copy link
Copy Markdown
Owner Author

Vehicle LightState is not properly defined - same as MovingObject_VehicleClassification_LightState ?

@TheDraguun I corrected the mistakes you found. Light_state is wrapped in osi_object, so should be included now. Thx for your comments!
So far it is the same like MovingObject_VehicleClassification_LightState, if this is not enough there are two options we can consider:

  • Extension of osi_object (LightState) by additional signals we think are missing
  • Or define an own Light-Message

@ThomasNaderBMW ThomasNaderBMW changed the title Was fehlt euch noch? What is missing? Sep 12, 2019
@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

Question: where will the Vehicle message be placed?
As member of SensorView like GroundTruth?
Or into a new root message type?

@TheDraguun I corrected the mistakes you found. Light_state is wrapped in osi_object, so should be included now. Thx for your comments!

The LightState message type in Vehicle and Intentions still needs to be fully named:
optional LightState vehicle_light_state = 8;
should read
optional MovingObject.VehicleClassification.LightState vehicle_light_state = 8;

@ThomasNaderBMW
Copy link
Copy Markdown
Owner Author

Question: where will the Vehicle message be placed?
As member of SensorView like GroundTruth?
Or into a new root message type?

@TheDraguun I corrected the mistakes you found. Light_state is wrapped in osi_object, so should be included now. Thx for your comments!

The LightState message type in Vehicle and Intentions still needs to be fully named:
optional LightState vehicle_light_state = 8;
should read
optional MovingObject.VehicleClassification.LightState vehicle_light_state = 8;

You are right, I corrected it.

@ThomasNaderBMW
Copy link
Copy Markdown
Owner Author

osi_vehicle.proto should be syntactical correct. I compiled it by using the protoc-compiler. For interested:
https://developers.google.com/protocol-buffers/docs/cpptutorial#why-use-protocol-buffers

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

Question: where will the Vehicle, Control and Graphics messages be placed?
As member of SensorView like GroundTruth?
Or is it a new root message type?

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

@ThomasNaderBMW Any news on how the new message types will be published?

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

osi_vehicle.proto just contains a link to the real code:
https://raw.githubusercontent.com/OpenSimulationInterface/open-simulation-interface/7a26b8b87e43d0ec854246d1a6587a856111a4f3/osi_vehicle.proto
Wouldn't it be nicer if this branch were a complete OSI3 definition without external links?

@ThomasNaderBMW
Copy link
Copy Markdown
Owner Author

osi_vehicle.proto just contains a link to the real code:
https://raw.githubusercontent.com/OpenSimulationInterface/open-simulation-interface/7a26b8b87e43d0ec854246d1a6587a856111a4f3/osi_vehicle.proto
Wouldn't it be nicer if this branch were a complete OSI3 definition without external links?

What do you mean by external links?
The include of osi_occupant?

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

osi_vehicle.proto just contains a link to the real code:
https://raw.githubusercontent.com/OpenSimulationInterface/open-simulation-interface/7a26b8b87e43d0ec854246d1a6587a856111a4f3/osi_vehicle.proto
Wouldn't it be nicer if this branch were a complete OSI3 definition without external links?

What do you mean by external links?
The include of osi_occupant?

The link in osi_vehicle.proto that replaces its content. I took this branch and ran the proto compiler on it - it spit an error for osi-vehicle.proto, I had to follow the link, click a few times to get the code and paste it into the file. All this (imho unneccessary) indirection could be skipped, if the file just contained the code. It also would prevent a (false) merge conflict showing for osi_vehicle.proto.

@ThomasNaderBMW
Copy link
Copy Markdown
Owner Author

osi_vehicle.proto just contains a link to the real code:
https://raw.githubusercontent.com/OpenSimulationInterface/open-simulation-interface/7a26b8b87e43d0ec854246d1a6587a856111a4f3/osi_vehicle.proto
Wouldn't it be nicer if this branch were a complete OSI3 definition without external links?

What do you mean by external links?
The include of osi_occupant?

The link in osi_vehicle.proto that replaces its content. I took this branch and ran the proto compiler on it - it spit an error for osi-vehicle.proto, I had to follow the link, click a few times to get the code and paste it into the file. All this (imho unneccessary) indirection could be skipped, if the file just contained the code. It also would prevent a (false) merge conflict showing for osi_vehicle.proto.

Maybe it makes sense to talk directly. Please send me an E-Mail ;)

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

ManuelKugelmann commented Dec 4, 2019

osi_vehicle.proto just contains a link to the real code:
https://raw.githubusercontent.com/OpenSimulationInterface/open-simulation-interface/7a26b8b87e43d0ec854246d1a6587a856111a4f3/osi_vehicle.proto
Wouldn't it be nicer if this branch were a complete OSI3 definition without external links?

What do you mean by external links?
The include of osi_occupant?

The link in osi_vehicle.proto that replaces its content. I took this branch and ran the proto compiler on it - it spit an error for osi-vehicle.proto, I had to follow the link, click a few times to get the code and paste it into the file. All this (imho unneccessary) indirection could be skipped, if the file just contained the code. It also would prevent a (false) merge conflict showing for osi_vehicle.proto.

Maybe it makes sense to talk directly. Please send me an E-Mail ;)

Nevermind - the problem is only subjective and concerns just the meta level, thus it is not worth the time for extended discussion. Resolving the missing code is straight forward and your approach might have benefits to other collaborators that I'm missing.

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

Found a compiler error when trying to build C++ code:
the Notification message has a duplicate definition: It is defined and used in osi_vehicle.proto and in osi_control.proto.

I will do a local quickfix by changing osi_vehicle.proto to import "osi_control.proto"; and deleting the Notification definition.

@ThomasNaderBMW
Copy link
Copy Markdown
Owner Author

Found a compiler error when trying to build C++ code:
the Notification message has a duplicate definition: It is defined and used in osi_vehicle.proto and in osi_control.proto.

I will do a local quickfix by changing osi_vehicle.proto to import "osi_control.proto"; and deleting the Notification definition.

Solved the problem by moving all external control messagedefinitions into the control message. Is that working for you?

@ManuelKugelmann
Copy link
Copy Markdown
Collaborator

Found a compiler error when trying to build C++ code:
the Notification message has a duplicate definition: It is defined and used in osi_vehicle.proto and in osi_control.proto.
I will do a local quickfix by changing osi_vehicle.proto to import "osi_control.proto"; and deleting the Notification definition.

Solved the problem by moving all external control messagedefinitions into the control message. Is that working for you?

compiles.

Onward to state containers and field setters ...

@ThomasNaderBMW ThomasNaderBMW changed the title What is missing? Development: osi_control and osi_graphics Dec 5, 2019
ThomasNaderBMW and others added 2 commits January 15, 2020 17:23
Corrects a typing error in a description text.
Copy link
Copy Markdown

@SergejHolzmannBMW SergejHolzmannBMW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meeting with Christopher Kiwus & Sergej Holzmann, 20.02.2020

Comment thread osi_graphics.proto
Comment thread osi_graphics.proto Outdated
//
message ConfigurationScreen
{
// Some open points:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Komm da bitte nochmal auf mich zu.

Comment thread osi_graphics.proto Outdated
Comment thread osi_graphics.proto Outdated
//
// ToDo: Description.
//
optional double frustum = 8;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frustum kann kein double sein.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stattdessen int32?

Comment thread osi_graphics.proto
Comment thread osi_graphics.proto
Comment thread osi_graphics.proto
Comment thread osi_graphics.proto Outdated
Repository owner locked as resolved and limited conversation to collaborators Apr 8, 2020
@ThomasNaderBMW ThomasNaderBMW changed the title Development: osi_control and osi_graphics BackUp: Previous Development Apr 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants