I am interested in accessing the individual IR sensor readings from the 3pi robot. I understand that there is a ‘read_line(**)’ function, but I followed it through the main file in ‘line-follower-pid.cproj’ files and several include files but ended up only finding the prototype for it.
Is there a way to access the mV for each individual sensor? I have tried printing out sensor, and sensor, but they give me 0 mV on the printout. Attached is a sample snippet from the code of interest in .png. ‘Test’.c’ contains the entire code.
Is the read_line() function definition not accessible?
test.c (7.8 KB)