Skip to content

Commit

Permalink
add cell index
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kraus committed Feb 7, 2018
1 parent 31fea7d commit 9ffc8bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ protected final Stream<ITerm> staticliteral( final IObject<?> p_object )
{
return Stream.of(
CLiteral.from( "lane", CRawTerm.from( this.position().get( 0 ) + 1 ) ),
CLiteral.from( "cell", CRawTerm.from( this.position().get( 1 ) + 1 ) ),
CLiteral.from( "speed", CRawTerm.from( m_speed.get() ) ),
CLiteral.from( "distance", CRawTerm.from( m_scenario.unit().celltometer( CMath.distance( this.position(), p_object.position() ) ) ) ),
CLiteral.from( "direction",
Expand Down

0 comments on commit 9ffc8bb

Please sign in to comment.