Hello.
I'm running the code below to simulate 20 pedestrians walking through an
area to get position (x,y) and orientation of them every single second.
*lstPeopleId = traci.person.getIDList()for personId in lstPeopleId: x, y
= traci.person.getPosition(personId); orientation =
traci.person.getAngle(personId);*
The code is running well and I can export a CSV file to work with that data.
But something about the orientation data is making me worried. There are
some moments when there are some "jumps" in this information.
For example, in a second the user's orientation is 251.56° and in the next
it is 340.73°.
The same behavior it's not found in location data - it changes less
abruptly.
*So my question is: There is a formula (logic or algorithm) that rules how
orientation information changes?*
My goal is to understand how exactly this information is generated. If
there are a scientific article explain that will be perfect.
PS: Check an file with 50 regs attached where is possible to see "the jumps"
Regards,
persion_id,x,y,orientation
0,458.2783833912042,6.411850348665812,251.56889833879336
0,457.1647781931688,6.040731696052841,251.56889833879336
0,456.11252076620525,5.690057723638168,251.56889833879336
0,455.0637124145251,5.340533185667795,251.56889833879336
0,453.84100410993483,4.933054970462999,251.56889833879336
0,452.7232519878633,4.5605543192176,251.56889833879336
0,451.521110328738,4.159930118134888,251.56889833879336
0,450.30349502670765,3.754149190488686,251.56889833879336
0,449.1109488286269,3.356722760555324,251.56889833879336
0,447.8638042826837,2.9411009546221605,251.56889833879336
0,446.6888618559499,2.549541135148856,251.56889833879336
0,445.62538994832073,2.1951298391641334,251.56889833879336
0,444.54111360648267,1.833785283882822,251.56889833879336
0,444.64275760560554,2.052993330362543,340.732854123435
0,444.2073604350985,3.298581681921632,340.732854123435
0,443.8344093236458,4.365523755949247,340.732854123435
0,443.4088301880423,5.583024580212778,340.732854123435
0,442.98091055829934,6.80722111229096,340.732854123435
0,442.54663486350387,8.049601135506432,340.732854123435
0,442.14667984143523,9.193796252934654,340.732854123435
0,441.77128374000944,10.267732977448052,340.732854123435
0,441.36307336823506,11.435545077548845,340.732854123435
0,440.9529167940804,12.608924891862909,340.732854123435
0,440.5591319196675,13.735468392404492,340.732854123435
0,440.12436701193394,14.979247960629342,340.732854123435
0,439.76227319013316,16.015129397528337,340.732854123435
0,439.34744215101733,17.20188196550241,340.732854123435
0,438.97395721160933,18.270351219603477,340.732854123435
0,438.53734286008535,19.519421694150843,340.732854123435
0,438.15322233990895,20.618317318505518,340.732854123435
0,437.77926942211263,21.688125369614845,340.732854123435
0,437.3474532427232,22.9234691878484,340.732854123435
0,436.9419268745667,24.083602864963368,340.732854123435
0,436.53273116102537,25.254233840129015,340.732854123435
0,436.12537436427726,26.419604024705528,340.732854123435
0,435.7157866029233,27.591356573968955,340.732854123435
0,435.30083973233764,28.778440513709526,340.732854123435
0,434.9044230752246,29.91251304314043,340.732854123435
0,433.30698726445524,30.829373981185864,278.84539711377386
0,432.2102822515545,31.000042772818837,278.84539711377386
0,431.0849865206952,31.175160840445347,278.84539711377386
0,429.9118580892561,31.375776134785145,287.3291744181008
0,428.7735535106756,31.730954472452076,287.3291744181008
0,427.76594537224315,32.086611053320354,295.5750648630049
0,426.63152790040834,32.62952593276457,295.5750648630049
0,425.4241991423573,33.20733504043519,295.5750648630049
0,424.2966261337188,33.746974264308726,295.5750648630049
0,423.134007983566,34.30338555777107,295.5750648630049
0,422.1356359232511,34.78110525975686,295.56227949825603
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user