mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-01 14:16:47 +08:00
517919c7b7
* 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: commit bcf5b06c822fd1bce1de5f119e42cb763d8e282f Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 14:14:29 2025 -0700 Init Developer panel SP commit cf8bbb70ab9d132d7b15043a73496a17b841641b Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 06:22:18 2025 -0700 Chronological in manager too commit ff9b873468c8ef63eca6de524c924bb80a287b4d Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 06:19:59 2025 -0700 Move down, since name change commit 38f6cb8c5735815faaca3226c7c8da0e051452c2 Author: discountchubbs <alexgrant990@gmail.com> Date: Thu Jul 17 06:17:36 2025 -0700 FastBoot -> QuickBoot commit 38562db8dd6b4cdeb06db74f1a71de2c285ed3ab Author: discountchubbs <alexgrant990@gmail.com> Date: Wed Jul 16 11:20:17 2025 -0700 Unused commit c7a751b02d7146e83dfa0ee5037fa4cf8ee6def5 Author: 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);
|
|
};
|