Skip to content
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

Updating fix for issue #190 #191

Merged
merged 2 commits into from
Nov 8, 2017
Merged

Updating fix for issue #190 #191

merged 2 commits into from
Nov 8, 2017

Conversation

tonychen091
Copy link
Contributor

Adding location metadata into driver alert messages

@tonychen091 tonychen091 changed the title Updating fix for #190 Updating fix for issue #190 Nov 8, 2017


TimLogLocation driverAlertLocation = ((DriverAlertFileParser) fileParser).getLocation();
OdeLogMsgMetadataLocation driverAlertMetadataLocation = new OdeLogMsgMetadataLocation(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't we be converting the location data to their user-friendly lat/long/speed/heading formats? If so, use Position3DBuilder.odePosition3D(new DsrcPosition3D(latitude, longitude, elevation) and SpeedOrVelocityBuilder.genericSpeedOrVelocity() (you'll need to make it a public method) and HeadingBuilder (fine or coarse heading depending on what's in the log file). This comment also applies to TIM messages. They too should possibly be made user-friendly.

@tonychen091 tonychen091 merged commit 2044007 into develop Nov 8, 2017
@mvs5465 mvs5465 deleted the feature/ode-651 branch February 16, 2018 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants