Open Comor543 opened 3 months ago
Hi @Comor543, this is very likely and installation issue. Potentially you did not checkout the right commit when installing the PX4 SITL. I'd recommend try carefully the installation again and making extra sure you run:
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
cd PX4-Autopilot
git checkout cab477d71550558756509ad3a6ffcbebbbbf82b1
Thank you @MikeS96
Hello @MikeS96 and everyone. Would you mind helpping me, please? I was trying to build the Autonomous landing of a UAV on Ubuntu 20.04, which encountered below error. I went through Installation and environment configuration and everything was fine. However, when I executed
make px4_sitl gazebo
inPX4-Autopilot
directory, building was stopped by this error.I think these 3 are the errors
error: ‘struct sensor_gps_s’ has no member named ‘latitude_deg’
error: ‘struct sensor_gps_s’ has no member named ‘longitude_deg’
error: no matching function for call to ‘GPSDriverUBX::GPSDriverUBX(GPSHelper::Interface&, int (*)(GPSCallbackType, void*, int, void*), GPS*, sensor_gps_s*, satellite_info_s*&, int32_t&, float&, GPSDriverUBX::UBXMode&)’
Best Regards,