Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Dev fixes before pull to main
Browse files Browse the repository at this point in the history
* Removed Wireless lidar from the list of lidars in lidar.py
* Reenabled the hover to set goal option in Pathfinder Visualizer
  • Loading branch information
RK22000 committed Mar 30, 2024
1 parent 27b43bf commit 3010170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions unified_frameworks/pathfinder_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def on_mouse_move(event):

def show_visual(get_pathfinder):
def on_hover_point(point_polar):
return
# get_pathfinder().set_goal(point_polar) if not point_polar is None else None
# return
get_pathfinder().set_goal(point_polar) if not point_polar is None else None
fig, update_func = run_visualizer(get_pathfinder, on_hover_point)
anime = anim.FuncAnimation(fig, update_func, 1, interval=50, blit=config['blit'])
plt.show()
Expand Down
2 changes: 1 addition & 1 deletion unified_frameworks/sensor_array/lidar.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
importlib.reload(sensor_array.client_lidar)

config = {
"lidar_preference": [ActualLidar, BridgeLidar, WirelessLidar, FakeLidar],
"lidar_preference": [ActualLidar, BridgeLidar, FakeLidar],
"update_frequency": 20, # Hz
"history_size": 1,
"rover_radius": 0.7,
Expand Down

0 comments on commit 3010170

Please sign in to comment.