Commit Graph

27 Commits

Author SHA1 Message Date
Robert Haschke
97bb6ef2c6 allow handling of failures
- store "failure" solutions to facilitate debugging
- Introspection assigns solution IDs as soon as they are created in a stage
  Thus, solution IDs represent their creation order.
  In contrast, the order of publishing (in StageStatistics) should
  represent the cost order.
- Storing failures is disabled if Introspection is not available.
2018-02-12 22:35:58 +01:00
Robert Haschke
5d5a74ecd0 improved realtime display of solutions
stay in sync with realtime by keeping small time differences
solution visualization: common setVisibility()
2018-02-12 22:33:39 +01:00
Robert Haschke
3e788084b2 improve solution visualization / navigation
- locking: suppress interrupting current solution display when navigating solutions
- display end scene at the end of a solution display
- allow to display multiple solutions (its markers)
2018-02-04 09:00:54 +01:00
Robert Haschke
30f6ade636 marker visualization 2018-02-04 09:00:54 +01:00
v4hn
d7719e721f add full license information
so dull... but for the matter of completeness
2017-12-12 21:24:32 +01:00
v4hn
7319711973 reduce catkin_lint complains in visualization 2017-12-08 20:56:12 +01:00
Robert Haschke
0246d60de9 DisplaySolution: struct to unify all data corresponding to a sub trajectory 2017-11-30 18:15:47 +01:00
Robert Haschke
9032dabca5 navigate solutions 2017-11-24 11:24:18 +01:00
Robert Haschke
c6c97e1836 share scene/robot model between TaskDisplay and associated TaskListModel 2017-11-20 00:57:25 +01:00
Robert Haschke
fdc0fa012a restore panel visibility when enabling 2017-11-19 22:26:09 +01:00
Robert Haschke
428bdd7d0c fixed visibility update of scene nodes
All scene nodes are hidden if
- there is no solution to display
- or if animation finished and neither the panel nor the trail are enabled

Hiding scene nodes is done by detaching them from their parent
2017-11-19 22:26:09 +01:00
Robert Haschke
d5627c0c39 cleanup 2017-11-19 22:26:05 +01:00
Robert Haschke
e9ba2248f8 Merge remote-tracking branch 'origin/master' into wip-refactor
- cmake 3.1 required for CMAKE_CXX_STANDARD
- more old-style signal/slots for Qt4 compatibility
2017-11-13 00:07:23 +01:00
Robert Haschke
12095405f4 DisplaySolution: make scene representing the end state
- start state is accessible via scene->getParent()
- allows to show the final state
2017-11-12 21:42:48 +01:00
Robert Haschke
67b5a99d8d receive task solutions
- remove parent_id from StageStatistics message
2017-11-12 21:42:48 +01:00
Robert Haschke
9c5ddd3f6d split repo into different ROS packages: msgs, core, visualization 2017-11-12 21:42:48 +01:00
Robert Haschke
c1d676589a display scene corresponding to SubTrajectory 2017-11-12 11:42:29 +01:00
Robert Haschke
8129caa614 TaskSolutionVisualization: added scene, renamed vars 2017-11-12 10:35:59 +01:00
Robert Haschke
81126f5ef6 DisplaySolution class 2017-11-11 19:47:43 +01:00
Robert Haschke
a43692fc25 renamed Task, Stage msgs
- Stage -> StageStatistics + StageDescription
- Task -> TaskStatistics + TaskDescription
- removed GetInterfaceState.srv
2017-11-11 19:46:33 +01:00
v4hn
481e2c4f12 visualization: add missing header includes 2017-11-10 19:34:45 +01:00
v4hn
0f49177393 cmake: fix dependencies & includes
Partly required to get it to compile with `catkin_make`.
2017-11-10 18:38:01 +01:00
Robert Haschke
18119a7985 cleanup cmake 2017-11-03 19:19:33 +01:00
Robert Haschke
6ba66b51a7 reworked TaskModels
- separate RemoteTaskModel / LocalTaskModel, reusing existing storage
- TaskListModel collects several TaskModels
- TaskListModelCache: global singleton,
  maintaining TaskListModel of all tasks in system (used by panels)
- create LocalTask from stages available via pluglinlib
2017-11-03 19:16:04 +01:00
Robert Haschke
82758abc65 cleanup TaskSolutionDisplay 2017-11-02 09:53:43 +01:00
eirtech
042d33f331 adaptions for TaskSolutionDisplay 2017-11-02 09:53:43 +01:00
Robert Haschke
18cc780407 copied trajectory visualization stuff from moveit 2017-11-02 09:53:43 +01:00