-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #444 from usdot-jpo-ode/release/1.2.2
Release/1.2.2
- Loading branch information
Showing
61 changed files
with
2,345 additions
and
592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
jpo-ode-core/src/main/java/us/dot/its/jpo/ode/model/OdeSpatData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/******************************************************************************* | ||
* Copyright 2018 572682 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
******************************************************************************/ | ||
package us.dot.its.jpo.ode.model; | ||
|
||
public class OdeSpatData extends OdeData { | ||
|
||
private static final long serialVersionUID = 4944935387116447760L; | ||
|
||
public OdeSpatData() { | ||
super(); | ||
} | ||
|
||
public OdeSpatData(OdeMsgMetadata metadata, OdeMsgPayload payload) { | ||
super(metadata, payload); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
jpo-ode-core/src/main/java/us/dot/its/jpo/ode/model/OdeSpatPayload.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package us.dot.its.jpo.ode.model; | ||
|
||
import us.dot.its.jpo.ode.plugin.j2735.J2735SPAT; | ||
|
||
/******************************************************************************* | ||
* Copyright 2018 572682 | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
******************************************************************************/ | ||
|
||
public class OdeSpatPayload extends OdeMsgPayload { | ||
|
||
/** | ||
* | ||
*/ | ||
private static final long serialVersionUID = 1L; | ||
|
||
public OdeSpatPayload() { | ||
this(new J2735SPAT()); | ||
} | ||
|
||
public OdeSpatPayload(J2735SPAT spat) { | ||
super(spat); | ||
this.setData(spat); | ||
} | ||
|
||
public J2735SPAT getSpat() { | ||
return (J2735SPAT) getData(); | ||
} | ||
|
||
public void setBsm(J2735SPAT spat) { | ||
setData(spat); | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/J2735AdvisorySpeed.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package us.dot.its.jpo.ode.plugin.j2735; | ||
|
||
import us.dot.its.jpo.ode.plugin.asn1.Asn1Object; | ||
|
||
public class J2735AdvisorySpeed extends Asn1Object { | ||
private static final long serialVersionUID = 1L; | ||
private J2735AdvisorySpeedType type; | ||
private Integer speed; | ||
private J2735SpeedConfidence confidence; | ||
private Integer distance; | ||
private Integer classId; | ||
|
||
// regional | ||
public J2735AdvisorySpeedType getType() { | ||
return type; | ||
} | ||
|
||
public void setType(J2735AdvisorySpeedType type) { | ||
this.type = type; | ||
} | ||
|
||
public Integer getSpeed() { | ||
return speed; | ||
} | ||
|
||
public void setSpeed(Integer speed) { | ||
this.speed = speed; | ||
} | ||
|
||
public J2735SpeedConfidence getConfidence() { | ||
return confidence; | ||
} | ||
|
||
public void setConfidence(J2735SpeedConfidence confidence) { | ||
this.confidence = confidence; | ||
} | ||
|
||
public Integer getDistance() { | ||
return distance; | ||
} | ||
|
||
public void setDistance(Integer distance) { | ||
this.distance = distance; | ||
} | ||
|
||
public Integer getClassId() { | ||
return classId; | ||
} | ||
|
||
public void setClassId(Integer classId) { | ||
this.classId = classId; | ||
} | ||
|
||
} |
19 changes: 19 additions & 0 deletions
19
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/J2735AdvisorySpeedList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package us.dot.its.jpo.ode.plugin.j2735; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import us.dot.its.jpo.ode.plugin.asn1.Asn1Object; | ||
|
||
public class J2735AdvisorySpeedList extends Asn1Object { | ||
private static final long serialVersionUID = 1L; | ||
private List<J2735AdvisorySpeed> advisorySpeedList = new ArrayList<>(); | ||
|
||
public List<J2735AdvisorySpeed> getAdvisorySpeedList() { | ||
return advisorySpeedList; | ||
} | ||
|
||
public void setAdvisorySpeedList(List<J2735AdvisorySpeed> advisorySpeedList) { | ||
this.advisorySpeedList = advisorySpeedList; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/J2735AdvisorySpeedType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package us.dot.its.jpo.ode.plugin.j2735; | ||
|
||
public enum J2735AdvisorySpeedType { | ||
NONE, | ||
GREENWAVE, | ||
ECODRIVE, | ||
TRANSIT | ||
} |
Oops, something went wrong.