Commit Graph

16 Commits

Author SHA1 Message Date
Dean Lee 97aa8b0606 cabana: support ECU node names (#29897)
* support display&edit node name

* cleanup

* set validator for Node name

* modify validator to support multiple receivers

* set default to XXX in updateMsg

* add DEFAULT_NODE_NAME

* Update tools/cabana/commands.h

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c4df40a04a57478883609748c08d1abed539b017
2023-09-15 00:27:44 -07:00
Dean Lee 97e9d55588 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee 241cbb2808 cabana: preserve msg transmitter & signal receiver when saving DBC (#28825)
preserve transmitter&receiver_name
old-commit-hash: 940609956d3fe10ffd3033156f4fe62bcdcac42e
2023-07-06 12:39:58 -07:00
Dean Lee c7425def28 cabana: fixed the issue of parsing multiplexed signals (#28660)
old-commit-hash: 6cc600e84f3a42bcf402730073d22fe6cd16b8d3
2023-06-23 13:14:11 -07:00
Dean Lee 88840e9fe4 cabana: simplifying endian conversion (#28601)
old-commit-hash: 3c398b2e2f2afdc4f81d968e4b0fb025d8190cab
2023-06-20 10:56:40 -07:00
Dean Lee b31de7db56 cabana: fixed the multi-threading issues of AbstractStream (#28590)
* fix multi-threading issues

* protect masks with mutex
old-commit-hash: e80440dc5d76c12cd6782b6a3446b12f6c62016e
2023-06-19 10:21:16 -07:00
Cameron Clough b3055ca4ff cabana: round signal raw value for value description
old-commit-hash: e57f3ab4daeb18ac1c8786b3b5c7d0ad7b000646
2023-06-15 12:46:08 +01:00
Dean Lee 7fc2927b73 cabana: use raw signal value to match value descriptions (#28554)
old-commit-hash: 6f54ebe1103c7960afcd2f3f550e56ba9a7e4667
2023-06-15 11:50:14 +01:00
Dean Lee c5543bf21d cabana: support multiplexed signals (#28309)
* support muxed signals

* write multiplexor in generateDBC

* edit multiplex_switch_value in signalView

* no overlapping warning for mux signals

* group signals by multiplexer indicator

* display freq for each multiplexed signals

* remove all multiplexed signals after switch deleted

* disable switch value

* cleanup

* historyView: use getValue

* sort by switch value

* check address

* rename variables

* rename signale type

* parse multiplexed signals in dbcmanater

* cache signal color in member variable

* cleanup num_decimals

* remove sources from dbcmanager and cleanup code

* fix sort

* check mltiplex in operator==

* fix sizehint

* convert multipledxed to normal after changing multiplxor to normal

* throw error on multiple 'M' signals

* add comment

* parse multipled signals in test case

* cleanup

* change order

* cleanup open

* display multiplexed/overlapping signals in binaryview

* sort overlapped signals by size

* refactor dbcmanager

* trimmed

* parse multiplexed signals in test case

* cleanup

* merge master

* space

* use pointer for sigs

* alldbcFiles

* cleanup

* cleanup sparkline

* use std::vector

* skip draw sparkline if isnull

* bigger capacity
old-commit-hash: e08569b0f31953e185369eba9afb7fb20de714fa
2023-06-13 13:22:03 -07:00
Dean Lee eba8100ea5 cabana: refactor dbc manager (#28445)
* rafactor signal

* cleanup

* refacto dbcmanager

* refactor dbcmanger
old-commit-hash: ff4aae85fe39b6442c03963a6a8cbfc900ba61c3
2023-06-08 13:41:55 -07:00
Angus Gratton 78268323cd cabana dbc: Sort signals by name if start bits are equal (#28399)
old-commit-hash: f659d4d44b1192467a7ad0d34c4f6747ae7382b4
2023-06-04 14:04:09 -07:00
Dean Lee 90bff752c1 cabana: improve dbc parsing (#28321)
old-commit-hash: 2a6458b44ed4189ec110036de956598e39fe8151
2023-05-27 15:43:42 -07:00
Dean Lee c9d56e78a6 cabana: cleanup DBCFile (#28160)
old-commit-hash: 720df4d150913e9ee98165d2bb03a18d7566e746
2023-05-10 13:57:55 -07:00
Willem Melching 10215bc44e cabana: add option to suppress already known signals (#28106)
* suppress using static mask

* use mask in updateLastMsgsTo

* store mask in cabana::Msg

* update mask in the right places

* actually build mask

* restore setting

* less diff
old-commit-hash: b53f748a1a328e63dff0a404114c5210eeaf2282
2023-05-04 10:50:28 -07:00
Dean Lee 4a318e17bd cabana: display current time & values in chart (#28042)
* display current time&value in chart

* cleanup

* use macro

* use BrightText

* use x-square

* tiplabel: set point size 9

* add 1 point offset

* change Light color

* lighter color

* use const iterator to avoid implict sharing detachs
old-commit-hash: 45f1f764ea32f05b51e8e8a84ab6ce7ab8eefd95
2023-04-29 13:27:37 -07:00
Dean Lee 640d68e3bc cabana: move dbc related files to dbc/ (#27712)
* move dbc related files to dbc/

* move generate_dbc_json.py to dbc/
old-commit-hash: 8903e03c8844df03783ae78d97e1294d0869ffea
2023-03-28 11:52:28 -07:00