I am trying to working with Ardupilot and interface it with ROS2, I have followed all the instructions mentioned on:
but unfortunate i am unable to get any topics published in ROS2 , I have tried many different approaches but nothing seems to work. I am working with Ardupilot version 4.6 and ROS 2 Humble. I have also tried to follow all the steps mentioned on the website:
but i get this error:
186 | cdr.deserializeArray(array_ptr, size);
| ^~~~~~~~~~~~~~~~
| deserialize_array
gmake[2]: *** [CMakeFiles/ardupilot_msgs__rosidl_typesupport_fastrtps_c.dir/build.make:223: CMakeFiles/ardupilot_msgs__rosidl_typesupport_fastrtps_c.dir/rosidl_typesupport_fastrtps_c/ardupilot_msgs/msg/detail/status__type_support_c.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:239: CMakeFiles/ardupilot_msgs__rosidl_typesupport_fastrtps_c.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
I am really confused, any help will be greatly appreciated. Thanks