{"action":"created","issue":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/899","labels_url":"https://api.github.com/repos/ros-visualization/rviz/issues/899/labels{/name}","comments_url":"https://api.github.com/repos/ros-visualization/rviz/issues/899/comments","events_url":"https://api.github.com/repos/ros-visualization/rviz/issues/899/events","html_url":"https://github.com/ros-visualization/rviz/pull/899","id":98582976,"number":899,"title":"Fix #888: TF plugin handles static transform of tf2.","user":{"login":"terakoji","id":789153,"avatar_url":"https://avatars.githubusercontent.com/u/789153?v=3","gravatar_id":"","url":"https://api.github.com/users/terakoji","html_url":"https://github.com/terakoji","followers_url":"https://api.github.com/users/terakoji/followers","following_url":"https://api.github.com/users/terakoji/following{/other_user}","gists_url":"https://api.github.com/users/terakoji/gists{/gist_id}","starred_url":"https://api.github.com/users/terakoji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terakoji/subscriptions","organizations_url":"https://api.github.com/users/terakoji/orgs","repos_url":"https://api.github.com/users/terakoji/repos","events_url":"https://api.github.com/users/terakoji/events{/privacy}","received_events_url":"https://api.github.com/users/terakoji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-02T04:13:18Z","updated_at":"2015-08-02T19:33:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ros-visualization/rviz/pulls/899","html_url":"https://github.com/ros-visualization/rviz/pull/899","diff_url":"https://github.com/ros-visualization/rviz/pull/899.diff","patch_url":"https://github.com/ros-visualization/rviz/pull/899.patch"},"body":"#888 \r\n\r\nThe tf plugin is not written using tf2. It was not display static tf frame collectly.\r\nTo fix this problem, treat ros::Time(0) which return from getLatestCommonTime() as static frame.\r\n\r\ntest\r\n-----\r\n\r\n1. publish static and dynamic frames.\r\n\r\n```\r\n$ rosrun tf2_ros static_transform_publisher 0 0 1 0 0 0 1 map frame_static\r\n```\r\n\r\n```\r\n$ rosrun tf static_transform_publisher 0 1 0 0 0 0 1 frame_static frame_dynamic 20000\r\n```\r\n\r\n2. Check it in rviz. \r\nMap frame and frame_static will not be vanished.\r\n"},"comment":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/comments/127059794","html_url":"https://github.com/ros-visualization/rviz/pull/899#issuecomment-127059794","issue_url":"https://api.github.com/repos/ros-visualization/rviz/issues/899","id":127059794,"user":{"login":"wjwwood","id":100427,"avatar_url":"https://avatars.githubusercontent.com/u/100427?v=3","gravatar_id":"","url":"https://api.github.com/users/wjwwood","html_url":"https://github.com/wjwwood","followers_url":"https://api.github.com/users/wjwwood/followers","following_url":"https://api.github.com/users/wjwwood/following{/other_user}","gists_url":"https://api.github.com/users/wjwwood/gists{/gist_id}","starred_url":"https://api.github.com/users/wjwwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjwwood/subscriptions","organizations_url":"https://api.github.com/users/wjwwood/orgs","repos_url":"https://api.github.com/users/wjwwood/repos","events_url":"https://api.github.com/users/wjwwood/events{/privacy}","received_events_url":"https://api.github.com/users/wjwwood/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T19:33:50Z","updated_at":"2015-08-02T19:33:50Z","body":"Thanks! I'll have a look at this in more detail asap."}}