Open FrozenWolf-Cyber opened 11 months ago
Is get_shortest_path_to_point still functional? Couldn't find any docs
from ai2thor.controller import Controller from ai2thor.util.metrics import ( get_shortest_path_to_point ) controller = Controller( agentMode="default", visibilityDistance=1.5, scene="FloorPlan_Train1_3", gridSize=0.25, movementGaussianSigma=0.005, rotateStepDegrees=90, rotateGaussianSigma=0.5, renderDepthImage=True, renderInstanceSegmentation=True, width=1080, height=1080, fieldOfView=60 ) positions = controller.step( action="GetReachablePositions" ).metadata["actionReturn"] initial_position = controller.last_event.metadata['agent']['position'] get_shortest_path_to_point(controller, initial_position, positions[1])
ValueError: Action: "GetShortestPathToPoint" called with invalid arguments: 'x', 'y', 'z' Expected arguments: Vector3 position, Vector3 target, Single allowedError = 0.0001 Your arguments: 'position', 'x', 'y', 'z' Valid ways to call "GetShortestPathToPoint" action: Void GetShortestPathToPoint(Vector3 position, Vector3 target, Single allowedError = 0.0001) Void GetShortestPathToPoint(Vector3 target, Single allowedError = 0.0001)
Is get_shortest_path_to_point still functional? Couldn't find any docs