Error: struct rc_input_values has no member named timestamp

Hi.

I’m compiling on an Ubuntu 12.04 system which has been created following the instructions on dev.ardupilot.com. I’m fairly sure things are set-up correctly.

I’m trying to make arducopter 3.1.2 and getting…

libraries/AP_HAL_PX4/RCInput.cpp:26:24: error: ‘struct rc_input_values’ has no member named ‘timestamp’

Some help would be appreciated.

Thanks in advance.

Got the same error.
The problem is inconsistent versions/branches of ardupilot and PX4Firmware. This can be checked by git branch. In your case you need to use ArduCopter-3.1.2 branch in both projects.