ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

uPrizZ's profile - activity

2022-03-31 06:53:02 -0500 received badge  Famous Question (source)
2021-05-30 23:16:04 -0500 received badge  Self-Learner (source)
2021-05-30 23:16:04 -0500 received badge  Teacher (source)
2021-05-10 13:08:04 -0500 received badge  Student (source)
2020-04-10 07:08:11 -0500 received badge  Notable Question (source)
2020-04-10 07:08:11 -0500 received badge  Famous Question (source)
2020-04-10 07:08:11 -0500 received badge  Popular Question (source)
2019-12-11 02:17:19 -0500 received badge  Famous Question (source)
2019-11-13 13:46:24 -0500 received badge  Notable Question (source)
2019-07-17 05:49:40 -0500 received badge  Famous Question (source)
2019-07-17 05:49:40 -0500 received badge  Notable Question (source)
2019-06-25 13:56:06 -0500 received badge  Notable Question (source)
2019-04-19 17:45:09 -0500 received badge  Famous Question (source)
2019-03-14 13:48:15 -0500 received badge  Popular Question (source)
2019-03-14 10:09:39 -0500 commented question How to run a package from .exe instead of "ros2 run"? (or: What exactly does ros2 run do?)

@gvdhoorn: Could you tell me how there are "no manual steps needed"? If I try to start the demo_nodes_cpp - talker/publi

2019-03-14 10:07:02 -0500 commented question How to run a package from .exe instead of "ros2 run"? (or: What exactly does ros2 run do?)

@gvdhoorn: Could you tell me how there are "no manual steps needed"? If I try to start the demo_nodes_cpp - talker/publi

2019-03-14 07:51:12 -0500 edited question Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build

2019-03-14 07:44:41 -0500 edited answer Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

