Closed zaidsasa closed 3 years ago
Interesting. Thanks for reporting. It's weird because the field on the uORB topic is correct - https://github.com/PX4/PX4-Autopilot/blob/master/msg/estimator_status_flags.msg#L43. So this might be something in the uORB to ROS msgs converter. I will take a look. In the mean time if it is blocking you, just change the msg field manually to snake_case (lower case in all letters).
@TSC21 Thank you for your help. and yes it seems the issue with the uORB to ROS msg converter.
Related File: https://github.com/PX4/px4_msgs/blob/19acde7e8ee2d483ce51643615fcfdee3cf65146/msg/EstimatorStatusFlags.msg#L43
Current parser output: bool fault_status_bad_Airspeed
Expected parser output: bool fault_status_bad_airspeed
Stack: openjdk version "11.0.9.1" 2020-11-04 OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04) OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode) [2.211s] WARNING:colcon.colcon_core.package_selection:ignoring unknown package 'ros1_bridge' in --packages-skip Starting >>> px4_msgs --- stderr: px4_msgs
CMake Error at /opt/ros/foxy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:60 (message): execute_process(/usr/bin/python3 -m rosidl_adapter --package-name px4_msgs --arguments-file /ROS/px4_ros_com_ros2/build/px4_msgs/rosidl_adapterargumentspx4_msgs.json --output-dir /ROS/px4_ros_com_ros2/build/px4_msgs/rosidl_adapter/px4_msgs --output-file /ROS/px4_ros_com_ros2/build/px4_msgs/rosidl_adapter/px4_msgs.idls) returned error code 1:
Error processing 'bool fault_status_bad_Airspeed' of 'px4_msgs/EstimatorStatusFlags': ''fault_status_bad_Airspeed' is an invalid field name. It should have the pattern '^(?!.__)(?!.$)[a-z][a-z0-9]*$''
Traceback (most recent call last):
NameError: 'fault_status_bad_Airspeed' is an invalid field name. It should have the pattern '^(?!.__)(?!.$)[a-z][a-z0-9]*$'
Call Stack (most recent call first): /opt/ros/foxy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:130 (rosidl_adapt_interfaces) CMakeLists.txt:44 (rosidl_generate_interfaces)
Failed <<< px4_msgs [23.1s, exited with code 1]
Summary: 0 packages finished [24.7s] 1 package failed: px4_msgs 1 package had stderr output: px4_msgs 1 package not processed