diff --git a/pycityagent/brain/sence.py b/pycityagent/brain/sence.py index 8de65ea..a5c7256 100644 --- a/pycityagent/brain/sence.py +++ b/pycityagent/brain/sence.py @@ -421,7 +421,7 @@ async def PerceiveReachablePosition(self, radius:int=None) -> Optional[list[dict longlat = self._agent._simulator.map.xy2lnglat(x=x, y=y) type = self._lane_type_mapping.get(lane['type'], 'unspecified') positions += [{'lane_id': lane_id, - 's': neg_s, + 's': pos_s, 'xy': (x, y), 'longlat': longlat, 'type': type}]