使用Qt插件在Qt中进行ROS开发 - Something TO DO
使用Qt插件在Qt中进行ROS开发
Something TO DO
posted @ 2017年11月21日 09:47
in C++
, 1722 阅读
使用Qt开发ros的一些提示。
参考:https://ros-industrial.github.io/ros_qtc_plugin/_source/How-to-Install-Users.html
2,安装Qt和ros在qt下的插件
sudo add-apt-repository ppa:levi-armstrong/qt-libraries-xenial sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt update && sudo apt install qt59creator sudo apt install qt57creator-plugin-ros
3,可以导入工作空间
4,运行前需要在终端中运行roscore
5,运行节点需要修改左边栏的projects中的run
从而运行相应的节点。
6,从下边栏的上下选择按钮中调出ROS Terminals的输出框,可以显示节点运行结果
7,Qt-ROS的GUI开发界面
编译代码时出现/usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"错误
临时解决方法: 修改/usr/include/boost/type_traits/detail/has_binary_operator.hpp文件
namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) { .. }
改为
#ifndef Q_MOC_RUN namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) { #endif ... #ifndef Q_MOC_RUN } #endif
2022年7月22日 22:30
The best way to find out about famous people's net worth is searching for their name on idol net worth then click.
2022年8月22日 02:14
The Rajasthan Secondary Education Act of 1957 established the Board of Secondary Education, Rajasthan, which is often known by the abbreviation BSER. It was created with the goal of regulating and managing the educational system in the state of Rajasthan. Important Question Paper for BSER 11th in 2023, There are several public and private schools in Rajasthan that are associated with this board all of these schools operate under this board's supervision and are also governed by it. RBSE Plus One Previous Paper 2023 RBSE +1 Question Paper 2023 Raj Board Plus One Exam Paper Many students from this state took the class 11th exams this year as well, and they are all currently awaiting the BSER 11th results.