Regarding the IR sensor, you can rotate it 180 deg to avoid the excess wire hanging out by a little code modification. Under the IR tab:
Find the lines return constrain((int)(((infrared0-511)*90)/max_ir), -60,60);
return -constrain((int)(((infrared1-511)*90)/max_ir), -60,60);
Change the +/- values before "constrain" to
return -constrain((int)(((infrared0-511)*90)/max_ir), -60,60);
return constrain((int)(((infrared1-511)*90)/max_ir), -60,60);
Comments
Find the lines return constrain((int)(((infrared0-511)*90)/max_ir), -60,60);
return -constrain((int)(((infrared1-511)*90)/max_ir), -60,60);
Change the +/- values before "constrain" to
return -constrain((int)(((infrared0-511)*90)/max_ir), -60,60);
return constrain((int)(((infrared1-511)*90)/max_ir), -60,60);
Thanks.