mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
document axiom in StageStatistics.solved
If the axiom is violated, sorting in the rviz panel will fail.
This commit is contained in:
parent
e861d311e0
commit
8cdd98943c
@ -3,7 +3,7 @@
|
||||
# unique id within task
|
||||
uint32 id
|
||||
|
||||
# successful solution IDs of this stage
|
||||
# successful solution IDs of this stage, sorted by increasing cost
|
||||
uint32[] solved
|
||||
|
||||
# (optional) failed solution IDs of this stage
|
||||
|
||||
@ -640,7 +640,8 @@ void RemoteSolutionModel::processSolutionIDs(const std::vector<uint32_t>& succes
|
||||
}
|
||||
|
||||
void RemoteSolutionModel::processSolutionIDs(const std::vector<uint32_t>& ids, bool successful) {
|
||||
// ids are ordered by cost, insert them into data_ list sorted by id
|
||||
// Interface axiom: ids are sorted by cost
|
||||
// insert them into data_ list sorted by id
|
||||
double default_cost =
|
||||
successful ? std::numeric_limits<double>::quiet_NaN() : std::numeric_limits<double>::infinity();
|
||||
uint32_t cost_rank = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user