{"action":"created","issue":{"url":"https://api.github.com/repos/ros-planning/moveit_core/issues/229","labels_url":"https://api.github.com/repos/ros-planning/moveit_core/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/ros-planning/moveit_core/issues/229/comments","events_url":"https://api.github.com/repos/ros-planning/moveit_core/issues/229/events","html_url":"https://github.com/ros-planning/moveit_core/issues/229","id":55502246,"number":229,"title":"Capability to remove waypoints from robot_trajectory","user":{"login":"skohlbr","id":205963,"avatar_url":"https://avatars.githubusercontent.com/u/205963?v=3","gravatar_id":"","url":"https://api.github.com/users/skohlbr","html_url":"https://github.com/skohlbr","followers_url":"https://api.github.com/users/skohlbr/followers","following_url":"https://api.github.com/users/skohlbr/following{/other_user}","gists_url":"https://api.github.com/users/skohlbr/gists{/gist_id}","starred_url":"https://api.github.com/users/skohlbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skohlbr/subscriptions","organizations_url":"https://api.github.com/users/skohlbr/orgs","repos_url":"https://api.github.com/users/skohlbr/repos","events_url":"https://api.github.com/users/skohlbr/events{/privacy}","received_events_url":"https://api.github.com/users/skohlbr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T16:21:10Z","updated_at":"2015-03-05T15:51:21Z","closed_at":null,"body":"I'm guessing it's a concious design decision, but I just discovered that there are various ways of adding waypoint to trajectories, but apparently (?) no way to remove them (looking at https://github.com/ros-planning/moveit_core/blob/indigo-devel/robot_trajectory/include/moveit/robot_trajectory/robot_trajectory.h).\r\n\r\nWhat I want to do is essentially removing the first x waypoints in a trajectory. The way I'd do it right now is creating a new trajectory and iterating over the indices I want to have in my reduced trajectory and inserting them into the new one. Would it be reasonable to add a method for removing waypoints, or is the method I outlined the recommended one?"},"comment":{"url":"https://api.github.com/repos/ros-planning/moveit_core/issues/comments/77388620","html_url":"https://github.com/ros-planning/moveit_core/issues/229#issuecomment-77388620","issue_url":"https://api.github.com/repos/ros-planning/moveit_core/issues/229","id":77388620,"user":{"login":"davetcoleman","id":561060,"avatar_url":"https://avatars.githubusercontent.com/u/561060?v=3","gravatar_id":"","url":"https://api.github.com/users/davetcoleman","html_url":"https://github.com/davetcoleman","followers_url":"https://api.github.com/users/davetcoleman/followers","following_url":"https://api.github.com/users/davetcoleman/following{/other_user}","gists_url":"https://api.github.com/users/davetcoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/davetcoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davetcoleman/subscriptions","organizations_url":"https://api.github.com/users/davetcoleman/orgs","repos_url":"https://api.github.com/users/davetcoleman/repos","events_url":"https://api.github.com/users/davetcoleman/events{/privacy}","received_events_url":"https://api.github.com/users/davetcoleman/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T15:51:21Z","updated_at":"2015-03-05T15:51:21Z","body":"+1 I think that would be a nice feature to add, I don't see how it could hurt anything"}}