Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-dev] Changing minimum distance to 3000m not working properly.
  • From: AMIT RAI <rai18b@xxxxxxxxxx>
  • Date: Sat, 29 May 2021 10:13:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=iitg.ac.in; dmarc=pass action=none header.from=iitg.ac.in; dkim=pass header.d=iitg.ac.in; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0rPtIIRO7vAvZ9iOpfTk43NwfKlgi8KCNHJaFtP4L/c=; b=UmnMgK7Wob3EnvlMIMhn5+EReH9kWdiK6aQRivg7nRqriI+xC3rbXHiTk90O5JYq86YeZB70hmsSjJFp3DG7P0rXOVS2mV95YpyQd+dlNMgl5MQxCjKRSzl6oDPBenhQkauQa+iPMjQ85vXO8MwwX2NWncAbuT5mHuvHsHcf7+O2qwBpcnDG5MO5vW3nefWznRWR3wxfItOwWlTC9VRBY3WoSyhDL3VXAEhquthtbSdE13uneoOuXEyHSyJZFwgBWWnwjPFyah/OFEMG3px7ckNmbOmsTRrgl+zPzC+LMQ6mwjKE8Pted6SuzrESLNjO94H2NoB7jmFCmgaRCjbZmw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hiiuVQRwfck4ORZsRUaIw5QkqUMVkpxotUeDc2fxNmT2UGn0dQvknNU6bvYmdbOIJm+ZRbWe2LuU4GgF8cZX0lT2nr0SXFK9At/uTEC7+HAfOQCfQdZXny8RGcPh5kvolUroGoXlJddjzuP6DmtVWhX3wHiPuspz9XlKcoX0VfeWDTSxgbWcFJwI9z7z/GvbAYLv8YKgJqXOVAfUV+4ynWT47XrhMUrLrP+H0GC0J/zo8ww1xIWoHXYJQG9D24k2srcHX4sCgGjA5eHeLidOWNV9DbaM9wIuGK4Qz1MXSpJJg2HIpj9MSlpEM9DUqmAGVgJOxXFcLmgAyhSYzC8u/g==
  • Delivered-to: sumo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-dev/>
  • List-help: <mailto:sumo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXVHHEbT4UIp0xtkOWgC17bSbtGw==
  • Thread-topic: Changing minimum distance to 3000m not working properly.

I want to add vehicle to road using movetoXY.  Vehicle spawns at some point, from next timestamp, I am giving positions using movetoXY positions on the map setting keep route=1 option. 

By default, sumo searches for road nearest to 100 m, if route is found within 100 m radius of given XY point. The vehicle should get placed to the nearest route. I changed the source code-changed this distance to 3000m and built sumo l, so that if nearest route is at say 125 m then also it should find the nearest route without giving any error. 
I was conducting experiment, controlling vehicle using movetoXY and gave position outside the road but near to  it, what I observe is vehicle did not map it's route to that nearest road, but some other road far away. Can someone tell me how does this happen? 

Regards 

Amit



Back to the top