Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve NO DEPTH mode
  • Loading branch information
Myzhar committed Sep 11, 2023
commit 88c001cb1849040adaa96f88ef641b1c15ff58f7
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

2023-09-10
----------
- Change the parameter 'depth/quality' to 'depth/depth_mode' and replace numeric values with strings
- Improve the behavior of the "NO DEPTH" mode

2023-09-08
----------
- Add `pos_tracking/set_gravity_as_origin` parameter. If 'true' align the positional tracking world to imu gravity measurement. Keep the yaw from the user initial pose.
Expand Down
5 changes: 3 additions & 2 deletions zed_nodelets/src/zed_nodelet/include/zed_wrapper_nodelet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ class ZEDWrapperNodelet : public nodelet::Nodelet {
sl::RESOLUTION mCamResol;
int mCamFrameRate;
double mVideoDepthFreq = 15.;
sl::DEPTH_MODE mDepthMode;
sl::DEPTH_MODE mDepthMode = sl::DEPTH_MODE::ULTRA;
int mGpuId;
int mZedId;
int mDepthStabilization;
Expand Down Expand Up @@ -573,14 +573,15 @@ class ZEDWrapperNodelet : public nodelet::Nodelet {
bool mFloorAlignment = false;
bool mImuFusion = true;
bool mSetGravityAsOrigin = false;

// Flags
bool mGrabActive = false; // Indicate if camera grabbing is active (at least one topic subscribed)
sl::ERROR_CODE mConnStatus;
sl::ERROR_CODE mGrabStatus;
sl::POSITIONAL_TRACKING_STATE mPosTrackingStatus;
bool mSensPublishing = false;
bool mPcPublishing = false;
bool mDepthDisabled = false;

// Last frame time
ros::Time mPrevFrameTimestamp;
Expand Down
Loading