Skip to content

Commit

Permalink
fix action_history being opposite sign
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantizr committed Jun 20, 2024
1 parent da72a0c commit 4282a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinyphysics.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_data(self, data_path: str) -> pd.DataFrame:
'v_ego': df['vEgo'].values,
'a_ego': df['aEgo'].values,
'target_lataccel': df['targetLateralAcceleration'].values,
'steer_command': df['steerCommand'].values
'steer_command': -df['steerCommand'].values # steer commands are logged with left-positive convention but this simulator uses right-positive
})
return processed_df

Expand Down

0 comments on commit 4282a06

Please sign in to comment.