Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i am using a raspberry pi. My robot needs to be controlled from a website that can both send information and receive it without constantly
i am using a raspberry pi. My robot needs to be controlled from a website that can both send information and receive it without constantly refreshing the page. The robot also has to take this information and use it to calculate its current position a lot like how dead reckoning works. The robot has two motors with four ultrasonic sensors covering the front, back, and sides of the robot. It also has 2 servos that control the turning and the panning/tilting of the camera. Later on I may add more sensors like an accelerate and gyroscope to help with the dead reckoning.
The way I see this going is to have a website where you can use was to move the robot, arrow keys to move the bot and buttons or a slider to control speed. I want 1 website that lets you control the robot, another should do the same while also giving you the readings of the ultrasonic sensors and its position, and the last one you should be able to input a destination that the robot will go to. Then the raspberry pi would receive the information from the website and then move the robot while also using the ultrasonic sensors to avoid obstacles and calculating its position.
How can I go about this?
The way I see this going is to have a website where you can use was to move the robot, arrow keys to move the bot and buttons or a slider to control speed. I want 1 website that lets you control the robot, another should do the same while also giving you the readings of the ultrasonic sensors and its position, and the last one you should be able to input a destination that the robot will go to. Then the raspberry pi would receive the information from the website and then move the robot while also using the ultrasonic sensors to avoid obstacles and calculating its position.
How can I go about this?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started