mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-05 07:43:41 +08:00
b939efc773
* Hyundai CAN: re-enable auto-enable radar tracks * check if radar tracks config bit is already enabled * only show success message if already enabled * test if it would actually skip * 5 bytes only * tested skipping, revert * lint * move to opendbc right after fping * more * lint * bump
29 lines
652 B
C++
29 lines
652 B
C++
#pragma once
|
|
|
|
#ifdef SUNNYPILOT
|
|
#include "selfdrive/ui/sunnypilot/qt/offroad/settings/settings.h"
|
|
#else
|
|
#include "selfdrive/ui/qt/offroad/settings.h"
|
|
#endif
|
|
|
|
class DeveloperPanel : public ListWidget {
|
|
Q_OBJECT
|
|
public:
|
|
explicit DeveloperPanel(SettingsWindow *parent);
|
|
void showEvent(QShowEvent *event) override;
|
|
|
|
private:
|
|
Params params;
|
|
ParamControl* adbToggle;
|
|
ParamControl* joystickToggle;
|
|
ButtonControl* errorLogBtn;
|
|
ParamControl* longManeuverToggle;
|
|
ParamControl* experimentalLongitudinalToggle;
|
|
ParamControl* enableGithubRunner;
|
|
bool is_release;
|
|
bool offroad = false;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|