How use values which get in ardino to OF?

arduino code:

#include <Wire.h>
#include <GY80.h>
GY80 sensor = GY80();

String xAxis = "pitch: ";
String yAxis = "roll: ";
String zAxis = "yaw: ";

float pitch;
float roll;
float yaw;

void setup(){
Serial.begin(9600);
sensor.begin();

}

void loop() {

GY80_scaled val = sensor.read_scaled();

pitch = atan2(val.a_y, val.a_z)*180/PI;

roll = -atan2(val.a_x, val.a_z)*180/PI;

yaw = atan2(val.m_y, val.m_x)*180/PI+180;

Serial.print(xAxis); Serial.print(pitch); Serial.print(" “);
Serial.print(yAxis); Serial.print(roll); Serial.print(” ");
Serial.print(zAxis); Serial.println(yaw, 0);
//Serial.print(pitch, 0); Serial.print(roll, 0); Serial.println(yaw, 0);

delay(50);
}

OF code:

#include “ofApp.h”

//--------------------------------------------------------------
void ofApp::setup() {

bSendSerialMessage = false;

serial.enumerateDevices();
			
int baud = 9600;
serial.setup("COM3", baud); 


nTimesRead = 0;
nBytesRead = 0;
readTime = 0;
memset(bytesReadString, 0, 4);

}

//--------------------------------------------------------------
void ofApp::update() {

serial.writeByte('a');

if (serial.available()) {
	unsigned char bytesReturned[10];

	memset(bytesReadString, 0, 3);
	memset(bytesReturned, 0, 10);

	// This reads the data now that arduino is sending a response,     
	serial.readBytes(bytesReturned, 4);
	string serialData = (char*)bytesReturned;
	
	int a = ofToInt(serialData);
	int b = ofToInt(serialData);
	int c = ofToInt(serialData);
	
	cout << "pitch : " << a << endl;
	cout << "roll : " << b << endl;
	cout << "yaw : " << c << endl;
		
}

}

I want to get and use each value(pitch, roll, yaw) in OF.
I think int a = ofToInt(serialData);
int b = ofToInt(serialData);
int c = ofToInt(serialData);

	cout << "pitch : " << a << endl;
	cout << "roll : " << b << endl;
	cout << "yaw : " << c << endl;

is problem…

Maybe i separate serialdata ilike this
int a = ofToInt(pitch); int b = ofToInt(roll); int c = ofToInt(yaw);
but it is wrong…

please help to solve this problem