-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added AUXn input fields and implemented emitStatusOverCAN feature.
- Loading branch information
1 parent
506a2c1
commit eefa3a6
Showing
141 changed files
with
1,116 additions
and
268 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.87 MB
Builds/DieBieMSToolV0.20Windows/platforminputcontexts/qtvirtualkeyboardplugin.dll
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-40.5 KB
Builds/DieBieMSToolV0.20Windows/printsupport/windowsprintersupport.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-55.5 KB
Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_nativedebugger.dll
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-31.5 KB
Builds/DieBieMSToolV0.20Windows/qmltooling/qmldbg_quickprofiler.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#include "bleuart.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#ifndef BLEUART_H | ||
#define BLEUART_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#include "bmsinterface.h" | ||
#include <QDebug> | ||
|
@@ -400,8 +402,9 @@ QList<VSerialInfo_t> BMSInterface::listSerialPorts() | |
info.systemPath = port.systemLocation(); | ||
int index = res.size(); | ||
|
||
if(port.manufacturer().startsWith("STMicroelectronics")) { | ||
info.name.insert(0, "DieBieMS - "); | ||
if(port.manufacturer().startsWith("Silicon")) { | ||
//info.name.insert(0, "DieBieMS - "); | ||
info.name.append(" - DieBieMS"); | ||
info.isVesc = true; | ||
index = 0; | ||
} else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#ifndef BMSInterface_H | ||
#define BMSInterface_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#include "commands.h" | ||
#include <QDebug> | ||
|
@@ -145,6 +147,7 @@ void Commands::processPacket(QByteArray data) | |
values.tempBMSAverage = vb.vbPopFrontDouble16(1e1); | ||
|
||
values.opState = opStateToStr((OperationalStateTypedef)vb.vbPopFrontUint8()); | ||
values.balanceActive = vb.vbPopFrontUint8(); | ||
|
||
emit valuesReceived(values); | ||
} break; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#ifndef COMMANDS_H | ||
#define COMMANDS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#include "configparam.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#ifndef CONFIGPARAM_H | ||
#define CONFIGPARAM_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#include "configparams.h" | ||
#include <QDebug> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#ifndef CONFIGPARAMS_H | ||
#define CONFIGPARAMS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
/* | ||
Copyright 2016 - 2017 Benjamin Vedder [email protected] | ||
Original copyright 2018 Benjamin Vedder [email protected] and the VESC Tool project ( https://github.com/vedderb/vesc_tool ) | ||
Now forked to: | ||
Danny Bokma [email protected] | ||
This file is part of VESC Tool. | ||
This file is part of BMS Tool. | ||
VESC Tool is free software: you can redistribute it and/or modify | ||
DieBieMS Tool is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
VESC Tool is distributed in the hope that it will be useful, | ||
DieBieMS Tool is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
*/ | ||
|
||
#ifndef DATATYPES_H | ||
#define DATATYPES_H | ||
|
@@ -140,6 +142,7 @@ struct BMS_VALUES { | |
Q_PROPERTY(double tempBMSHigh MEMBER tempBMSHigh) | ||
Q_PROPERTY(double tempBMSAverage MEMBER tempBMSAverage) | ||
Q_PROPERTY(QString opState MEMBER opState) | ||
Q_PROPERTY(int balanceActive MEMBER balanceActive) | ||
Q_PROPERTY(QString faultState MEMBER faultState) | ||
|
||
public: | ||
|
@@ -161,6 +164,7 @@ struct BMS_VALUES { | |
double tempBMSHigh; | ||
double tempBMSAverage; | ||
QString opState; | ||
int balanceActive; | ||
QString faultState; | ||
}; | ||
|
||
|
Oops, something went wrong.