cantools
cantools copied to clipboard
CAN bus tools.
In addition to all the DIDs (Diagnostic Identifiers), I require the Request CAN ID and the Response CAN ID from the Candela file (CDD). These CAN IDs will serve as...
Hello! Great work with this library! I have a simple question. I would expect to be able to write the following: ```py example_message = db.get_message_by_name('ExampleMessage') data = example_message.encode( {'Temperature': 250.1}...
 There are specific schema version for each classic platform versions for example: Classic platform release -> Schema versions R4.3.0 -> AUTOSAR_00042 In the same way, I am not getting...
Hello, really appreciate your work but I encountered a small problem: ## Steps to reproduce: ``` >>> import cantools >>> db = cantools.db.load_file('vw_mqb_2010.dbc') >>> signal = db.messages[0].signals[8] >>> signal signal('ACC_Sollbeschleunigung_02',...
Hi, I am getting the following error while trying to run 'monitor' subparser from CLI. Error: "error: Can't instantiate abstract class Monitor with abstract method stop* Cantools Version: 39.4.5 OS:...
@andlaus I'd like your opinion on this. I want to make testing the C code easier and platform independent via `tox -e codegen`. Summary of the changes: - move C...
When generating C code, init functions are generated regardless if a node is involved or not (using `--node`). When including in different projects this results in compilation errors because of...
This PR introduces a new CLI option that allows users to disable the automatic conversion of `camel_to_snake_case` and instead use the original casing as found in the DBC file. The...
Added grammar and object flexibilty when parsing a .dbc when getting an env var like this one: (creation) ENVVAR_DATA_ FaultID1: 3; -> using a more flexible grammar that finds both...
Is there a possibility to choose the version of DIDs? For example I have cdd file with Basic variant and than in Variants specified several of them. I can only...