Definition at line 157 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.__init__ | ( | self, | |
optical_frame, | |||
tf_listener = None |
|||
) |
Definition at line 159 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.approach_location | ( | self, | |
point_bl, | |||
coarse_stop, | |||
fine_stop, | |||
voi_radius = .2 |
|||
) |
Definition at line 427 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.approach_perpendicular_to_surface | ( | self, | |
point_bl, | |||
voi_radius, | |||
dist_approach | |||
) |
Drive so that we are perpendicular to a wall at point_bl (radii voi_radius) stop at dist_approach.
Definition at line 386 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.camera_change_detect | ( | self, | |
threshold, | |||
f, | |||
args | |||
) |
Application Specific Behaviors.
Definition at line 504 of file application_behaviors.py.
Definition at line 342 of file application_behaviors.py.
Scripty Behaviors.
Definition at line 298 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.drawer | ( | self, | |
point | |||
) |
Definition at line 759 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.drawer_push | ( | self, | |
point_bl | |||
) |
Definition at line 678 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.drive_approach_behavior | ( | self, | |
point_bl, | |||
dist_far | |||
) |
Mobility Behaviors.
Drive using within a dist_far distance of point_bl
Definition at line 364 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.driving_posture | ( | self, | |
task_type | |||
) |
Definition at line 272 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.get_behavior_by_task | ( | self, | |
task_type | |||
) |
Behavior Indexing Functions.
Definition at line 195 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.light_rocker_push | ( | self, | |
point, | |||
pressure, | |||
visual_change_thres, | |||
offset | |||
) |
Definition at line 629 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.light_switch | ( | self, | |
point, | |||
point_offset, | |||
press_contact_pressure, | |||
press_pressure, | |||
press_distance, | |||
visual_change_thres | |||
) |
Definition at line 547 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.location_approach_driving | ( | self, | |
task, | |||
point_bl | |||
) |
Definition at line 465 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.look_at | ( | self, | |
point_bl, | |||
block = True |
|||
) |
Definition at line 352 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.manipulation_posture | ( | self, | |
task_type | |||
) |
Definition at line 235 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.move_base_planner | ( | self, | |
trans, | |||
rot | |||
) |
Definition at line 488 of file application_behaviors.py.
Definition at line 347 of file application_behaviors.py.
Definition at line 330 of file application_behaviors.py.
def trf_learn.application_behaviors.ApplicationBehaviorsDB.turn_to_point | ( | self, | |
point_bl, | |||
block = True |
|||
) |
Definition at line 459 of file application_behaviors.py.
Definition at line 318 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
tuple trf_learn::application_behaviors.ApplicationBehaviorsDB::bounded_dist = np.max(point_dist - dist_far, 0) [static] |
Definition at line 372 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 298 of file application_behaviors.py.
Definition at line 298 of file application_behaviors.py.
Definition at line 298 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 298 of file application_behaviors.py.
tuple trf_learn::application_behaviors.ApplicationBehaviorsDB::map_T_base_link = tfu.transform('map', 'base_link', self.tf_listener) [static] |
Definition at line 366 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
tuple trf_learn::application_behaviors.ApplicationBehaviorsDB::point_close_bl = (point_bl / point_dist) [static] |
Definition at line 373 of file application_behaviors.py.
tuple trf_learn::application_behaviors.ApplicationBehaviorsDB::point_close_map = tfu.transform_points(map_T_base_link, point_close_bl) [static] |
Definition at line 374 of file application_behaviors.py.
tuple trf_learn::application_behaviors.ApplicationBehaviorsDB::point_dist = np.linalg.norm(point_bl) [static] |
Definition at line 371 of file application_behaviors.py.
tuple trf_learn::application_behaviors.ApplicationBehaviorsDB::point_map = tfu.transform_points(map_T_base_link, point_bl) [static] |
Definition at line 367 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 298 of file application_behaviors.py.
Definition at line 298 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
self.robot.base.set_pose(point_close_map.T.A1.tolist(), \ r_current_map, '/map', block=True)
Definition at line 375 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.
Definition at line 159 of file application_behaviors.py.