Skip to content

Commit

Permalink
fix bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
karen-sy committed Sep 19, 2024
1 parent 5b270ff commit 75a260f
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions src/b3d/pose/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,24 +275,20 @@ def pose_grid(
end = time.time()
print(f"Time taken: {(end-start)*1000} milliseconds for {ntr*nrot} poses")

### Visualize ###
viz_grid = pose_grid_jit(
pose0,
min_x=min_x,
min_y=min_y,
min_z=min_z,
max_x=max_x,
max_y=max_y,
max_z=max_z,
nx=nx,
ny=ny,
nz=ny,
min_euler_angle=min_euler,
max_euler_angle=max_euler,
n_xrot=1,
n_yrot=1,
n_zrot=1,
)
b3d.rr_init("pose_grid_test")
rr_log_pose_arrows_grid(viz_grid)
b3d.rr_log_pose(pose0, channel="original_pose")
# ### Visualize ###
# viz_grid = pose_grid_jit(
# pose0,
# half_dx=half_dx,
# half_dy=half_dy,
# half_dz=half_dz,
# half_nx=half_nx,
# half_ny=half_ny,
# half_nz=half_nz,
# half_dangle=half_d_euler,
# half_n_xrot=half_n_alpha,
# half_n_yrot=half_n_beta,
# half_n_zrot=half_n_gamma,
# )
# b3d.rr_init("pose_grid_test")
# rr_log_pose_arrows_grid(viz_grid)
# b3d.rr_log_pose(pose0, channel="original_pose")

0 comments on commit 75a260f

Please sign in to comment.