Commit Graph

237 Commits

Author SHA1 Message Date
Robert Haschke
c6c97e1836 share scene/robot model between TaskDisplay and associated TaskListModel 2017-11-20 00:57:25 +01:00
Robert Haschke
957b10a7a8 don't export SerialContainer as pluginlib class
... it's imported as builtin
2017-11-20 00:07:27 +01:00
Robert Haschke
936cdc4945 TaskListModel: map all encountered source indexes 2017-11-19 23:50:22 +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
v4hn
81b1281c02 add myself as maintainer & travis recipient 2017-11-13 15:39:30 +01:00
v4hn
720c08354e fix qt4 build error due to known moc problem
qt4's moc is known to have problems with C preprocessor directives.

Documented e.g. here:
https://forum.qt.io/topic/37882/qt-4-8-qt_version_check-and-moc-workaround
2017-11-13 14:56:35 +01:00
Robert Haschke
df1bbc5d32 travis config + fixes 2017-11-13 01:33:33 +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
d0e3783d4e removed statistics from task description
- make TaskStatistics a latched topic too
- subscribing to topics in order (1. description, 2. statistics, 3. solution)
  should ensure that we receive those latched messages in this order
2017-11-12 21:42:48 +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
v4hn
2ad6e1d622 visualization: qt4 support for signal connections 2017-11-12 12:27:35 +01:00
Robert Haschke
3f93d6c9c3 Merge branches 'wip-solution' and 'wip-interaction' into wip-refactor 2017-11-12 11:44:17 +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
c516a537f5 TaskListModel: expand view's item when dropping onto it 2017-11-12 07:01:17 +01:00
Robert Haschke
fc9ca1b624 LocalTaskModel: allow removing of stages 2017-11-12 06:59:34 +01:00
Robert Haschke
953224eba1 LocalTaskModel: populate via drag-n-drop 2017-11-12 06:59:34 +01:00
Robert Haschke
1ae3793a9d TaskModel / TaskDisplay: keep names in sync 2017-11-12 06:59:34 +01:00
Robert Haschke
2bc1b08a00 TaskDisplay: show tasks 2017-11-12 06:59:34 +01:00
Robert Haschke
81126f5ef6 DisplaySolution class 2017-11-11 19:47:43 +01:00
Robert Haschke
cb85e1b864 publish task info in private namespace: ~/taskid
- default task id is empty
- introspection becomes member of task, created with Task::enableIntrospection(true)
2017-11-11 19:47:31 +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
Robert Haschke
924051c511 handle IS_DESTROYED flag for RemoteTask
- turn task red in models
- if a task with same ID is received again, create a new RemoteTask anyway
2017-11-11 19:46:09 +01:00
Robert Haschke
0f9c8cc8ea implemented TaskListModel::removeRows 2017-11-11 19:46:09 +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
022e29caa5 merged task_panel + task_solution_display into motion_planning_tasks folder 2017-11-02 09:53:43 +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
Robert Haschke
8a461af97c TaskPanel: listen to task_monitoring topic 2017-11-02 09:53:28 +01:00