Skip to content

Extension by HMI-, ADAS- and Dynamic-Values (Part II) #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
700454f
Create osi_adas_function.proto
ThomasNaderBMW Mar 12, 2019
d0dc381
Create osi_driver_inputs.proto
ThomasNaderBMW Mar 12, 2019
4329a4a
Create osi_vehicle.proto
ThomasNaderBMW Mar 12, 2019
b6db92d
Update osi_common.proto
ThomasNaderBMW Mar 12, 2019
92764be
Update osi_environment.proto
ThomasNaderBMW Mar 12, 2019
a613586
Update osi_adas_function.proto
ThomasNaderBMW Mar 12, 2019
2f2eb6b
Update osi_driver_inputs.proto
ThomasNaderBMW Mar 12, 2019
3e2cfe4
Update osi_vehicle.proto
ThomasNaderBMW Mar 12, 2019
7d6f354
Merge branch 'master' into Extension_ADAS_Vehicle_DriverInputs
jdsika Mar 26, 2019
086285f
fixed unit doxygen comment
jdsika Apr 10, 2019
18d4423
Update osi_common.proto
ThomasNaderBMW Apr 10, 2019
b34ace2
Update osi_vehicle.proto
ThomasNaderBMW Apr 11, 2019
22d7381
Update osi_driver_inputs.proto
ThomasNaderBMW Apr 11, 2019
7637b1a
Improving coding style along with units (#317)
ainar May 10, 2019
a36db65
Merge branch 'master' into Extension_ADAS_Vehicle_DriverInputs
jdsika May 21, 2019
64d521d
Extension adas vehicle driver inputs (#328)
ainar May 28, 2019
acb42de
Merge branch 'master' into Extension_ADAS_Vehicle_DriverInputs
jdsika May 28, 2019
f6154b5
Update osi_adas_function.proto
jdsika May 28, 2019
b801ab1
added hyperlink to unix_timestamp
jdsika May 28, 2019
ed4a2ad
Update osi_environment.proto
jdsika May 28, 2019
629f724
Extended focus from ADAS to driver assistance functions
May 28, 2019
19afa53
Added additional values to wheel-struct (#309)
RobertMengerBMW Jun 6, 2019
c414b3f
Spaces and unit correction (#333)
ainar Jul 9, 2019
2b1cfe2
update of Gear (->GearLeverState) message
Jul 10, 2019
cf1047c
Corrected types and field numbers
Jul 11, 2019
69555f8
removed spaces
jdsika Jul 11, 2019
78d51df
Merge pull request #334 from ainar/Extension_ADAS_Vehicle_DriverInputs
ThomasNaderBMW Jul 12, 2019
d841f2e
Merge branch 'master' into Extension_ADAS_Vehicle_DriverInputs
jdsika Jul 12, 2019
8aadc3e
Deleted wrong Naming in message OsiVehicle to Vehicle
ThomasNaderBMW Jul 12, 2019
dae65fe
Merge branch 'master' into Extension_ADAS_Vehicle_DriverInputs
jdsika Jul 18, 2019
1fcefc3
Fixed message numbering in osi_environment.proto. Removed tabs
jdsika Aug 8, 2019
39fb198
Replaced tabs. Corrected the enums in osi_common.proto
jdsika Aug 8, 2019
f29bed3
Fix enums. Fix numbering in osi_environment.proto
jdsika Aug 8, 2019
f78b959
Added newline at the end of osi_vehicle.proto
jdsika Aug 8, 2019
ce0919d
bugfix setup.py and osi_driver_inputs.proto
0815-code Oct 19, 2019
fa16e57
Merge branch 'master' into Extension_ADAS_Vehicle_DriverInputs
jdsika Oct 22, 2019
bd8c15c
remove forbidden tabs
jdsika Oct 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
251 changes: 251 additions & 0 deletions osi_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -428,3 +428,254 @@ message BaseMoving
//
repeated Vector2d base_polygon = 7;
}

//
// \brief A description for the steering wheel.
//
message SteeringWheel
{
// Angle of the steering wheel.
// 0=Central (Straight); Left>0; 0>Right.
//
// Unit: [rad]
//
optional double angle = 1;

// Angle-speed of the steering wheel.
// 0=Central (Straight); Left>0; 0>Right.
//
// Unit: [rad/s]
//
optional double angular_speed = 2;

// Torque of the steering wheel to the hand.
// 0=Central (Straight); Left>0; 0>Right.
//
// Unit: [N*m]
//
optional double torque = 3;
}

//
// \brief A description for the positions of the pedals.
//
//
message Pedalry
{
// Position of the acceleration-pedal.
// Unit: [0-1] (Unpressed - fully pressed)
//
optional double pedal_position_acceleration = 1;

// Position of the brake-pedal.
// Unit: [0-1] (Unpressed - fully pressed)
//
optional double pedal_position_brake = 2;

// Position of the clutch-pedal.
// Unit: [0-1] (Unpressed - fully pressed)
//
optional double pedal_position_clutch = 3;
}

//
// \brief This is a message to describe, which trajectory the vehicle should
// follow.
//
//
message Trajectory
{
// Contains the timestamp where the trajectorypoint should be reached.
//
// Unit: [s]
//
optional Timestamp timestamp = 1;

// Contains the X-Position the vehicle should be at the timestamp.
//
optional double targeted_pos_x = 2;

// Contains the Y-Position the vehicle should be at the timestamp.
//
optional double targeted_pos_y = 3;

// Direction of the vehicle at the timestamp.
//
// Unit: [rad]
//
optional double track_angle = 4;

// Contains the curvature at the timestamp.
//
// Unit: [1/m]
//
optional double curvature = 5;

// Contains the curvature change at the timestamp.
//
// Unit: [1/(m*s)]
//
optional double curvature_change = 6;

// Contains the velocity of the vehicle at the timestamp.
//
// Unit: [m/s]
//
optional double velocity = 7;

// Contains the acceleration of the vehicle at the timestamp.
//
// Unit: [m/s^2]
//
optional double acceleration = 8;

// Contains the interpolation method.
//
optional InterpolationMethod interpolation_method = 9;

// Contains the interpolation method.
//
enum InterpolationMethod
{
// The interpolation method is unknown (must not be used in ground
// truth).
//
INTERPOLATION_METHOD_UNKNOWN = 0;

// Other (unspecified but known) interpolation method.
//
INTERPOLATION_METHOD_OTHER = 1;

// Stay on the actual lane.
//
INTERPOLATION_METHOD_LINEAR = 2;

// Change to the left.
//
INTERPOLATION_METHOD_CUBIC = 3;
}
}

//
// \brief The actual gear of the car.
//
//
message GearLeverState
{
// Current set gear of the gear lever. It is optional if none of these
// conditions is fulfilled:
// - the gear lever controls a manual transmission
// - the gear lever controls an automatic transmission with the manual
// override mode set.
//
// The sign of this field set the gear's mode as following:
// - zero: neutral position
// - positive: driving forward mode
// - negative: reverse mode (generally -1, but some vehicles have several
// reverse mode gears)
//
optional int32 gear = 1;

// This Gear Lever controls an automatic transmission.
//
optional bool controls_automatic_transmission = 2;

// Transmission mode of an automatic transmission.
//
// Optional if the transmission is manual.
//
optional AutomaticTransmissionMode automatic_transmission_mode = 3;

// The request from the driver to shift gear if the transmission mode is
// MANUAL_OVERRIDE_MODE.
//
optional ManualOverrideRequest manual_override_request = 4;

// The all-wheel drive (AWD) mode is engaged by the driver.
//
optional bool is_all_wheel_drive_engaged = 5;

// Describe the possible mode of an automatic transmission.
//
enum AutomaticTransmissionMode
{
// The gear transmission mode is unknown (must not be
// used in ground truth).
//
AUTOMATIC_TRANSMISSION_MODE_UNKNOWN = 0;

// Other (unspecified but known) transmisson mode.
//
AUTOMATIC_TRANSMISSION_MODE_OTHER = 1;

// The gear lever is in automatic parking mode.
//
AUTOMATIC_TRANSMISSION_MODE_PARK = 2;

// The gear lever is in reverse motion mode.
//
AUTOMATIC_TRANSMISSION_MODE_REVERSE = 3;

// The gear lever is in automatic neutral mode.
//
AUTOMATIC_TRANSMISSION_MODE_NEUTRAL = 4;

// The gear lever is in automatic driving mode.
//
AUTOMATIC_TRANSMISSION_MODE_DRIVE = 5;

// The gear lever is in a manual override mode.
//
AUTOMATIC_TRANSMISSION_MODE_MANUAL_OVERRIDE = 6;
}

// Describe a request for a gear change on automatic transmission vehicle
// with a gear shifter.
//
enum ManualOverrideRequest
{
// The manual override request is unknown (must not be
// used in ground truth).
//
MANUAL_OVERRIDE_REQUEST_UNKNOWN = 0;

// Other (unspecified but known) manual override request.
//
MANUAL_OVERRIDE_REQUEST_OTHER = 1;

// The driver shifts down on his own.
//
MANUAL_OVERRIDE_REQUEST_GEAR_DOWN = 2;

// The automatic transmission is in manual override mode
// but the driver is not shifting the gear.
//
MANUAL_OVERRIDE_REQUEST_GEAR_MID = 3;

// The driver shifts up on his own.
//
MANUAL_OVERRIDE_REQUEST_GEAR_UP = 4;
}
}

//
// \brief A 3D-vector for color-description regarding the RGB-format.
// More information: https://en.wikipedia.org/wiki/RGB_color_model.
//
message ColorformatRGB
{
// The part of red.
// Values from 0 to 255.
//
optional uint32 rgb_red = 1;

// The part of green.
// Values from 0 to 255.
//
optional uint32 rgb_green = 2;

// The part of blue.
// Values from 0 to 255.
//
optional uint32 rgb_blue = 3;
}
Loading