Ask Your Question

How to control a physical robot using a web interface

asked 2020-04-20 04:17:42 -0600

saintdere gravatar image

updated 2020-04-20 04:19:22 -0600

I would like to know how I could control the movement of a physical robot using a web interface. For example, I have created a web interface with four movement buttons (front, back, left, right) but do not know how to connect that interface to the physical robot and control its movements. I have experience in controlling a simulated Turtlebot (in Gazebo) with the interface locally on my laptop using ROSBRIDGE and SimpleHTTPServer. Would I have to use these as well to control a physical robot?

I'm running ROS2 Crystal, Ubuntu 18.04. Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-20 21:34:42 -0600

hashirzahir gravatar image

Ya the concept is similar for simulated and real life robots. Just define your architecture and the UI should be able to convert some GUI based action to a ROS service or topic that will provide a goal for your robot. In your architecture, a low level controller or move_base can accept the goal given by your UI and move to that goal based on whatever control algorithm you have used.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-04-20 04:17:42 -0600

Seen: 340 times

Last updated: Apr 20 '20