Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subaru: Global gen1 longitudinal safety #1500
Subaru: Global gen1 longitudinal safety #1500
Changes from 161 commits
5e97fc7
76676b7
64919ad
aba9ad2
185d420
152b087
324a552
eb2993c
3eb4aa7
09bd99b
1b2e129
8647423
beb6d0a
c8916c3
308af7e
4f73c77
3ed3139
3fac438
dcf8516
b7a6ecb
5d0f77f
606b360
90847c9
5c0b301
cbb8056
17cc58a
1697d0b
8702eb8
61178a1
2e2783d
1211f9e
577e45d
03cdfba
d2925e7
2b90cc9
4d68f7c
2a28770
3d56b64
2cfc910
611a828
98249dc
e53c847
2e3f5e3
cf23e8d
63c3475
b9cfddf
b13a453
d1eff3e
0de5ee1
aef8ab1
660b258
5fd7c69
0575d7a
fd6dfd0
77ddd7f
c1d84c5
b5b19d2
d818184
128178b
4cd4a12
c0847a6
7166dd5
adf234c
3de6861
b01faef
e260a04
63da689
73fde1c
222f1b9
0a559fc
86e8d32
5aae671
0da8fdf
60e6847
4d1f681
6efbe4f
d7e9727
b86bba4
d0a5abd
3705973
0841625
52b7367
78f6d34
8e64805
4110eac
4849837
21fc764
f52659b
93d6abb
eede344
dc9cf4e
56638ad
2c7e0fd
5006eb2
706fd78
41e4a4b
209c66e
0397443
3429b8d
e5dc258
de43707
6d8f714
3492c5e
3a73b60
339c343
ef909e8
1b2886b
1fd7429
2c2b95e
c9bcbc5
d760723
5156dac
c1aa976
dd3ea6b
b1dc602
38cbce1
11d2c55
5b43b01
3c4ac7a
d2dd787
b604cef
3e6010e
5a83f32
b174f8a
08621fa
59734b7
d9e88ae
1ac5e9d
9360a9e
20338da
fa49064
f8d4914
353207b
f13b2b6
e5c7a35
1697759
db1be0c
2b20d28
29c4bde
e51103c
d8812de
3168233
27dd7b5
49081e3
c9ddf64
c0367c1
b73659b
1c4b49d
8113cf0
7e39d36
1890601
ae2f1b0
3e3b383
79f70e1
0f482d4
442d95a
b36ae94
815452c
8b0146c
8f4c7d7
ac7d178
495426a
34e9163
676020f
0b1f0ad
0bded87
0ecc177
301579e
3fba020
9e1312e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this alt name is confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the goal was to make it generic in case any other brands have a similar "alternative" gas or brake signal that needs limiting. "rpm" is also weird, because it's actually the transmission rpm not the engine rpm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's incredibly important that this particular code is as simple and readable as possible; we are not optimizing for line count. in this case, the variable should probably be called
min_transmission_rpm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed to transmission_rpm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally we get this from the DBC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't really have a way to parse the DBC and get all the messages/ signals / sizes from python directly that I've seen. I could look at adding something like that in a separate pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah we can add to CANDefine (right now it just gives you the value map, but we can expand to give general signal info)