zed-sdk icon indicating copy to clipboard operation
zed-sdk copied to clipboard

version jetson 4.4 v3.7.5 cannot save area map

Open shlomi-amitai opened this issue 1 year ago • 5 comments

Preliminary Checks

  • [X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • [X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

When moving to version 3.7.5. and traying to save map using zed.disable_positional_tracking(self.outMapFile) map is not saved.

Steps to Reproduce

  1. run positional tracking
  2. tracking_params = sl.PositionalTrackingParameters()
  3. tracking_params.area_file_path = inMap
        status = zed.enable_positional_tracking(tracking_params)
    

No file saved ...

Expected Result

saved map file

Actual Result

Nothing happens. in version 3.7.4. a map is saved

ZED Camera model

ZED2i

Environment

Jetson Linux jetpack 4.4
ZED SDK 3.7.5 for jetpack 4.4

Anything else?

No response

shlomi-amitai avatar Jul 17 '22 07:07 shlomi-amitai

Hi @shlomi-amitai The code that you posted is correct to open an existing area map file. To save the area map you can call the saveAreaMap function or call the disablePositionalTracking function

Myzhar avatar Jul 17 '22 07:07 Myzhar

I'm sorry, pasted the wrong code, that' what I'm doing zed.disable_positional_tracking(self.outMapFile) and yet , it is not saved. When switching to 3.7.4, it works (but then other issues come up...)

shlomi-amitai avatar Jul 17 '22 08:07 shlomi-amitai

We are going to test this odd behavior. Can you try to use the saveAreaMap function to test if it works?

Myzhar avatar Jul 17 '22 12:07 Myzhar

tried this as well, still not dumping the file.

shlomi-amitai avatar Jul 17 '22 13:07 shlomi-amitai

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days

github-actions[bot] avatar Aug 17 '22 02:08 github-actions[bot]

Faced the same issue

YaroslavShchekaturov avatar Mar 13 '23 17:03 YaroslavShchekaturov