Changes have been pushed for the repository "fawkesrobotics/fawkes".

Clone:  https://github.com/fawkesrobotics/fawkes.git
Gitweb: https://github.com/fawkesrobotics/fawkes

The branch, neltester/realsense2_save_image has been updated
        to  da6d5ce83cd8b6a2eed2f2d348ca4d60d44db498 (commit)
       via  b8ea7646de5daa80b634fc9ef1a5c6e392cbae58 (commit)
      from  c384beda9cb9ccabe6dc0254c79f4dac3814514e (commit)

https://github.com/fawkesrobotics/fawkes/tree/neltester/realsense2_save_image

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- *Log* ---------------------------------------------------------------
commit b8ea7646de5daa80b634fc9ef1a5c6e392cbae58
Author:     Niklas Sebastian Eltester <[email protected]>
AuthorDate: Thu May 20 15:20:10 2021 +0200
Commit:     Niklas Sebastian Eltester <[email protected]>
CommitDate: Thu May 20 15:20:10 2021 +0200

    interfaces: increase size of image_name string

https://github.com/fawkesrobotics/fawkes/commit/b8ea7646d

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
commit da6d5ce83cd8b6a2eed2f2d348ca4d60d44db498
Author:     Niklas Sebastian Eltester <[email protected]>
AuthorDate: Thu May 20 15:21:35 2021 +0200
Commit:     Niklas Sebastian Eltester <[email protected]>
CommitDate: Thu May 20 15:21:35 2021 +0200

    realsense2: write image_name to interface

https://github.com/fawkesrobotics/fawkes/commit/da6d5ce83

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


- *Summary* -----------------------------------------------------------
 src/libs/interfaces/CameraControlInterface.xml | 2 +-
 src/plugins/realsense2/realsense2_thread.cpp   | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


- *Diffs* -------------------------------------------------------------

- *commit* b8ea7646de5daa80b634fc9ef1a5c6e392cbae58 - - - - - - - - - -
Author:  Niklas Sebastian Eltester <[email protected]>
Date:    Thu May 20 15:20:10 2021 +0200
Subject: interfaces: increase size of image_name string

 src/libs/interfaces/CameraControlInterface.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_Diff for modified files_:
diff --git a/src/libs/interfaces/CameraControlInterface.xml 
b/src/libs/interfaces/CameraControlInterface.xml
index 31d328092..9149fe102 100644
--- a/src/libs/interfaces/CameraControlInterface.xml
+++ b/src/libs/interfaces/CameraControlInterface.xml
@@ -26,7 +26,7 @@
     <field type="uint32" name="zoom_min">Minimum zoom</field>
     <field type="bool"   name="mirror">Is the image mirrored?</field>
     <field type="bool"   name="mirror_supported">Is mirroring 
supported?</field>
-    <field type="string" name="image_name" length="32">Filename of the image 
file</field>
+    <field type="string" name="image_name" length="1024">Filename of the image 
file</field>
   </data>
 
   <message name="SetEffect">

- *commit* da6d5ce83cd8b6a2eed2f2d348ca4d60d44db498 - - - - - - - - - -
Author:  Niklas Sebastian Eltester <[email protected]>
Date:    Thu May 20 15:21:35 2021 +0200
Subject: realsense2: write image_name to interface

 src/plugins/realsense2/realsense2_thread.cpp | 2 ++
 1 file changed, 2 insertions(+)

_Diff for modified files_:
diff --git a/src/plugins/realsense2/realsense2_thread.cpp 
b/src/plugins/realsense2/realsense2_thread.cpp
index a96761586..ed210fc4e 100644
--- a/src/plugins/realsense2/realsense2_thread.cpp
+++ b/src/plugins/realsense2/realsense2_thread.cpp
@@ -115,6 +115,8 @@ Realsense2Thread::loop()
                        png_writer_.set_dimensions(color_frame.get_width(), 
color_frame.get_height());
                        png_writer_.set_buffer(firevision::RGB, (unsigned char 
*)color_frame.get_data());
                        png_writer_.write();
+                       camera_if_->set_image_name(image_name_.c_str());
+                       camera_if_->write();
                        logger->log_info(name(), "Saving image to %s", 
image_name_.c_str());
                } else {
                        error_counter_++;



_______________________________________________
fawkes-commits mailing list
[email protected]
https://lists.kbsg.rwth-aachen.de/listinfo/fawkes-commits

Reply via email to