stereo_msgs_msg

package
v0.0.0-...-f3704aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DisparityImageTypeSupport types.MessageTypeSupport = _DisparityImageTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CloneDisparityImageSlice

func CloneDisparityImageSlice(dst, src []DisparityImage)

CloneDisparityImageSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func DisparityImage__Array_to_C

func DisparityImage__Array_to_C(cSlice []CDisparityImage, goSlice []DisparityImage)

func DisparityImage__Array_to_Go

func DisparityImage__Array_to_Go(goSlice []DisparityImage, cSlice []CDisparityImage)

func DisparityImage__Sequence_to_C

func DisparityImage__Sequence_to_C(cSlice *CDisparityImage__Sequence, goSlice []DisparityImage)

func DisparityImage__Sequence_to_Go

func DisparityImage__Sequence_to_Go(goSlice *[]DisparityImage, cSlice CDisparityImage__Sequence)

Types

type DisparityImage

type DisparityImage struct {
	Header       std_msgs_msg.Header              `yaml:"header"`        // Separate header for compatibility with current TimeSynchronizer.Likely to be removed in a later release, use image.header instead.
	Image        sensor_msgs_msg.Image            `yaml:"image"`         // Floating point disparity image. The disparities are pre-adjusted for anyx-offset between the principal points of the two cameras (in the casethat they are verged). That is: d = x_l - x_r - (cx_l - cx_r)
	F            float32                          `yaml:"f"`             // Focal length, pixels. Stereo geometry. For disparity d, the depth from the camera is Z = fT/d.
	T            float32                          `yaml:"t"`             // Baseline, world units. Stereo geometry. For disparity d, the depth from the camera is Z = fT/d.
	ValidWindow  sensor_msgs_msg.RegionOfInterest `yaml:"valid_window"`  // Subwindow of (potentially) valid disparity values.
	MinDisparity float32                          `yaml:"min_disparity"` // The range of disparities searched.In the disparity image, any disparity less than min_disparity is invalid.The disparity search range defines the horopter, or 3D volume that thestereo algorithm can "see". Points with Z outside of:Z_min = fT / max_disparityZ_max = fT / min_disparitycould not be found.
	MaxDisparity float32                          `yaml:"max_disparity"` // The range of disparities searched.In the disparity image, any disparity less than min_disparity is invalid.The disparity search range defines the horopter, or 3D volume that thestereo algorithm can "see". Points with Z outside of:Z_min = fT / max_disparityZ_max = fT / min_disparitycould not be found.
	DeltaD       float32                          `yaml:"delta_d"`       // Smallest allowed disparity increment. The smallest achievable depth rangeresolution is delta_Z = (Z^2/fT)*delta_d.
}

Do not create instances of this type directly. Always use NewDisparityImage function instead.

func NewDisparityImage

func NewDisparityImage() *DisparityImage

NewDisparityImage creates a new DisparityImage with default values.

func (*DisparityImage) Clone

func (t *DisparityImage) Clone() *DisparityImage

func (*DisparityImage) CloneMsg

func (t *DisparityImage) CloneMsg() types.Message

func (*DisparityImage) SetDefaults

func (t *DisparityImage) SetDefaults()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL