-
Notifications
You must be signed in to change notification settings - Fork 0
ZED Java API 5.3 #16
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
Open
TomaszTB
wants to merge
14
commits into
develop
Choose a base branch
from
feature/zed-java-api-5.3
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ZED Java API 5.3 #16
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a6c1551
Upgrade to 5.3
TomaszTB 3a5950f
Rebuild natives for Linux (x86_64)
ihmc-rosie e929355
Fix l4t build
TomaszTB 8fb69d2
Rebuild natives for Linux (x86_64)
ihmc-rosie 1eb4ba3
Rebuild natives for Linux (x86_64)
ihmc-rosie 683f858
Testing actions
TomaszTB be4c1f0
Rebuild natives for Linux (arm64)
ihmc-rosie 7a0a57e
Reenable all jobs
TomaszTB 7829752
Rebuild natives for Linux (x86_64)
ihmc-rosie 5df2dee
Rebuild natives for Linux (arm64)
ihmc-rosie b4fac67
Fix gdown link
TomaszTB d537ed5
Rebuild natives for Linux (x86_64)
ihmc-rosie 2e79294
Rebuild natives for Linux (arm64)
ihmc-rosie ff615d4
Rebuild natives for Windows
ihmc-rosie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| // Targeted by JavaCPP version 1.5.11: DO NOT EDIT THIS FILE | ||
|
|
||
| package us.ihmc.zed; | ||
|
|
||
| import org.bytedeco.cuda.cudart.CUctx_st; | ||
| import org.bytedeco.cuda.cudart.CUstream_st; | ||
| import java.nio.*; | ||
| import org.bytedeco.javacpp.*; | ||
| import org.bytedeco.javacpp.annotation.*; | ||
|
|
||
| import static us.ihmc.zed.global.zed.*; | ||
|
|
||
|
|
||
| /** | ||
| \brief Parameters controlling voxel decimation in sl_retrieve_voxel_measure. | ||
| */ | ||
| @Properties(inherit = us.ihmc.zed.ZEDJavaAPIConfig.class) | ||
| public class SL_VoxelMeasureParameters extends Pointer { | ||
| static { Loader.load(); } | ||
| /** Default native constructor. */ | ||
| public SL_VoxelMeasureParameters() { super((Pointer)null); allocate(); } | ||
| /** Native array allocator. Access with {@link Pointer#position(long)}. */ | ||
| public SL_VoxelMeasureParameters(long size) { super((Pointer)null); allocateArray(size); } | ||
| /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
| public SL_VoxelMeasureParameters(Pointer p) { super(p); } | ||
| private native void allocate(); | ||
| private native void allocateArray(long size); | ||
| @Override public SL_VoxelMeasureParameters position(long position) { | ||
| return (SL_VoxelMeasureParameters)super.position(position); | ||
| } | ||
| @Override public SL_VoxelMeasureParameters getPointer(long i) { | ||
| return new SL_VoxelMeasureParameters((Pointer)this).offsetAddress(i); | ||
| } | ||
|
|
||
| /** | ||
| \brief Voxel grid cell size in coordinate_units defined in SL_InitParameters. | ||
| If <= 0, a 100 mm equivalent default is used. Clamped internally to [5 mm equivalent, max_depth_range]. | ||
| */ | ||
| public native float voxel_size(); public native SL_VoxelMeasureParameters voxel_size(float setter); | ||
|
|
||
| /** | ||
| \brief Controls output point positions within each voxel. | ||
| If true, output point positions are the centroid of all points in each voxel. | ||
| If false, output positions are snapped to the voxel grid center. | ||
| */ | ||
| public native @Cast("bool") boolean centroid(); public native SL_VoxelMeasureParameters centroid(boolean setter); | ||
|
|
||
| /** | ||
| \brief How voxel size adapts with depth. | ||
| Default: SL_VOXELIZATION_MODE_STEREO_UNCERTAINTY | ||
| */ | ||
| public native @Cast("SL_VOXELIZATION_MODE") int resolution_mode(); public native SL_VoxelMeasureParameters resolution_mode(int setter); | ||
|
|
||
| /** | ||
| \brief Scale factor for depth-adaptive voxel growth. | ||
| Typical range: [0.01, 1.0]. Clamped internally to [0.01, 3.0]. | ||
| \note Only used when resolution_mode is not SL_VOXELIZATION_MODE_FIXED. | ||
| */ | ||
| public native float resolution_scale(); public native SL_VoxelMeasureParameters resolution_scale(float setter); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This addition fixes some linking issue with CUDA. We don't fully understand why this is needed, but AI suggested it and it works