ArduRemoteID icon indicating copy to clipboard operation
ArduRemoteID copied to clipboard

Cannot view parameters

Open 4dri4anxD opened this issue 8 months ago • 1 comments

Problem description: I am not able to change the parameters as they are not displayed. I have tried to do this in Mission Planner and although I can see the CAN node, the parameters are not displayed. I have found that this problem comes from commit DroneCAN: use TWAI acceptance filters It seems like the acceptance mask and code implemented are somewhat discriminating RID CAN messages.

Expected behavior: When click on RID Module CAN parameters button in MissionPlanner, the parameters are displayed.

Current behavior When click on RID Module CAN parameters button in MissionPlanner, only an empty window is displayed.

RID Module: Custom module ESP32-C3-MINI-1U based

Flight Controller: CubeOrange

Steps to reproduce:

  1. Build (for a ESP32-C3 device) and upload the ArduRemoteID firmware v1.14
  2. Connect the RID module to a CubeOrange (loaded with ardupilot ODID firmware, above v4.5.0) via CAN
  3. Enable CAN interface on CubeOrange as suggested
  4. Reboot flight controller and connect to mission planner
  5. Display CAN parameters on Setup->Optional Hardware->DroneCan/UAVCAN

Workaround: In file "RemoteIDModule/CANDriver.cpp" comment out the following lines inside init function: f_config.acceptance_code = acceptance_code; f_config.acceptance_mask = acceptance_mask; f_config.single_filter = true;

4dri4anxD avatar Jun 05 '24 19:06 4dri4anxD