mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-21 03:23:43 +08:00
01c5dbdc4c
* more
* event and checks
* comments
* missed events
* retry 2 times is enough
* rename to radar tracks
* fix data type
* more rename
* bump opendbc
* drain first
* put it behind a toggle lol
* re-enable
* update comments
* revert lead smoothing
* Revert "revert lead smoothing"
This reverts commit 872267970c.
* real events and radard engagement
* only show up for hyundai with mando
* update translations
* bump opendbc
* fix event name
* update description
* move above
* translations
---------
Co-authored-by: rav4kumar <meetkumardesai@gmail.com>
26 lines
545 B
C++
26 lines
545 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* joystickToggle;
|
|
ParamControl* longManeuverToggle;
|
|
ParamControl* hyundaiRadarTracksToggle;
|
|
bool is_release;
|
|
bool offroad;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|