added print of roll and pitch values to the log pwm funtion