-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update IDL-Parser #74
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Pablo Garrido <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change to support user-defined array sizes works great!
@pablogs9, there may be an issue with this change which I had not picked up when using on macOS. When using the Loading templates...
Processing the file /Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/BatteryState.idl...
Generating Type definition files...
Adding dependency project /Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/Header.idl
Processing the file /Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/Header.idl...
clang: error: no such file or directory: '/Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/Header.idl'
clang: error: no input files
ERROR<callPreprocessor>: Preprocessor return an error 1
Adding dependency project /Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/Time.idl
Processing the file /Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/Time.idl...
clang: error: no such file or directory: '/Users/rhys/Code/ros2/humble/ros2-ardupilot/src/ardupilot/libraries/AP_DDS/Idl/sensor_msgs/msg/Time.idl'
clang: error: no input files
ERROR<callPreprocessor>: Preprocessor return an error 1 |
Could you provide instructions for replicating your issue @srmainwaring ? |
The message was obtained when building ArduPilot ( ./waf configure --board sitl --enable-dds
./waf build On macOS the errors are raised but the build continues. On the Ubuntu 22.04.03 arm64 server (docker) I was using to cross compile for RPi4. the build errors cause the build to fail. |
@srmainwaring check 8bf8689, also you will need to add the root include path of your IDLs folder using using the argument |
@pablogs9 - thanks for the patch. It has fixed the issue as far as I can tell. The attached archive contains two docker files I used for testing in addition to running on macOS. The first is a base image, the second builds ArduPilot with DDS and applies the patch to the |
Test submodule Move IDL test cases Update modules
No description provided.