ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
90 stars 45 forks source link

Cannot view parameters #144

Open 4dri4anxD opened 2 months ago

4dri4anxD commented 2 months ago

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;

jkordani commented 1 month ago

I have a similar problem, I am running hw 39.17 sw 1.14.16933E4

I can see the web interface and params there, but I can not see them from mission planner -> dronecan