Answer was to change some entries in the CMakeLists.txt. Here is what I changed: I removed this part (which was unneces

2019-03-14 07:42:18 -0500 commented question Package 'urdf' exports the library 'urdf' which couldn't be found

Btw I was still unable to setup a symlink-install workspace. Instead I am currently building projects in my --merge-inst

2019-03-14 07:37:28 -0500 marked best answer Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

Hey folks,

I have the strange issue, that (only sometimes!) colcon build Fails with the above stated error. This is no strerr output though, I got it from stdout_sterr.log ! (otherwise it only Fails to build with Code 1, no error message).

What is strange is, that sometimes it will build, and then without even changing the source code or anything it will succeed the next time. Does someone know what can cause this? Btw, "ros2gui" is my own package that I created…

Do I need to delete anything before building, to get a "clean" environment and update everything properly?

2019-03-14 07:37:23 -0500 answered a question Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

Answer was to change some entries in the CMakeLists.txt. Here is what I changed: I removed this part (which was unneces

2019-03-13 10:18:39 -0500 commented question How to run a package from .exe instead of "ros2 run"? (or: What exactly does ros2 run do?)

Well, when I build my project, it creates an Executable in "install/Lib/<project>" which perfectly runs with "ros2

2019-03-13 10:18:26 -0500 commented question How to run a package from .exe instead of "ros2 run"? (or: What exactly does ros2 run do?)

Well, when I build my project, it creates an Executable in "install/Lib/<project>" which perfectly runs with by "r

2019-03-13 10:18:26 -0500 received badge  Commentator
2019-03-13 07:00:28 -0500 edited question How to run a package from .exe instead of "ros2 run"? (or: What exactly does ros2 run do?)

How to run a package from .exe instead of "ros2 run"? Hey guys, I am trying to run a package from it's compiled .exe fi

2019-03-13 06:57:47 -0500 asked a question How to run a package from .exe instead of "ros2 run"? (or: What exactly does ros2 run do?)

How to run a package from .exe instead of "ros2 run"? Hey guys, I am trying to run a package from it's compiled .exe fi

2019-03-11 20:45:43 -0500 commented question Can I use a (more simplistic) compiler like MinGW to build ROS2(-packages)? What exactly does colcon do?

I will first try my luck with finding the necessary libs. Maybe, during that process, I will convince myself to use plai

2019-03-11 14:26:06 -0500 commented question Can I use a (more simplistic) compiler like MinGW to build ROS2(-packages)? What exactly does colcon do?

Why though? Setting up a basic publisher and subscriber is (code-wise) much easier by using ROS2 than using DDS directy.

2019-03-11 14:19:50 -0500 received badge  Popular Question (source)
2019-03-10 19:52:05 -0500 received badge  Popular Question (source)
2019-03-10 19:50:52 -0500 asked a question Can I use a (more simplistic) compiler like MinGW to build ROS2(-packages)? What exactly does colcon do?

Can I use a (more simplistic) compiler like MinGW to build ROS2(-packages)? What exactly does colcon do? Hello! I am lo

2019-03-02 04:57:02 -0500 edited question Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build

2019-03-02 04:51:07 -0500 edited question Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build

2019-03-02 04:49:39 -0500 asked a question Qt5 & ROS: colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build\ros2gui\publisher.vcxproj]"

colcon build sometimes fails with "File (source) cannot be opened: "set""": No such file or directory [C:\dev\ros2\build

2019-03-02 04:44:54 -0500 received badge  Enthusiast
2019-03-01 15:45:58 -0500 marked best answer Could not find or load the Qt platform plugin "windows" in ""

I am trying to build a Qt5 Widget application as a ROS2 package with colcon. After following this tutorial (only that I am using a Widget application instead of a quick app), I finally was able to compile the package, but I cannot run it because I get the following output:

c:\dev\ros2>ros2 run plainwidget plainwidget
This application failed to start because it could not find or load the Qt platform plugin "windows"
in "".

Reinstalling the application may fix this problem.

I am using a custom package.xml and CMakeLists.txt as follows:

<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
    <name>plainwidget</name>
    <version>1.0.0</version>
    <description>
        Demo zum colcon builden eines Qt5 GUIs
    </description>
    <maintainer email="...@...">...</maintainer>
    <license>Apache License 2.0</license>

    <buildtool_depend>ament_cmake</buildtool_depend>

    <build_depend>rclcpp</build_depend>
    <build_depend>std_msgs</build_depend>
    <build_depend>qtbase5-dev</build_depend>
    <build_depend>qt5-qmake</build_depend>

    <exec_depend>libqt5-core</exec_depend>
    <exec_depend>rclcpp</exec_depend>
    <exec_depend>std_msgs</exec_depend>

    <export>
        <build_type>ament_cmake</build_type>
    </export>
</package>

...

cmake_minimum_required(VERSION 3.5)
project(plainwidget)

set (CMAKE_CXX_STANDARD 14)
if(NOT WIN32)
 set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Wextra -fPIC”)
endif()
IF (NOT DEFINED BUILD_VERSION)
 SET(BUILD_VERSION “not set”)
ENDIF()

ADD_DEFINITIONS(-DBUILD_VERSION=”${BUILD_VERSION}”)

find_package(ament_cmake REQUIRED)
find_package(example_interfaces REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rcutils)
find_package(rmw REQUIRED)
find_package(std_msgs REQUIRED)
find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

include_directories(
    ${rclcpp_INCLUDE_DIRS}
    ${std_msgs_INCLUDE_DIRS}
    ${Qt5Core_INCLUDE_DIRS}
    ${Qt5Gui_INCLUDE_DIRS}
    ${Qt5Widgets_INCLUDE_DIRS}
)

include_directories(src)
set(SOURCE_FILES
    src/main.cpp
    src/maingui.cpp
)

add_executable(${PROJECT_NAME} ${SOURCE_FILES})

ament_target_dependencies(${PROJECT_NAME}
    "example_interfaces"
     "rclcpp"
     "rcutils"
     "std_msgs"
 )

target_link_libraries(${PROJECT_NAME}
 Qt5::Core
 Qt5::Gui
 Qt5::Widgets
 )

install(TARGETS ${PROJECT_NAME} DESTINATION lib/${PROJECT_NAME})

ament_package()

Maybe it has something to do with the entries under <build_depend> and <exec_depend>? I just took them out of the tutorial which is over 8 months old, so maybe something is outdated here. Where do I get the correct dependencies from which I Need to put into package.xml?

2019-03-01 15:45:58 -0500 received badge  Scholar (source)
2019-03-01 15:14:32 -0500 answered a question Could not find or load the Qt platform plugin "windows" in ""

Answer was to make use of Qt5's windeployqt feature. Setup cmd to find windeployqt (i.e. extend PATH by your Qt5 path) a

2019-02-28 09:59:54 -0500 edited question Could not find or load the Qt platform plugin "windows" in ""

Could not find or load the Qt platform plugin "windows" in "" I am trying to build a Qt5 Widget application as a ROS2 pa

2019-02-28 09:58:42 -0500 asked a question Could not find or load the Qt platform plugin "windows" in ""

Could not find or load the Qt platform plugin "windows" in "" I am trying to build a Qt5 Widget application as a ROS2 pa

2019-02-28 09:24:02 -0500 commented question colcon build "Exited with code 1" - no error output

Last few - I think - relevant lines of logger_all.log

2019-02-28 09:16:05 -0500 commented question colcon build "Exited with code 1" - no error output

so I checked the logger_all.log file and it contains over 3000 lines of text. I don't know but how am I supposed to get

2019-02-28 08:58:16 -0500 edited question colcon build "Exited with code 1" - no error output

colcon build "Exited with code 1" - no error output Hi Folks, A Little sidenote: I am still trying to set up a workspace

2019-02-28 08:54:42 -0500 edited question colcon build "Exited with code 1" - no error output

colcon build fails with code 1 - no error output Hi Folks, I am still trying to set up a Workspace with symlink install

2019-02-28 08:54:42 -0500 received badge  Editor (source)
2019-02-28 08:53:46 -0500 asked a question colcon build "Exited with code 1" - no error output

colcon build fails with code 1 - no error output Hi Folks, I am still trying to set up a Workspace with symlink install