mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-03-03 10:13:54 +08:00
* Error log clear on manager start * Error log clear on manager start * 12 hour reset. may change soon * Add last modified date * unused * rm space * Squashed commit of the following: commitbcf5b06c82Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 14:14:29 2025 -0700 Init Developer panel SP commitcf8bbb70abAuthor: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 06:22:18 2025 -0700 Chronological in manager too commitff9b873468Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 06:19:59 2025 -0700 Move down, since name change commit38f6cb8c57Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 06:17:36 2025 -0700 FastBoot -> QuickBoot commit38562db8ddAuthor: discountchubbs <alexgrant990@gmail.com> Date: Wed Jul 16 11:20:17 2025 -0700 Unused commitc7a751b02dAuthor: discountchubbs <alexgrant990@gmail.com> Date: Wed Jul 16 10:24:47 2025 -0700 Fast boot mode * * Depends on #1054 * Update developer_panel.h --------- Co-authored-by: Jason Wen <haibin.wen3@gmail.com> Co-authored-by: DevTekVE <devtekve@gmail.com>
27 lines
586 B
C++
27 lines
586 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;
|
|
ParamControl* longManeuverToggle;
|
|
ParamControl* experimentalLongitudinalToggle;
|
|
bool is_release;
|
|
bool offroad = false;
|
|
|
|
private slots:
|
|
void updateToggles(bool _offroad);
|
|
};
|