diff --git a/tinyphysics.py b/tinyphysics.py index b68d61b9..f14faeb0 100644 --- a/tinyphysics.py +++ b/tinyphysics.py @@ -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