openpilot v0.3.4 tweaks

old-commit-hash: 1b8c44b506
commatwo_master v0.3.4
Vehicle Researcher 8 years ago
parent 46e0ee7750
commit 0247b631ac
  1. 1
      RELEASES.md
  2. 4
      apk/com.baseui.apk
  3. 2
      cereal/car.capnp
  4. 2
      selfdrive/car/honda/interface.py
  5. 2
      selfdrive/controls/controlsd.py
  6. 1
      selfdrive/sensord/.gitignore

@ -5,6 +5,7 @@ Version 0.3.4 (2017-07-28)
* Performance improvements * Performance improvements
* Bugfixes and improvements to calibration * Bugfixes and improvements to calibration
* Driving log can play back video * Driving log can play back video
* Acura only: system now stays engaged below 25mph as long as brakes are applied
Version 0.3.3 (2017-06-28) Version 0.3.3 (2017-06-28)
=========================== ===========================

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:31f6d7340f0beed300d7ba8789dcfed8d8fd70aeb815bd430f031587c026b9b2 oid sha256:85daa6764a264b9639ee3693fd577259ec6e73c83ae9355f5a62ae12049fb832
size 9479160 size 6238486

@ -50,7 +50,7 @@ struct CarState {
struct CruiseState { struct CruiseState {
enabled @0: Bool; enabled @0: Bool;
speed @1: Float32; speed @1: Float32;
mainOn @2: Bool; available @2: Bool;
} }
enum Error { enum Error {

@ -162,7 +162,7 @@ class CarInterface(object):
# cruise state # cruise state
ret.cruiseState.enabled = self.CS.pcm_acc_status != 0 ret.cruiseState.enabled = self.CS.pcm_acc_status != 0
ret.cruiseState.speed = self.CS.v_cruise_pcm * CV.KPH_TO_MS ret.cruiseState.speed = self.CS.v_cruise_pcm * CV.KPH_TO_MS
ret.cruiseState.mainOn = bool(self.CS.main_on) ret.cruiseState.available = bool(self.CS.main_on)
# TODO: button presses # TODO: button presses
buttonEvents = [] buttonEvents = []

@ -194,7 +194,7 @@ class Controls(object):
# disable if the pedals are pressed while engaged, this is a user disable # disable if the pedals are pressed while engaged, this is a user disable
if self.enabled: if self.enabled:
if self.CS.gasPressed or self.CS.brakePressed or not self.CS.cruiseState.mainOn: if self.CS.gasPressed or self.CS.brakePressed or not self.CS.cruiseState.available:
self.AM.add("disable", self.enabled) self.AM.add("disable", self.enabled)
# it can happen that car cruise disables while comma system is enabled: need to # it can happen that car cruise disables while comma system is enabled: need to

@ -1 +0,0 @@
sensord
Loading…
Cancel
Save