Skip to content

Commit dca6c69

Browse files
Image quality in proto is double (#62)
1 parent c85fe4a commit dca6c69

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

spot_wrapper/spot_images.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ class ImageQualityConfig:
114114
Dataclass to store configuration of image quality. Default values are the default for the build_image_request
115115
"""
116116

117-
DEFAULT_QUALITY = 75
117+
DEFAULT_QUALITY = 75.0
118118

119-
robot_depth_quality: int = DEFAULT_QUALITY
120-
robot_image_quality: int = DEFAULT_QUALITY
121-
hand_image_quality: int = DEFAULT_QUALITY
122-
hand_depth_quality: int = DEFAULT_QUALITY
119+
robot_depth_quality: float = DEFAULT_QUALITY
120+
robot_image_quality: float = DEFAULT_QUALITY
121+
hand_image_quality: float = DEFAULT_QUALITY
122+
hand_depth_quality: float = DEFAULT_QUALITY
123123

124124

125125
class SpotImages:

0 commit comments

Comments
 (0)