I have built the EV3 Gripper using the manual. I am programming an ev3 brick using ev3dev. I need to determine the angle/direction/orientation of the robot programmatically, before I can issue a command to grab the object. How can I get the orientation?
One way to do this I know is to use an external camera to find out what direction the bot is pointing to, I want to do it without the camera.