Changing decel value of SUMO in real time using traci C++
11 views
Skip to first unread message
maths soso
unread,
Sep 8, 2022, 5:48:44 AM9/8/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OMNeT++ Users
I am working on a V2V simulation where the acceleration and deceleration of a vehicle depend on the its speed.
I would like to change the decel value in real time, I believe the way to do it is to put the following instruction inside the "handlePositionUpdate" method in TraCIDemo11p.cc src file :
I am not sure if this is correct since it is not working. I check the value right after setting it using : mobility->getVehicleCommandInterfarce()->getDeccel().