Skip to content
Snippets Groups Projects

Add Prediction Interface and linear position prediction model to Object Memory

Merged Philip Scherer requested to merge linear-prediction into master

Closes #91 (closed), #96 (closed).

Add linear position prediction to ObjectMemory Segment.

Edited by Rainer Kartmann

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Philip Scherer added 4 commits

    added 4 commits

    • 5104c3b5 - Implement suggestions from Gitlab MR
    • bc2aad20 - Add time offset and window params to ObjMem Visu
    • 864034c7 - Add fallbacks to linear prediction for edge cases
    • ea64a429 - Make ObjPosClientEx visualize multiple predictions

    Compare with previous version

  • Philip Scherer resolved all threads

    resolved all threads

    • Resolved by Philip Scherer

      Some things I noticed while working on this MR:

      • Using std::stringstreams for error messages in BOs is not as great as we thought because it makes the BOs non-copyable, so you can't use them in vectors anymore.
      • Last time, we discussed that predictions should use MemoryIDs that are resolved to the snapshot level. However, I think that object pose predictions require instance indices for disambiguation. In particular, the current code only works if every entity in the instance segment only has a single instance per snapshot. If it has multiple object instances, the predictions will mix up the different objects' poses. I'm not quite sure how to resolve this since ObjectIDs support arbitrary strings as instance names - armem only supports integers, so the conversion would be a little iffy.
      Edited by Ghost User
    • Resolved by Rainer Kartmann

      Follow up:

      Refactor prediction code from source/RobotAPI/libraries/armem_objects/server/instance/Segment.cpp into the library RobotAPIArmarXObjects (i.e. something like: ObjectPose predict(vector<ObjectPose> poses, time))

  • mentioned in issue #96 (closed)

  • Rainer Kartmann added 47 commits

    added 47 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading