ArduRemoteID
ArduRemoteID copied to clipboard
Cannot view parameters
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:
- Build (for a ESP32-C3 device) and upload the ArduRemoteID firmware v1.14
- Connect the RID module to a CubeOrange (loaded with ardupilot ODID firmware, above v4.5.0) via CAN
- Enable CAN interface on CubeOrange as suggested
- Reboot flight controller and connect to mission planner
- 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;