Acura RDX 2018 AcuraWatch Plus Port#162
Acura RDX 2018 AcuraWatch Plus Port#162rbiasini merged 41 commits intocommaai:develfrom vanillagorillaa:vanillagorillaa-rdx-port
Conversation
| """Creates a CAN message for the Honda DBC STEERING_CONTROL.""" | ||
| commands = [] | ||
| if crv: | ||
| if crv or rdx: |
| if (frame % radar_send_step) == 0: | ||
| idx = (frame/radar_send_step) % 4 | ||
| can_sends.extend(hondacan.create_radar_commands(CS.v_ego, CS.civic, CS.accord, CS.crv, idx)) | ||
| can_sends.extend(hondacan.create_radar_commands(CS.v_ego, CS.civic, CS.accord, CS.crv, CS.rdx, idx)) |
There was a problem hiding this comment.
@energee @vanillagorillaa , needs to change create_steerint_control as well
There was a problem hiding this comment.
Should be set now
| self.park_brake = 0 # TODO | ||
| self.brake_hold = 0 # RDX doesn't have EPB | ||
|
|
||
| self.gear_shifter = parse_gear_shifter(can_gear_shifter, self.acura) |
There was a problem hiding this comment.
so, rdx gear shifter is parsed as the civic?
There was a problem hiding this comment.
RDX matches civic, 0x8-D, 0x1-P, 0x2-R, 0x4-N
|
@rbiasini This should be good for alpha support if we can still get it in for 0.4.0. Still going to work on Steer_Max and will submit a PR at a later point once we find final value |
|
Cannot forget to give huge credit to @energee for his help and support on the port! |
|
This is great work guys! Will PM @vanillagorillaa and @energee about the TODO list for the merge. It's pretty close. |
|
@rbiasini The person testing is relaying that awareness is not being reset by a steer-override or button events like cruise reset or resume. I can't see how this is possible especially since it is clearly reading the buttons because openpilot is being engaged. I am not seeing any obvious reason for this and theres not too much I can do without the ability to debug, any ideas? |
|
@energee I believe that steer override might not reset awareness status because the steer torque sensor is probably wrong in the dbc. It's strange about the buttons though. Is he sure? |
|
Another thing that is happening is every time he starts up the car is that OP is not giving him the "Warning, keep hands on the wheel" message. He says this occurs every time on start up. He is not 100% sure that changing speed is resetting timer so hes going to look tonight. Can confirm that OP disengages when Gas/Break/Cancel is applied |
|
Should also be added that OpenPilot cannot be engaged under 25mph |
| is_fw_modified = os.getenv("DONGLE_ID") in ['b0f5a01cf604185c'] | ||
| STEER_MAX = 0x1FFF if is_fw_modified else 0x1000 | ||
| elif CS.crv: | ||
| elif CS.crv or CS.acura_rdx: |
There was a problem hiding this comment.
this is a bug. Actually the same bug in 0.4.1 release that affected what is "not civic or odyssey". replace by:
elif CS.CP.carFingerprint in (CAR.CRV, CAR.ACURA_RDX):
| self.pedal_gas = cp.vl["POWERTRAIN_DATA"]['PEDAL_GAS'] | ||
| # crv doesn't include cruise control | ||
| if self.CP.carFingerprint != CAR.CRV: | ||
| if self.CP.carFingerprint != CAR.CRV or CAR.ACURA_RDX: |
There was a problem hiding this comment.
@vanillagorillaa this should be
if CS.CP.carFingerprint not in (CAR.CRV, CAR.ACURA_RDX)
actually, I would invert the check as follow:
if CS.CP.carFingerprint in (CAR.CRV, CAR.ACURA_RDX):
self.car_gas = self.pedal_gas
else:
self.car_gas = cp.vl["GAS_PEDAL_2"]['CAR_GAS']
| """Creates a CAN message for the Honda DBC STEERING_CONTROL.""" | ||
| commands = [] | ||
| if car_fingerprint == CAR.CRV: | ||
| if car_fingerprint == CAR.CRV or CAR.ACURA_RDX: |
|
Acura RDX JAE connector pinout? Same like JAE column in the guide? |
…i#162) * Revert entire 0.5.8 longitudinal_mpc subdir + files * Reinstate libmpc.init
…commaai#162)" This reverts commit 06d1c97.
* Fix dampening of steer sensor data (commaai#161) The smoothing I was doing on the combination of actual steering angle AND rate cause causing a conflict of noise **production** and **reduction**. The dampening should ONLY be done on the steering rate, which is the derivative component. This fix makes reactSteer and dampSteer much more useful * Revert to 0.5.9 longmpc to fix all the sad distance bar stuff (commaai#162) * Revert entire 0.5.8 longitudinal_mpc subdir + files * Reinstate libmpc.init * Retune back to 0.5.9 long * Fix for hard braking * import math library * Revert "Fix dampening of steer sensor data (commaai#161)" This reverts commit 820fb6b.
* Fix dampening of steer sensor data (commaai#161) The smoothing I was doing on the combination of actual steering angle AND rate cause causing a conflict of noise **production** and **reduction**. The dampening should ONLY be done on the steering rate, which is the derivative component. This fix makes reactSteer and dampSteer much more useful * Revert to 0.5.9 longmpc to fix all the sad distance bar stuff (commaai#162) * Revert entire 0.5.8 longitudinal_mpc subdir + files * Reinstate libmpc.init * Retune back to 0.5.9 long * Fix for hard braking * import math library * Revert "Fix dampening of steer sensor data (commaai#161)" This reverts commit 820fb6b.
LDWS improve
* Adding Acura RDX alpha support
…isable_autosteer_need_ic_integration disable the need for Autosteer enabled to run with IC integration
* Ram HD: ignore paramsd sanity check * can we do this * this instead
* test socketmaster... * remove LongVelocityControl * fix.. doorOpen, seatBelt... * fix.. steerTemp alert * torqued liveDelay * sync cruise_state, fix.. angle_steer * tr7 * Revert "tr7" This reverts commit ebbabdb. * fix.... * fix.. * fix.. * Hyundai: Sonata 2024 Car Port (commaai#161) * fix.. * fix... angle curve scale * fix.. sonata * add.. j_lead clip * fix.. jlead clip * fix.. angle torque... * fix.. mdps.. * fix.. * fix lanemode * fix.. * fix.. lanemode * ff * fix.. * fix.. * fix.. --------- Co-authored-by: Kirito3481 <47619491+Kirito3481@users.noreply.github.com>

Acura RDX 2018 AcuraWatch Plus Port. Just needs to be tested