{"action":"created","issue":{"url":"https://api.github.com/repos/gama-platform/gama/issues/2436","repository_url":"https://api.github.com/repos/gama-platform/gama","labels_url":"https://api.github.com/repos/gama-platform/gama/issues/2436/labels{/name}","comments_url":"https://api.github.com/repos/gama-platform/gama/issues/2436/comments","events_url":"https://api.github.com/repos/gama-platform/gama/issues/2436/events","html_url":"https://github.com/gama-platform/gama/issues/2436","id":336158606,"node_id":"MDU6SXNzdWUzMzYxNTg2MDY=","number":2436,"title":"speed and real_speed : what is the point ?","user":{"login":"AlexisDrogoul","id":579256,"node_id":"MDQ6VXNlcjU3OTI1Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/579256?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"labels":[{"id":216670032,"node_id":"MDU6TGFiZWwyMTY2NzAwMzI=","url":"https://api.github.com/repos/gama-platform/gama/labels/%3E%20Question","name":"> Question","color":"cc317c","default":false},{"id":217363031,"node_id":"MDU6TGFiZWwyMTczNjMwMzE=","url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20GAML","name":"Concerns GAML","color":"207de5","default":false},{"id":217361665,"node_id":"MDU6TGFiZWwyMTczNjE2NjU=","url":"https://api.github.com/repos/gama-platform/gama/labels/OS%20All","name":"OS All","color":"bfdadc","default":false},{"id":217468760,"node_id":"MDU6TGFiZWwyMTc0Njg3NjA=","url":"https://api.github.com/repos/gama-platform/gama/labels/Priority%20Medium","name":"Priority Medium","color":"e214df","default":false},{"id":217364534,"node_id":"MDU6TGFiZWwyMTczNjQ1MzQ=","url":"https://api.github.com/repos/gama-platform/gama/labels/Topology%20All","name":"Topology All","color":"fbca04","default":false},{"id":217361201,"node_id":"MDU6TGFiZWwyMTczNjEyMDE=","url":"https://api.github.com/repos/gama-platform/gama/labels/Version%20All","name":"Version All","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"AlexisDrogoul","id":579256,"node_id":"MDQ6VXNlcjU3OTI1Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/579256?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlexisDrogoul","id":579256,"node_id":"MDQ6VXNlcjU3OTI1Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/579256?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},{"login":"ptaillandier","id":1506077,"node_id":"MDQ6VXNlcjE1MDYwNzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1506077?v=4","gravatar_id":"","url":"https://api.github.com/users/ptaillandier","html_url":"https://github.com/ptaillandier","followers_url":"https://api.github.com/users/ptaillandier/followers","following_url":"https://api.github.com/users/ptaillandier/following{/other_user}","gists_url":"https://api.github.com/users/ptaillandier/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaillandier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaillandier/subscriptions","organizations_url":"https://api.github.com/users/ptaillandier/orgs","repos_url":"https://api.github.com/users/ptaillandier/repos","events_url":"https://api.github.com/users/ptaillandier/events{/privacy}","received_events_url":"https://api.github.com/users/ptaillandier/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-27T09:56:23Z","updated_at":"2018-06-27T11:01:13Z","closed_at":null,"author_association":"MEMBER","body":"### Steps to reproduce\r\nAgents provided with the `moving` skill get 2 variables: `speed` and `real_speed`. The documentation about them is a bit obscure, but reading the code allows, more or less, to understand that `speed` can be set to express a \"desired_speed\", while `real_speed` is set internally to represent the speed the agent has been effectively able to take given the topology, etc. \r\n\r\n### Questions\r\n1) Why can `real_speed` be set from GAML also ? To remain coherent, it should be a read-only variable.\r\n2) Why not to use one and only one attribute (`speed`) ? It could be set by the user to express a desired speed, but could also be modified internally to represent the \"real\" speed once the different actions have been done (`move`, `wander`, et...). I don't clearly see any use-case where this wouldn't work (but I may be wrong). Having two different variables to represent this is in my opinion a bit confusing. \r\n\r\nAny comments welcome (esp. @ptaillandier !)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gama-platform/gama/issues/comments/400633305","html_url":"https://github.com/gama-platform/gama/issues/2436#issuecomment-400633305","issue_url":"https://api.github.com/repos/gama-platform/gama/issues/2436","id":400633305,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDYzMzMwNQ==","user":{"login":"ptaillandier","id":1506077,"node_id":"MDQ6VXNlcjE1MDYwNzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1506077?v=4","gravatar_id":"","url":"https://api.github.com/users/ptaillandier","html_url":"https://github.com/ptaillandier","followers_url":"https://api.github.com/users/ptaillandier/followers","following_url":"https://api.github.com/users/ptaillandier/following{/other_user}","gists_url":"https://api.github.com/users/ptaillandier/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaillandier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaillandier/subscriptions","organizations_url":"https://api.github.com/users/ptaillandier/orgs","repos_url":"https://api.github.com/users/ptaillandier/repos","events_url":"https://api.github.com/users/ptaillandier/events{/privacy}","received_events_url":"https://api.github.com/users/ptaillandier/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T11:01:12Z","updated_at":"2018-06-27T11:01:12Z","author_association":"CONTRIBUTOR","body":"Hi,\n\nYou are right, the real_speed attribute should be read-only. Concerning the\nfusion between real_speed and speed, I am not sure it is a good idea as if\nyour real speed is lower than the speed because of an event (traffic jam or\nsomething), it means that at the next step the \"ideal\" speed will become\nthe real_speed whatever if the event is already finished.\n\nA subsidiary question: how should be computed the real speed value? For\ninstance, imagine a simple model where an agent moves toward a target (goto\naction) which is at a distance of 3 meters of the agent. The speed of the\nagent is 6 m/s and the step is 1s.\nThe real speed should be 3m/s (distance traveled / step) or 6 m/s (as we\nconsider that the agent reaches the target after 0.5 s)?\n\n\n\n\n2018-06-27 11:56 GMT+02:00 Alexis Drogoul <notifications@github.com>:\n\n> Assigned #2436 <https://github.com/gama-platform/gama/issues/2436> to\n> @ptaillandier <https://github.com/ptaillandier>.\n>\n> —\n> You are receiving this because you were assigned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/gama-platform/gama/issues/2436#event-1703471595>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/ABb7HVlF0fUhMTikvrmjbvgJY_qWmP-6ks5uA1bIgaJpZM4U5aIJ>\n> .\n>\n"}}
{"actor":{"display_login":"ptaillandier"}}