Thank you so much Jakob.

If I want to run the command *"traci.vehicle.getLeader(vehID, 1000)"* in
VEINS instead of python, is it possible?
How may I know what template for VEINS to use?
It is a bit confusing.

Thank you again and best regards




On Wed, Aug 5, 2020 at 7:08 AM Jakob Erdmann <[email protected]> wrote:

> The getLeader function limits it's lookahead range to the braking distance
> by default. You could try calling traci.vehicle.getLeader(vehID, 1000)
>
> Am Fr., 3. Juli 2020 um 12:52 Uhr schrieb Traboulsi, Abdullah <
> [email protected]>:
>
>> Thanks Jakob,
>>
>> I have set the speedMode = 7 (Regard Safe Speed, Regard Max Acceleration,
>> Regard Max Deceleration).
>> But still the vehicle wouldn't speed up to join the fron vehicle platoon.
>> If I check the leader distance for this vehicle using getLeader()
>> function, then this vehicle has None as Leader.
>>
>> I really appreciate your help.
>>
>> Best regards
>>
>>
>> On Fri, Jul 3, 2020 at 4:26 AM Jakob Erdmann <[email protected]>
>> wrote:
>>
>>> see
>>> https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#speed_mode_0xb3
>>>
>>> Am Do., 2. Juli 2020 um 20:53 Uhr schrieb Traboulsi, Abdullah <
>>> [email protected]>:
>>>
>>>> Thank you for your reply.
>>>>
>>>> I am using the TraCI commands to create vehicles and control them by
>>>> changing tau, setSpeed. But it is not moving a vehicle closer to the
>>>> leading vehicle.
>>>>
>>>> Best regards
>>>>
>>>> On Thu, Jul 2, 2020 at 2:48 PM Padisala, Shanthan Kumar <
>>>> [email protected]> wrote:
>>>>
>>>>> You can instead use TraCI commands to define the vehicle and control
>>>>> it.
>>>>>
>>>>> -PSK
>>>>> ------------------------------
>>>>> *From:* [email protected] <[email protected]>
>>>>> on behalf of Traboulsi, Abdullah <[email protected]>
>>>>> *Sent:* Thursday, July 2, 2020 2:43:49 PM
>>>>> *To:* Sumo project User discussions <[email protected]>
>>>>> *Subject:* [sumo-user] Manually controlled vehicles
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am trying to take complete control of vehicle speed acceleration
>>>>> ..etc.
>>>>> But whenever I define vehicles using <vehicle id=...> tags in routes
>>>>> and run the simulation, it will be automatically assigned with Car
>>>>> Following Model and LCModel.
>>>>> These models will control the vehicle using the defined algorithm.
>>>>>
>>>>> Is it possible to define vehicles with no control from simulator?
>>>>> If yes, then how to do so please?
>>>>>
>>>>> Thank you and regards
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> _______________________________________________
>>>> sumo-user mailing list
>>>> [email protected]
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to