Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
synthetic-data-mbt Namespace Reference

Classes

class  MBTModelData
class  MBTConfig
class  FrameData

Functions

 read_data (MBTConfig exp_config, CameraParameters|None cam_depth, ImageGray I)
CameraParameters parse_camera_file (MBTConfig exp_config, bool is_color)

Variables

 parser = argparse.ArgumentParser()
 type
 str
 required
 help
 action
 args = parser.parse_args()
 data_root = Path(args.data_root)
 mbt_model = MBTModelData(data_root)
 exp_config = MBTConfig(data_root)
int rgb_tracker = MbGenericTracker.EDGE_TRACKER | (MbGenericTracker.KLT_TRACKER if not args.disable_klt else 0)
list tracker_types = [rgb_tracker]
 depth_tracker = MbGenericTracker.DEPTH_DENSE_TRACKER
 tracker = MbGenericTracker(tracker_types)
CameraParameters cam_color = parse_camera_file(exp_config, True)
CameraParameters cam_depth = parse_camera_file(exp_config, False) if not args.disable_depth else None
 I = ImageGray()
 data_generator = read_data(exp_config, cam_depth, I)
 frame_data = next(data_generator)
 depth_M_color = HomogeneousMatrix()
 dI = get_display()
 I_depth = None if args.disable_depth else ImageGray()
 dDepth = get_display()
 start_time = time.time()
 pc = frame_data.point_cloud
dict image_dict
 t = time.time()
 cMo = HomogeneousMatrix()
 blocking
 end_time = time.time()

Function Documentation

◆ parse_camera_file()

CameraParameters synthetic-data-mbt.parse_camera_file ( MBTConfig exp_config,
bool is_color )

Definition at line 149 of file synthetic-data-mbt.py.

References str.

◆ read_data()

synthetic-data-mbt.read_data ( MBTConfig exp_config,
CameraParameters | None cam_depth,
ImageGray I )

Definition at line 100 of file synthetic-data-mbt.py.

References str.

Variable Documentation

◆ action

synthetic-data-mbt.action

Definition at line 165 of file synthetic-data-mbt.py.

◆ args

synthetic-data-mbt.args = parser.parse_args()

Definition at line 170 of file synthetic-data-mbt.py.

◆ blocking

synthetic-data-mbt.blocking

Definition at line 253 of file synthetic-data-mbt.py.

◆ cam_color

CameraParameters synthetic-data-mbt.cam_color = parse_camera_file(exp_config, True)

Definition at line 193 of file synthetic-data-mbt.py.

◆ cam_depth

CameraParameters synthetic-data-mbt.cam_depth = parse_camera_file(exp_config, False) if not args.disable_depth else None

Definition at line 194 of file synthetic-data-mbt.py.

◆ cMo

synthetic-data-mbt.cMo = HomogeneousMatrix()

Definition at line 244 of file synthetic-data-mbt.py.

◆ data_generator

synthetic-data-mbt.data_generator = read_data(exp_config, cam_depth, I)

Definition at line 202 of file synthetic-data-mbt.py.

◆ data_root

synthetic-data-mbt.data_root = Path(args.data_root)

Definition at line 171 of file synthetic-data-mbt.py.

◆ dDepth

synthetic-data-mbt.dDepth = get_display()

Definition at line 215 of file synthetic-data-mbt.py.

◆ depth_M_color

synthetic-data-mbt.depth_M_color = HomogeneousMatrix()

Definition at line 205 of file synthetic-data-mbt.py.

◆ depth_tracker

synthetic-data-mbt.depth_tracker = MbGenericTracker.DEPTH_DENSE_TRACKER

Definition at line 181 of file synthetic-data-mbt.py.

◆ dI

synthetic-data-mbt.dI = get_display()

Definition at line 211 of file synthetic-data-mbt.py.

◆ end_time

synthetic-data-mbt.end_time = time.time()

Definition at line 254 of file synthetic-data-mbt.py.

◆ exp_config

synthetic-data-mbt.exp_config = MBTConfig(data_root)

Definition at line 174 of file synthetic-data-mbt.py.

◆ frame_data

synthetic-data-mbt.frame_data = next(data_generator)

Definition at line 203 of file synthetic-data-mbt.py.

◆ help

synthetic-data-mbt.help

Definition at line 164 of file synthetic-data-mbt.py.

◆ I

synthetic-data-mbt.I = ImageGray()

Definition at line 201 of file synthetic-data-mbt.py.

◆ I_depth

synthetic-data-mbt.I_depth = None if args.disable_depth else ImageGray()

Definition at line 214 of file synthetic-data-mbt.py.

◆ image_dict

dict synthetic-data-mbt.image_dict
Initial value:
1= {
2 'Camera1': I
3 }

Definition at line 238 of file synthetic-data-mbt.py.

◆ mbt_model

synthetic-data-mbt.mbt_model = MBTModelData(data_root)

Definition at line 173 of file synthetic-data-mbt.py.

◆ parser

synthetic-data-mbt.parser = argparse.ArgumentParser()

Definition at line 162 of file synthetic-data-mbt.py.

◆ pc

synthetic-data-mbt.pc = frame_data.point_cloud

Definition at line 237 of file synthetic-data-mbt.py.

◆ required

synthetic-data-mbt.required

Definition at line 163 of file synthetic-data-mbt.py.

◆ rgb_tracker

int synthetic-data-mbt.rgb_tracker = MbGenericTracker.EDGE_TRACKER | (MbGenericTracker.KLT_TRACKER if not args.disable_klt else 0)

Definition at line 178 of file synthetic-data-mbt.py.

◆ start_time

synthetic-data-mbt.start_time = time.time()

Definition at line 225 of file synthetic-data-mbt.py.

◆ str

synthetic-data-mbt.str

Definition at line 163 of file synthetic-data-mbt.py.

Referenced by parse_camera_file(), and read_data().

◆ t

synthetic-data-mbt.t = time.time()

Definition at line 241 of file synthetic-data-mbt.py.

◆ tracker

synthetic-data-mbt.tracker = MbGenericTracker(tracker_types)

Definition at line 184 of file synthetic-data-mbt.py.

◆ tracker_types

list synthetic-data-mbt.tracker_types = [rgb_tracker]

Definition at line 179 of file synthetic-data-mbt.py.

◆ type

synthetic-data-mbt.type

Definition at line 163 of file synthetic-data-mbt.py.