Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set json without save settings #285

Closed
aispecialvideo opened this issue Jan 7, 2021 · 5 comments
Closed

Set json without save settings #285

aispecialvideo opened this issue Jan 7, 2021 · 5 comments

Comments

@aispecialvideo
Copy link

Hello,
I noticed the method ifm3d::Camera::FromJSON force the save of the configuration on camera memory.

In some cases I want to take the modifications in camera volatile memory only, can you add a boolean in that method for disable it?

Thanks you,
Andrea Iannì

@inbangsa
Copy link
Collaborator

inbangsa commented Jan 7, 2021

@aispecialvideo which parameters are you looking for. OR can you share your use case. At ifm3d level you can restore and change parameters with ifm3d::camera::ToJson and ifm3d::Camera::FromJson respectively.

@aispecialvideo
Copy link
Author

I'm not looking for a particular parameter, I want to edit Imager parameters or Application parameters in volatile memory only. When I call ifm3d::Camera::FromJson it edit the parameters using "setParameter" xml-rpc call and then it call xml-rpc "save" storing my modifications in persistent memory.

@graugans
Copy link
Member

graugans commented Jan 12, 2021

Hey @aispecialvideo, unfortunately what you are planning to do is not fully supported. The idea of the underlying session handling is to always have an consistent camera state. For some parameters it is not trivial to have them both in temporary and persistant state.

Nevertheless there are a couple of parameters which can be changed without calling the save method:

virtual void SetTemporaryApplicationParameters(const std::unordered_map<std::string, std::string>& params);

Please let me know if there are more parameters you want to change on the fly. I am also interested in the use case as @inbangsa already pointed out.

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Oct 25, 2022
@github-actions
Copy link

github-actions bot commented Nov 9, 2022

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Nov 9, 2022
ifm-csr pushed a commit that referenced this issue Jul 15, 2024
…derr-is-cluttered-with-messages' into 'main'

ignore empty frames when user is only requesting ALGO_DEBUG

Closes #285

See merge request syntron/support/csr/ifm3d/ifm3d!376
ifm-csr pushed a commit that referenced this issue Jul 23, 2024
Document the available buffer ids and image types

Closes #174, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!177
BigBoot added a commit that referenced this issue Aug 30, 2024
…derr-is-cluttered-with-messages' into 'main'

ignore empty frames when user is only requesting ALGO_DEBUG

Closes #285

See merge request syntron/support/csr/ifm3d/ifm3d!376
BigBoot pushed a commit that referenced this issue Aug 30, 2024
Add forgotten buffer to documentation

Closes #326, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!395
BigBoot added a commit that referenced this issue Oct 25, 2024
…derr-is-cluttered-with-messages' into 'main'

ignore empty frames when user is only requesting ALGO_DEBUG

Closes #285

See merge request syntron/support/csr/ifm3d/ifm3d!376
BigBoot added a commit that referenced this issue Oct 25, 2024
…derr-is-cluttered-with-messages' into 'main'

ignore empty frames when user is only requesting ALGO_DEBUG

Closes #285

See merge request syntron/support/csr/ifm3d/ifm3d!376
BigBoot added a commit that referenced this issue Oct 25, 2024
…derr-is-cluttered-with-messages' into 'main'

ignore empty frames when user is only requesting ALGO_DEBUG

Closes #285

See merge request syntron/support/csr/ifm3d/ifm3d!376
BigBoot pushed a commit that referenced this issue Oct 25, 2024
Document the available buffer ids and image types

Closes #174, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!177
BigBoot pushed a commit that referenced this issue Oct 25, 2024
Add forgotten buffer to documentation

Closes #326, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!395
BigBoot pushed a commit that referenced this issue Oct 25, 2024
Add forgotten buffer to documentation

Closes #326, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!395
BigBoot pushed a commit that referenced this issue Oct 25, 2024
Add documentation about calibration models and parameters

Closes #326, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!389
BigBoot pushed a commit that referenced this issue Oct 25, 2024
Fix migration guide number in menu

Closes #326, #285, and #280

See merge request syntron/support/csr/ifm3d/ifm3d!404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants