In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces how to install and use ROS IDE-RoboWare Studio. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
1. Installation:
Download the installation package from the official website http://www.roboware.me/#/ and install it normally.
two。 Configuration:
After installation, you will be prompted that git is not the latest version. Execute the following command to update to the latest version:
Sudo add-apt-repository ppa:git-core/ppa
3. Use:
3.1 basic course
1. Open roboware after installation, choose to create a new workspace or open the original workspace, because the system already has a previously established workspace, and the environment has been configured, so open catkin_ws directly here, as shown in the following figure, it can be seen that using IDE compared to programming directly under the terminal, the organizational structure of the file is clear at a glance, and you can avoid operations such as updating CMakeLists.txt when compiling, which is indeed a lot more convenient.
two。 Right-click the SRC folder under the workspace after creation, and create a new ROS package. Enter test std_msgs roscpp, the first is the name of package, and the last two are dependencies.
3. After building the ROS package, right-click the ROS package to add msg, srv and other folders, which will be used in the future
Here, create a new cpp file under the src folder and choose to add it to the new executable file after naming it.
4. Paste the following code to test:
# include "std_msgs/String.h"
Int main (int argc, char * * argv)
Ros::init (argc,argv, "example")
Ros::Publisher chatter_pub = n.advert
Ise ("message", 1000)
Chatter_pub.publish (msg)
5. Click the hammer in the upper left corner to run the selected build task or ctrl+shift+B to compile; 6. Click on the top menu bar ROS (maximize to see the menu bar), run roscore, of course, you can also run it in the terminal; then in the terminal that appears below, click the plus sign on the right to open a new terminal and run rosrun test hello
7. Use rostopic-related commands to view generated topics and output topic information:
On the installation and use of ROS IDE-RoboWare Studio is how to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.