Skip to content

Commit

Permalink
remove navigation (#32773)
Browse files Browse the repository at this point in the history
* remove navigation

* lil more

* fix cabana

* revert for now

* fix docs

* move that over

* lock

* rm assets
old-commit-hash: e491c9d
  • Loading branch information
adeebshihadeh authored Jun 20, 2024
1 parent 758a9f3 commit 3b8ed67
Show file tree
Hide file tree
Showing 216 changed files with 48 additions and 6,024 deletions.
1 change: 0 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"description": "Select the process to debug",
"options": [
"selfdrive/controls/controlsd.py",
"selfdrive/navd/navd.py",
"system/timed/timed.py",
"tools/sim/run_bridge.py"
]
Expand Down
9 changes: 2 additions & 7 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ SCons.Warnings.warningAsException(True)

TICI = os.path.isfile('/TICI')
AGNOS = TICI
UBUNTU_FOCAL = int(subprocess.check_output('[ -f /etc/os-release ] && . /etc/os-release && [ "$ID" = "ubuntu" ] && [ "$VERSION_ID" = "20.04" ] && echo 1 || echo 0', shell=True, encoding='utf-8').rstrip())
Export('UBUNTU_FOCAL')

Decider('MD5-timestamp')

Expand Down Expand Up @@ -213,8 +211,6 @@ env = Environment(
"#cereal",
"#msgq",
"#opendbc/can",
"#third_party/maplibre-native-qt/include",
f"#third_party/maplibre-native-qt/{arch}/include"
],

CC='clang',
Expand Down Expand Up @@ -279,7 +275,7 @@ Export('envCython')

# Qt build environment
qt_env = env.Clone()
qt_modules = ["Widgets", "Gui", "Core", "Network", "Concurrent", "Multimedia", "Quick", "Qml", "QuickWidgets", "Location", "Positioning", "DBus", "Xml"]
qt_modules = ["Widgets", "Gui", "Core", "Network", "Concurrent", "Multimedia", "Quick", "Qml", "QuickWidgets", "DBus", "Xml"]

qt_libs = []
if arch == "Darwin":
Expand Down Expand Up @@ -332,8 +328,7 @@ qt_flags = [
"-DQT_MESSAGELOGCONTEXT",
]
qt_env['CXXFLAGS'] += qt_flags
qt_env['LIBPATH'] += ['#selfdrive/ui', f"#third_party/maplibre-native-qt/{arch}/lib"]
qt_env['RPATH'] += [Dir(f"#third_party/maplibre-native-qt/{arch}/lib").srcnode().abspath]
qt_env['LIBPATH'] += ['#selfdrive/ui', ]
qt_env['LIBS'] = qt_libs

if GetOption("clazy"):
Expand Down
6 changes: 0 additions & 6 deletions common/params.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ std::unordered_map<std::string, uint32_t> keys = {
{"AccessToken", CLEAR_ON_MANAGER_START | DONT_LOG},
{"AlwaysOnDM", PERSISTENT},
{"ApiCache_Device", PERSISTENT},
{"ApiCache_NavDestinations", PERSISTENT},
{"AssistNowToken", PERSISTENT},
{"AthenadPid", PERSISTENT},
{"AthenadUploadQueue", PERSISTENT},
Expand Down Expand Up @@ -160,11 +159,6 @@ std::unordered_map<std::string, uint32_t> keys = {
{"LiveParameters", PERSISTENT},
{"LiveTorqueParameters", PERSISTENT | DONT_LOG},
{"LongitudinalPersonality", PERSISTENT},
{"NavDestination", CLEAR_ON_MANAGER_START | CLEAR_ON_OFFROAD_TRANSITION},
{"NavDestinationWaypoints", CLEAR_ON_MANAGER_START | CLEAR_ON_OFFROAD_TRANSITION},
{"NavPastDestinations", PERSISTENT},
{"NavSettingLeftSide", PERSISTENT},
{"NavSettingTime24h", PERSISTENT},
{"NetworkMetered", PERSISTENT},
{"ObdMultiplexingChanged", CLEAR_ON_MANAGER_START | CLEAR_ON_ONROAD_TRANSITION},
{"ObdMultiplexingEnabled", CLEAR_ON_MANAGER_START | CLEAR_ON_ONROAD_TRANSITION},
Expand Down
2 changes: 0 additions & 2 deletions docs/c_docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ qt
""
.. autodoxygenindex::
:project: selfdrive_ui_qt_offroad
.. autodoxygenindex::
:project: selfdrive_ui_qt_maps

proclogd
^^^^^^^^
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ testpaths = [
"selfdrive/controls",
"selfdrive/locationd",
"selfdrive/monitoring",
"selfdrive/navd/tests",
"selfdrive/test/longitudinal_maneuvers",
"selfdrive/test/process_replay/test_fuzzy.py",
"system/updated",
Expand Down Expand Up @@ -183,7 +182,6 @@ natsort = "*"
opencv-python-headless = "*"
parameterized = "^0.8"
#pprofile = "*"
polyline = "*"
pyautogui = "*"
pygame = "*"
pyopencl = { version = "*", markers = "platform_machine != 'aarch64'" } # broken on arm64
Expand Down
1 change: 0 additions & 1 deletion selfdrive/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ SConscript(['pandad/SConscript'])
SConscript(['controls/lib/lateral_mpc_lib/SConscript'])
SConscript(['controls/lib/longitudinal_mpc_lib/SConscript'])
SConscript(['locationd/SConscript'])
SConscript(['navd/SConscript'])
SConscript(['modeld/SConscript'])
SConscript(['ui/SConscript'])
3 changes: 0 additions & 3 deletions selfdrive/assets/img_map.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/default_marker.svg

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_arrive.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_arrive_left.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_arrive_right.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_arrive_straight.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_close.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_continue.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_continue_left.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_continue_right.png

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_continue_straight.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_continue_uturn.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_depart.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_depart_left.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_depart_right.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_depart_straight.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_end_of_road_left.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_end_of_road_right.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_flag.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_fork.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_fork_left.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_fork_right.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_fork_slight_left.png

This file was deleted.

3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_fork_slight_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_fork_straight.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_invalid.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_invalid_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_invalid_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_invalid_slight_left.png
Diff not rendered.
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_invalid_straight.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_invalid_uturn.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_merge_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_merge_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_merge_slight_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_merge_slight_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_merge_straight.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_new_name_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_new_name_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_new_name_sharp_left.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_new_name_straight.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_notification_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_notification_right.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_off_ramp_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_off_ramp_right.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_on_ramp_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_on_ramp_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_on_ramp_sharp_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_on_ramp_sharp_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_on_ramp_slight_left.png
Diff not rendered.
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_on_ramp_straight.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_sharp_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_sharp_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_slight_left.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_slight_right.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_rotary_straight.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_roundabout.png
Diff not rendered.
3 changes: 0 additions & 3 deletions selfdrive/assets/navigation/direction_roundabout_left.png
Diff not rendered.
Loading

0 comments on commit 3b8ed67

Please sign in to comment.