Ask Your Question
1

How to make Gui for control center

asked 2020-06-04 14:59:40 -0600

Morgenstern gravatar image

Hello everyone,

I'm trying to learn ROS. I'm totally noob. I'm using Ubuntu 18.04 LTS and ROS Melodic Morenia.

My question is I'm trying to create a robot that can control from control center. Robot system is running with ROS i know that but can't figure out how will my computer communicate with the system. I saw some web gui s but i am curious about what if i want to communicate locally i mean maybe with usb to usb or with ethernet cable like host-client. How can i do that and which packages can help me in ROS.

Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2020-06-05 04:38:33 -0600

Weasfas gravatar image

Hi @Morgenstern,

As I see this, you have two problems:

  1. Set a communication between machines. Since ROS is a middleware it provides a full set of characteristics and functionalities that will allow you to stablish a communication between machines. While one of your machines runs the ROS Master you will be able to configure a communication between this machine and another one running ROS (in the same network).You can check this tutorial for more info about it. As for your question about local communication, you do not need to focus too much on that, since when you run your ROS master in your machine you will be able to communicate locally with it as the node uses the local IP of the machine that is running the master by default. Yo can learn more about this here and here.
  2. Generate a control GUI able to send commands to your other machine. There are several ways to do this, I will post here my approach and I am sure other members of this forum will be glad of posting other ones. To generate a GUI for ROS I generally prefer the QT enviroment, it is a great and easy tool to generate decent GUI with less effort. It will force you to learn how Qt works but I think it is a great way of doing what you want. You can check a ROS QT project here.
edit flag offensive delete link more
0

answered 2020-06-25 15:42:34 -0600

clark.jeria gravatar image

@Morgenstern you can also use an off-the-shelf tool. At Freedom Robotics we released an amazing teleoperation tool for ROS on the ROS Discourse forum. It works out of the box with ROS1 & ROS2 for controlling your robot from anywhere in the world. We love ROS and the ROS community and are doubling down by giving away our suite of teleop tools for free for one year.

Our Head of Robotics made a ROS Discourse post on it. And if this is useful you can also sign up to try it for free for a year.

Full disclaimer: I'm the head of product at Freedom Robotics, looking to get more eyes on the tool and capture feedback, especially now that we have a promotion of 1 robot for a year for free.

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

2 followers

Stats

Asked: 2020-06-04 14:59:40 -0600

Seen: 188 times

Last updated: Jun 05 '20