You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install RotorS on my Ubuntu20.04+Ros noetic full desktop version. I have faced this issue for two weeks. It looks like it's about mavlink_status_t but I have absolutely no idea how to fix it.
Bug report (just a part):
"
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2858,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_debug.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_debug.h:188:97: error: ‘mavlink_status_t’ has not been declared
188 | static inline uint16_t mavlink_msg_debug_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_* _status, mavlink_message_t* msg, const mavlink_debug_t* debug)
| ^~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2859,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h:95:103: error: ‘mavlink_status_t’ has not been declared
95 | static inline uint16_t mavlink_msg_setup_signing_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h: In function ‘uint16_t mavlink_msg_setup_signing_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, const uint8_t*, uint64_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h:116:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
116 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_SETUP_SIGNING_MIN_LEN, MAVLINK_MSG_ID_SETUP_SIGNING_LEN, MAVLINK_MSG_ID_SETUP_SIGNING_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2859,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h:194:105: error: ‘mavlink_status_t’ has not been declared
194 | static inline uint16_t mavlink_msg_setup_signing_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_setup_signing_t* setup_signing)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2860,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h:90:103: error: ‘mavlink_status_t’ has not been declared
90 | static inline uint16_t mavlink_msg_button_change_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h: In function ‘uint16_t mavlink_msg_button_change_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint32_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h:111:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
111 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_BUTTON_CHANGE_MIN_LEN, MAVLINK_MSG_ID_BUTTON_CHANGE_LEN, MAVLINK_MSG_ID_BUTTON_CHANGE_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2860,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h:188:105: error: ‘mavlink_status_t’ has not been declared
188 | static inline uint16_t mavlink_msg_button_change_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_button_change_t* button_change)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2861,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h:96:99: error: ‘mavlink_status_t’ has not been declared
96 | static inline uint16_t mavlink_msg_play_tune_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h: In function ‘uint16_t mavlink_msg_play_tune_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, const char*, const char*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h:117:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
117 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_PLAY_TUNE_MIN_LEN, MAVLINK_MSG_ID_PLAY_TUNE_LEN, MAVLINK_MSG_ID_PLAY_TUNE_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2861,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h:195:101: error: ‘mavlink_status_t’ has not been declared
195 | static inline uint16_t mavlink_msg_play_tune_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_play_tune_t* play_tune)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2862,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h:174:108: error: ‘mavlink_status_t’ has not been declared
174 | static inline uint16_t mavlink_msg_camera_information_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2862,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h: In function ‘uint16_t mavlink_msg_camera_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, const uint8_t*, const uint8_t*, uint32_t, float, float, float, uint16_t, uint16_t, uint8_t, uint32_t, uint16_t, const char*, uint8_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h:217:74: error: cannot convert ‘int*’ to mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
217 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_CAMERA_INFORMATION_LEN, MAVLINK_MSG_ID_CAMERA_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2862,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h:328:110: error: ‘mavlink_status_t’ has not been declared
328 | static inline uint16_t mavlink_msg_camera_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_information_t* camera_information)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2863,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h:104:105: error: ‘mavlink_status_t’ has not been declared
104 | static inline uint16_t mavlink_msg_camera_settings_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h: In function ‘uint16_t mavlink_msg_camera_settings_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint8_t, float, float, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h:129:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
129 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_SETTINGS_MIN_LEN, MAVLINK_MSG_ID_CAMERA_SETTINGS_LEN, MAVLINK_MSG_ID_CAMERA_SETTINGS_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2863,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h:212:107: error: ‘mavlink_status_t’ has not been declared
212 | static inline uint16_t mavlink_msg_camera_settings_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_settings_t* camera_settings)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2864,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h:160:109: error: ‘mavlink_status_t’ has not been declared
160 | static inline uint16_t mavlink_msg_storage_information_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h: In function ‘uint16_t mavlink_msg_storage_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint8_t, uint8_t, uint8_t, float, float, float, float, float, uint8_t, const char*, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h:197:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
197 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_STORAGE_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_STORAGE_INFORMATION_LEN, MAVLINK_MSG_ID_STORAGE_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2864,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h:302:111: error: ‘mavlink_status_t’ has not been declared
302 | static inline uint16_t mavlink_msg_storage_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_storage_information_t* storage_information)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2865,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h:125:111: error: ‘mavlink_status_t’ has not been declared
125 | static inline uint16_t mavlink_msg_camera_capture_status_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h: In function ‘uint16_t mavlink_msg_camera_capture_status_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint8_t, uint8_t, float, uint32_t, float, int32_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h:156:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
156 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_CAPTURE_STATUS_MIN_LEN, MAVLINK_MSG_ID_CAMERA_CAPTURE_STATUS_LEN, MAVLINK_MSG_ID_CAMERA_CAPTURE_STATUS_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2865,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h:248:113: error: ‘mavlink_status_t’ has not been declared
248 | static inline uint16_t mavlink_msg_camera_capture_status_encode_status(uint8_t system_id, uint8_t component_id,mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_capture_status_t* camera_capture_status)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2866,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h:145:111: error: ‘mavlink_status_t’ has not been declared
145 | static inline uint16_t mavlink_msg_camera_image_captured_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h: In function ‘uint16_t mavlink_msg_camera_image_captured_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint64_t, uint8_t, int32_t, int32_t, int32_t, int32_t, const float*, int32_t, int8_t, const char*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h:180:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
180 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_IMAGE_CAPTURED_MIN_LEN, MAVLINK_MSG_ID_CAMERA_IMAGE_CAPTURED_LEN, MAVLINK_MSG_ID_CAMERA_IMAGE_CAPTURED_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2866,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h:279:113: error: ‘mavlink_status_t’ has not been declared
279 | static inline uint16_t mavlink_msg_camera_image_captured_encode_status(uint8_t system_id, uint8_t component_id,mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_image_captured_t* camera_image_captured)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2867,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h:104:108: error: ‘mavlink_status_t’ has not been declared
104 | static inline uint16_t mavlink_msg_flight_information_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h: In function ‘uint16_t mavlink_msg_flight_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint64_t, uint64_t, uint64_t, uint32_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h:129:74: error: cannot convert ‘int*’ to mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
129 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_FLIGHT_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_FLIGHT_INFORMATION_LEN, MAVLINK_MSG_ID_FLIGHT_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2867,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h:212:110: error: ‘mavlink_status_t’ has not been declared
212 | static inline uint16_t mavlink_msg_flight_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_flight_information_t* flight_information)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2868,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h:104:107: error: ‘mavlink_status_t’ has not been declared
104 | static inline uint16_t mavlink_msg_mount_orientation_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h: In function ‘uint16_t mavlink_msg_mount_orientation_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, float, float, float, float)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h:129:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
129 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_MOUNT_ORIENTATION_MIN_LEN, MAVLINK_MSG_ID_MOUNT_ORIENTATION_LEN, MAVLINK_MSG_ID_MOUNT_ORIENTATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2868,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h:212:109: error: ‘mavlink_status_t’ has not been declared
212 | static inline uint16_t mavlink_msg_mount_orientation_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_mount_orientation_t* mount_orientation)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2869,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h:109:102: error: ‘mavlink_status_t’ has not been declared
109 | static inline uint16_t mavlink_msg_logging_data_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h: In function ‘uint16_t mavlink_msg_logging_data_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint16_t, uint8_t, uint8_t, const uint8_t*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h:134:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
134 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_LOGGING_DATA_MIN_LEN, MAVLINK_MSG_ID_LOGGING_DATA_LEN, MAVLINK_MSG_ID_LOGGING_DATA_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2869,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h:218:104: error: ‘mavlink_status_t’ has not been declared
218 | static inline uint16_t mavlink_msg_logging_data_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_logging_data_t* logging_data)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2870,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h:109:108: error: ‘mavlink_status_t’ has not been declared
109 | static inline uint16_t mavlink_msg_logging_data_acked_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h: In function ‘uint16_t mavlink_msg_logging_data_acked_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint16_t, uint8_t, uint8_t, const uint8_t*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h:134:74: error: cannot convert ‘int*’ to mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
134 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_LOGGING_DATA_ACKED_MIN_LEN, MAVLINK_MSG_ID_LOGGING_DATA_ACKED_LEN, MAVLINK_MSG_ID_LOGGING_DATA_ACKED_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2870,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h:218:110: error: ‘mavlink_status_t’ has not been declared
218 | static inline uint16_t mavlink_msg_logging_data_acked_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_logging_data_acked_t* logging_data_acked)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2871,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h:90:101: error: ‘mavlink_status_t’ has not been declared
90 | static inline uint16_t mavlink_msg_logging_ack_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h: In function ‘uint16_t mavlink_msg_logging_ack_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint16_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h:111:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
111 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_LOGGING_ACK_MIN_LEN, MAVLINK_MSG_ID_LOGGING_ACK_LEN, MAVLINK_MSG_ID_LOGGING_ACK_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2871,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h:188:103: error: ‘mavlink_status_t’ has not been declared
188 | static inline uint16_t mavlink_msg_logging_ack_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_logging_ack_t* logging_ack)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2872,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h:166:114: error: ‘mavlink_status_t’ has not been declared
166 | static inline uint16_t mavlink_msg_video_stream_information_pack_status(uint8_t system_id, uint8_t component_id,
mavlink_status_t _status, mavlink_message_t msg,
|
^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h: In function ‘uint16_t mavlink_msg_video_stream_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint8_t, uint16_t, float, uint16_t, uint16_t, uint32_t, uint16_t, uint16_t, const char*, const char*, uint8_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h:207:74: error: cannot convert ‘int’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
207 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VIDEO_STREAM_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_INFORMATION_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2872,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h:315:116: error: ‘mavlink_status_t’ has not been declared
315 | static inline uint16_t mavlink_msg_video_stream_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_video_stream_information_t* video_stream_information)
|
^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2873,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h:132:109: error: ‘mavlink_status_t’ has not been declared
132 | static inline uint16_t mavlink_msg_video_stream_status_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h: In function ‘uint16_t mavlink_msg_video_stream_status_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint16_t, float, uint16_t, uint16_t, uint32_t, uint16_t, uint16_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h:165:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
165 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VIDEO_STREAM_STATUS_MIN_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_STATUS_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_STATUS_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2873,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h:260:111: error: ‘mavlink_status_t’ has not been declared
260 | static inline uint16_t mavlink_msg_video_stream_status_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_video_stream_status_t* video_stream_status)
"
Any suggestions would be highly appreciated.
The text was updated successfully, but these errors were encountered:
Same exact issue. Recently had to clean my catkin workspace, and while rebuilding, im getting this exact same issue. Same environment as well. Any suggestions?
Failed << rotors_hil_interface:make [ Exited with code 2 ]
Failed <<< rotors_hil_interface
That worked! Just for info, how exactly did you come across that specific solution? I know that the error says mavlink status hasn't been declared, but how did you know to specifically add this into that specific file and not somewhere else?
I am trying to install RotorS on my Ubuntu20.04+Ros noetic full desktop version. I have faced this issue for two weeks. It looks like it's about mavlink_status_t but I have absolutely no idea how to fix it.
Bug report (just a part):
"
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2858,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_debug.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_debug.h:188:97: error: ‘mavlink_status_t’ has not been declared
188 | static inline uint16_t mavlink_msg_debug_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_* _status, mavlink_message_t* msg, const mavlink_debug_t* debug)
| ^~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2859,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h:95:103: error: ‘mavlink_status_t’ has not been declared
95 | static inline uint16_t mavlink_msg_setup_signing_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h: In function ‘uint16_t mavlink_msg_setup_signing_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, const uint8_t*, uint64_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h:116:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
116 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_SETUP_SIGNING_MIN_LEN, MAVLINK_MSG_ID_SETUP_SIGNING_LEN, MAVLINK_MSG_ID_SETUP_SIGNING_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2859,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_setup_signing.h:194:105: error: ‘mavlink_status_t’ has not been declared
194 | static inline uint16_t mavlink_msg_setup_signing_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_setup_signing_t* setup_signing)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2860,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h:90:103: error: ‘mavlink_status_t’ has not been declared
90 | static inline uint16_t mavlink_msg_button_change_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h: In function ‘uint16_t mavlink_msg_button_change_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint32_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h:111:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
111 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_BUTTON_CHANGE_MIN_LEN, MAVLINK_MSG_ID_BUTTON_CHANGE_LEN, MAVLINK_MSG_ID_BUTTON_CHANGE_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2860,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_button_change.h:188:105: error: ‘mavlink_status_t’ has not been declared
188 | static inline uint16_t mavlink_msg_button_change_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_button_change_t* button_change)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2861,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h:96:99: error: ‘mavlink_status_t’ has not been declared
96 | static inline uint16_t mavlink_msg_play_tune_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h: In function ‘uint16_t mavlink_msg_play_tune_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, const char*, const char*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h:117:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
117 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_PLAY_TUNE_MIN_LEN, MAVLINK_MSG_ID_PLAY_TUNE_LEN, MAVLINK_MSG_ID_PLAY_TUNE_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2861,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_play_tune.h:195:101: error: ‘mavlink_status_t’ has not been declared
195 | static inline uint16_t mavlink_msg_play_tune_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_play_tune_t* play_tune)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2862,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h:174:108: error: ‘mavlink_status_t’ has not been declared
174 | static inline uint16_t mavlink_msg_camera_information_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2862,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h: In function ‘uint16_t mavlink_msg_camera_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, const uint8_t*, const uint8_t*, uint32_t, float, float, float, uint16_t, uint16_t, uint8_t, uint32_t, uint16_t, const char*, uint8_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h:217:74: error: cannot convert ‘int*’ to mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
217 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_CAMERA_INFORMATION_LEN, MAVLINK_MSG_ID_CAMERA_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2862,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_information.h:328:110: error: ‘mavlink_status_t’ has not been declared
328 | static inline uint16_t mavlink_msg_camera_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_information_t* camera_information)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2863,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h:104:105: error: ‘mavlink_status_t’ has not been declared
104 | static inline uint16_t mavlink_msg_camera_settings_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h: In function ‘uint16_t mavlink_msg_camera_settings_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint8_t, float, float, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h:129:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
129 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_SETTINGS_MIN_LEN, MAVLINK_MSG_ID_CAMERA_SETTINGS_LEN, MAVLINK_MSG_ID_CAMERA_SETTINGS_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2863,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_settings.h:212:107: error: ‘mavlink_status_t’ has not been declared
212 | static inline uint16_t mavlink_msg_camera_settings_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_settings_t* camera_settings)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2864,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h:160:109: error: ‘mavlink_status_t’ has not been declared
160 | static inline uint16_t mavlink_msg_storage_information_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h: In function ‘uint16_t mavlink_msg_storage_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint8_t, uint8_t, uint8_t, float, float, float, float, float, uint8_t, const char*, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h:197:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
197 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_STORAGE_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_STORAGE_INFORMATION_LEN, MAVLINK_MSG_ID_STORAGE_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2864,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_storage_information.h:302:111: error: ‘mavlink_status_t’ has not been declared
302 | static inline uint16_t mavlink_msg_storage_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_storage_information_t* storage_information)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2865,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h:125:111: error: ‘mavlink_status_t’ has not been declared
125 | static inline uint16_t mavlink_msg_camera_capture_status_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h: In function ‘uint16_t mavlink_msg_camera_capture_status_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint8_t, uint8_t, float, uint32_t, float, int32_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h:156:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
156 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_CAPTURE_STATUS_MIN_LEN, MAVLINK_MSG_ID_CAMERA_CAPTURE_STATUS_LEN, MAVLINK_MSG_ID_CAMERA_CAPTURE_STATUS_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2865,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_capture_status.h:248:113: error: ‘mavlink_status_t’ has not been declared
248 | static inline uint16_t mavlink_msg_camera_capture_status_encode_status(uint8_t system_id, uint8_t component_id,mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_capture_status_t* camera_capture_status)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2866,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h:145:111: error: ‘mavlink_status_t’ has not been declared
145 | static inline uint16_t mavlink_msg_camera_image_captured_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h: In function ‘uint16_t mavlink_msg_camera_image_captured_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint64_t, uint8_t, int32_t, int32_t, int32_t, int32_t, const float*, int32_t, int8_t, const char*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h:180:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
180 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_CAMERA_IMAGE_CAPTURED_MIN_LEN, MAVLINK_MSG_ID_CAMERA_IMAGE_CAPTURED_LEN, MAVLINK_MSG_ID_CAMERA_IMAGE_CAPTURED_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2866,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_camera_image_captured.h:279:113: error: ‘mavlink_status_t’ has not been declared
279 | static inline uint16_t mavlink_msg_camera_image_captured_encode_status(uint8_t system_id, uint8_t component_id,mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_camera_image_captured_t* camera_image_captured)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2867,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h:104:108: error: ‘mavlink_status_t’ has not been declared
104 | static inline uint16_t mavlink_msg_flight_information_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h: In function ‘uint16_t mavlink_msg_flight_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, uint64_t, uint64_t, uint64_t, uint32_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h:129:74: error: cannot convert ‘int*’ to mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
129 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_FLIGHT_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_FLIGHT_INFORMATION_LEN, MAVLINK_MSG_ID_FLIGHT_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2867,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_flight_information.h:212:110: error: ‘mavlink_status_t’ has not been declared
212 | static inline uint16_t mavlink_msg_flight_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_flight_information_t* flight_information)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2868,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h:104:107: error: ‘mavlink_status_t’ has not been declared
104 | static inline uint16_t mavlink_msg_mount_orientation_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h: In function ‘uint16_t mavlink_msg_mount_orientation_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint32_t, float, float, float, float)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h:129:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
129 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_MOUNT_ORIENTATION_MIN_LEN, MAVLINK_MSG_ID_MOUNT_ORIENTATION_LEN, MAVLINK_MSG_ID_MOUNT_ORIENTATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2868,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_mount_orientation.h:212:109: error: ‘mavlink_status_t’ has not been declared
212 | static inline uint16_t mavlink_msg_mount_orientation_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_mount_orientation_t* mount_orientation)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2869,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h:109:102: error: ‘mavlink_status_t’ has not been declared
109 | static inline uint16_t mavlink_msg_logging_data_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h: In function ‘uint16_t mavlink_msg_logging_data_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint16_t, uint8_t, uint8_t, const uint8_t*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h:134:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
134 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_LOGGING_DATA_MIN_LEN, MAVLINK_MSG_ID_LOGGING_DATA_LEN, MAVLINK_MSG_ID_LOGGING_DATA_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2869,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data.h:218:104: error: ‘mavlink_status_t’ has not been declared
218 | static inline uint16_t mavlink_msg_logging_data_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_logging_data_t* logging_data)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2870,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h:109:108: error: ‘mavlink_status_t’ has not been declared
109 | static inline uint16_t mavlink_msg_logging_data_acked_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h: In function ‘uint16_t mavlink_msg_logging_data_acked_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint16_t, uint8_t, uint8_t, const uint8_t*)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h:134:74: error: cannot convert ‘int*’ to mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
134 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_LOGGING_DATA_ACKED_MIN_LEN, MAVLINK_MSG_ID_LOGGING_DATA_ACKED_LEN, MAVLINK_MSG_ID_LOGGING_DATA_ACKED_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2870,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_data_acked.h:218:110: error: ‘mavlink_status_t’ has not been declared
218 | static inline uint16_t mavlink_msg_logging_data_acked_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_logging_data_acked_t* logging_data_acked)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2871,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h:90:101: error: ‘mavlink_status_t’ has not been declared
90 | static inline uint16_t mavlink_msg_logging_ack_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h: In function ‘uint16_t mavlink_msg_logging_ack_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint16_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h:111:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
111 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_LOGGING_ACK_MIN_LEN, MAVLINK_MSG_ID_LOGGING_ACK_LEN, MAVLINK_MSG_ID_LOGGING_ACK_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2871,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_logging_ack.h:188:103: error: ‘mavlink_status_t’ has not been declared
188 | static inline uint16_t mavlink_msg_logging_ack_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_logging_ack_t* logging_ack)
| ^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2872,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h:166:114: error: ‘mavlink_status_t’ has not been declared
166 | static inline uint16_t mavlink_msg_video_stream_information_pack_status(uint8_t system_id, uint8_t component_id,
mavlink_status_t _status, mavlink_message_t msg,
|
^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h: In function ‘uint16_t mavlink_msg_video_stream_information_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint8_t, uint8_t, uint16_t, float, uint16_t, uint16_t, uint32_t, uint16_t, uint16_t, const char*, const char*, uint8_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h:207:74: error: cannot convert ‘int’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
207 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VIDEO_STREAM_INFORMATION_MIN_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_INFORMATION_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_INFORMATION_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2872,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_information.h:315:116: error: ‘mavlink_status_t’ has not been declared
315 | static inline uint16_t mavlink_msg_video_stream_information_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_video_stream_information_t* video_stream_information)
|
^~~~~~~~~~~~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2873,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h:132:109: error: ‘mavlink_status_t’ has not been declared
132 | static inline uint16_t mavlink_msg_video_stream_status_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t _status, mavlink_message_t msg,
| ^~~~~~~~~~~~~~~~
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h: In function ‘uint16_t mavlink_msg_video_stream_status_pack_status(uint8_t, uint8_t, int*, mavlink_message_t*, uint8_t, uint16_t, float, uint16_t, uint16_t, uint32_t, uint16_t, uint16_t, uint8_t)’:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h:165:74: error: cannot convert ‘int*’ to ‘mavlink::mavlink_status_t*’ {aka ‘mavlink::__mavlink_status*’}
165 | return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VIDEO_STREAM_STATUS_MIN_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_STATUS_LEN, MAVLINK_MSG_ID_VIDEO_STREAM_STATUS_CRC);
| ^~~~~~~
| |
| int*
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/../message.hpp:33,
from /opt/ros/noetic/include/mavlink/v2.0/common/common.hpp:16,
from /home/ros20/Mavros_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:26,
from /home/ros20/Mavros_ws/src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:18,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:23,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/../mavlink_helpers.h:224:31: note: initializing argument 4 of ‘uint16_t mavlink::mavlink_finalize_message_buffer(mavlink::mavlink_message_t*, uint8_t, uint8_t, mavlink::mavlink_status_t*, uint8_t, uint8_t, uint8_t)’
224 | mavlink_status_t* status, uint8_t min_length, uint8_t length, uint8_t crc_extra)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /opt/ros/noetic/include/mavlink/v2.0/common/common.h:2873,
from /opt/ros/noetic/include/mavlink/v2.0/common/mavlink.h:32,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/include/rotors_hil_interface/hil_interface.h:27,
from /home/ros20/RotorS/src/rotors_simulator/rotors_hil_interface/src/hil_sensor_level_interface.cpp:1:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h: At global scope:
/opt/ros/noetic/include/mavlink/v2.0/common/./mavlink_msg_video_stream_status.h:260:111: error: ‘mavlink_status_t’ has not been declared
260 | static inline uint16_t mavlink_msg_video_stream_status_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_video_stream_status_t* video_stream_status)
"
Any suggestions would be highly appreciated.
The text was updated successfully, but these errors were encountered: