{"action":"opened","issue":{"url":"https://api.github.com/repos/Hopsan/issue_migration_test2/issues/1569","repository_url":"https://api.github.com/repos/Hopsan/issue_migration_test2","labels_url":"https://api.github.com/repos/Hopsan/issue_migration_test2/issues/1569/labels{/name}","comments_url":"https://api.github.com/repos/Hopsan/issue_migration_test2/issues/1569/comments","events_url":"https://api.github.com/repos/Hopsan/issue_migration_test2/issues/1569/events","html_url":"https://github.com/Hopsan/issue_migration_test2/issues/1569","id":299219945,"number":1569,"title":"HCOM scalar/vector division falls back to startvalue for vector name instead of using the vector","user":{"login":"hopsan-bot","id":36645988,"avatar_url":"https://avatars3.githubusercontent.com/u/36645988?v=4","gravatar_id":"","url":"https://api.github.com/users/hopsan-bot","html_url":"https://github.com/hopsan-bot","followers_url":"https://api.github.com/users/hopsan-bot/followers","following_url":"https://api.github.com/users/hopsan-bot/following{/other_user}","gists_url":"https://api.github.com/users/hopsan-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/hopsan-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopsan-bot/subscriptions","organizations_url":"https://api.github.com/users/hopsan-bot/orgs","repos_url":"https://api.github.com/users/hopsan-bot/repos","events_url":"https://api.github.com/users/hopsan-bot/events{/privacy}","received_events_url":"https://api.github.com/users/hopsan-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"peterNordin","id":10825329,"avatar_url":"https://avatars2.githubusercontent.com/u/10825329?v=4","gravatar_id":"","url":"https://api.github.com/users/peterNordin","html_url":"https://github.com/peterNordin","followers_url":"https://api.github.com/users/peterNordin/followers","following_url":"https://api.github.com/users/peterNordin/following{/other_user}","gists_url":"https://api.github.com/users/peterNordin/gists{/gist_id}","starred_url":"https://api.github.com/users/peterNordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterNordin/subscriptions","organizations_url":"https://api.github.com/users/peterNordin/orgs","repos_url":"https://api.github.com/users/peterNordin/repos","events_url":"https://api.github.com/users/peterNordin/events{/privacy}","received_events_url":"https://api.github.com/users/peterNordin/received_events","type":"User","site_admin":false},"assignees":[{"login":"peterNordin","id":10825329,"avatar_url":"https://avatars2.githubusercontent.com/u/10825329?v=4","gravatar_id":"","url":"https://api.github.com/users/peterNordin","html_url":"https://github.com/peterNordin","followers_url":"https://api.github.com/users/peterNordin/followers","following_url":"https://api.github.com/users/peterNordin/following{/other_user}","gists_url":"https://api.github.com/users/peterNordin/gists{/gist_id}","starred_url":"https://api.github.com/users/peterNordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterNordin/subscriptions","organizations_url":"https://api.github.com/users/peterNordin/orgs","repos_url":"https://api.github.com/users/peterNordin/repos","events_url":"https://api.github.com/users/peterNordin/events{/privacy}","received_events_url":"https://api.github.com/users/peterNordin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Hopsan/issue_migration_test2/milestones/41","html_url":"https://github.com/Hopsan/issue_migration_test2/milestone/41","labels_url":"https://api.github.com/repos/Hopsan/issue_migration_test2/milestones/41/labels","id":3135182,"number":41,"title":"0.7.4","description":null,"creator":{"login":"hopsan-bot","id":36645988,"avatar_url":"https://avatars3.githubusercontent.com/u/36645988?v=4","gravatar_id":"","url":"https://api.github.com/users/hopsan-bot","html_url":"https://github.com/hopsan-bot","followers_url":"https://api.github.com/users/hopsan-bot/followers","following_url":"https://api.github.com/users/hopsan-bot/following{/other_user}","gists_url":"https://api.github.com/users/hopsan-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/hopsan-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopsan-bot/subscriptions","organizations_url":"https://api.github.com/users/hopsan-bot/orgs","repos_url":"https://api.github.com/users/hopsan-bot/repos","events_url":"https://api.github.com/users/hopsan-bot/events{/privacy}","received_events_url":"https://api.github.com/users/hopsan-bot/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":9,"state":"open","created_at":"2018-02-22T04:36:02Z","updated_at":"2018-02-22T04:40:53Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-22T04:40:53Z","updated_at":"2018-02-22T04:40:53Z","closed_at":null,"author_association":"NONE","body":"---\n\n\nAuthor Name: **Peter Nordin** (@peterNordin)\nOriginal Redmine Issue: 1569, https://flumes.iei.liu.se/redmine/issues/1569\nOriginal Date: 2016/03/08\nOriginal Assignee: Peter Nordin\n\n---\n\nHCOM scalar/vector division falls back to startvalue for vector name instead of using the vector, causing incorrect (or at least unexpected) value\r\nThe problem is  (2*Translational_Spring.P1.Zc)\r\nWhich turns into (0.5/Translational_Spring.P1.Zc) which fails\r\n\r\nExample PositionServo:\r\n\r\nprint ((-Translational_Spring.P1.Zc+Translational_Spring.P2.Zc)/(2*Translational_Spring.P1.Zc))^2\r\nnan\r\n\r\na = (-Translational_Spring.P1.Zc+Translational_Spring.P2.Zc)\r\nb = (2*Translational_Spring.P1.Zc)\r\nprint (a/b)^2\r\n0 0 0 0 0 0 0 0 0 ...\n\n\n"}}
{"actor":{"display_login":"hopsan-bot"}}