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

Andreas Ziegler's profile - activity

2023-08-14 06:49:57 -0500 received badge  Famous Question (source)
2023-05-26 00:50:40 -0500 received badge  Taxonomist
2023-03-20 09:18:14 -0500 received badge  Famous Question (source)
2023-03-20 09:18:14 -0500 received badge  Notable Question (source)
2022-09-08 05:06:55 -0500 received badge  Famous Question (source)
2022-07-25 19:12:17 -0500 received badge  Famous Question (source)
2022-07-25 19:12:17 -0500 received badge  Notable Question (source)
2022-06-08 00:36:20 -0500 received badge  Notable Question (source)
2022-05-07 08:58:24 -0500 received badge  Notable Question (source)
2022-04-26 09:24:48 -0500 received badge  Popular Question (source)
2022-04-25 15:34:38 -0500 edited question How to use ros2 control to balance something on a 2D plane?

How to use ros2 control to balance something on a 2D plane? Hi ROS community For an experiment, I need to balance a bal

2022-04-25 15:33:47 -0500 edited question How to use ros2 control to balance something on a 2D plane?

How to use ros2 control to balance something on a 2D plane? Hi ROS community For an experiment, I need to balance a bal

2022-04-25 15:30:17 -0500 asked a question How to use ros2 control to balance something on a 2D plane?

How to use ros2 control to balance something on a 2D plane? Hi ROS community For an experiment, I need to balance a bal

2022-04-12 13:24:18 -0500 received badge  Famous Question (source)
2022-01-19 04:42:14 -0500 received badge  Famous Question (source)
2022-01-19 04:42:14 -0500 received badge  Notable Question (source)
2022-01-19 04:42:14 -0500 received badge  Popular Question (source)
2021-11-25 13:12:28 -0500 received badge  Popular Question (source)
2021-11-15 09:53:51 -0500 received badge  Favorite Question (source)
2021-07-26 21:12:00 -0500 received badge  Student (source)
2021-07-23 09:48:21 -0500 marked best answer catkin build does not place executable in devel folder

I have a ROS1 noetic project with the following CMakeLists.txt.

cmake_minimum_required(VERSION 3.0.2)
project(ball_tracker_ros)

find_package(ball_tracker REQUIRED)

find_package(catkin REQUIRED roscpp prophesee_event_msgs)

add_executable(${PROJECT_NAME} src/ball_tracker_ros.cpp)

# Specify libraries to link a library or executable target against
# target_link_libraries(${PROJECT_NAME}_node ${catkin_LIBRARIES} )
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES}
                      ball_tracker::ball_tracker)

target_include_directories(
  ${PROJECT_NAME}
  PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
         $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>
         $<INSTALL_INTERFACE:include>
  PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${catkin_INCLUDE_DIRS})

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)

target_compile_options(
  ${PROJECT_NAME}
  PRIVATE $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:
          -pipe
          -march=native
          -Wall
          -Wextra
          $<$<CONFIG:Release>:-O3>>
          $<$<CONFIG:Debug>:-g
          -ggdb3
          -Og>>
          $<$<CXX_COMPILER_ID:MSVC>:
          $<$<CONFIG:Debug>:/Od
          /Wall
          /Zi>>)

When I run catkin build, the executable (ball_tracker_ros) is only in build/ball_tracker_ros/ and not in devel/lib/ball_ttracker_ros (the folder devel/lib/ball_ttracker_ros does not exist at all). Since I don't get any compilation/linking errors/warning and the binary is in the build folder, compilation seems fine. In the same workspace I also have this package. The executable of this package end in devel/lib/prophesee_ros_driver. Therefore catkin build seems to work and I expect the problem witin the package ball_tracker_ros.

2021-07-21 04:13:10 -0500 received badge  Popular Question (source)
2021-07-21 02:38:58 -0500 answered a question catkin build does not place executable in devel folder

The solution was to add catkin_package( INCLUDE_DIRS include/${PROJECT_NAME}/ LIBRARIES ${PROJECT_NAME} CATKIN_DE

2021-07-21 02:38:58 -0500 received badge  Rapid Responder (source)
2021-07-20 11:10:51 -0500 asked a question catkin build does not place executable in devel folder

catkin build does not place executable in devel folder I have a ROS1 noetic project with the following CMakeLists.txt.

2021-07-20 05:04:34 -0500 answered a question Config.cmake ends in the build folder instead of the devel folder

Apparently the problem was that I named the executable ${PROJECT_NAME}_node. After renaming it to ${PROJECT_NAME} everyt

2021-07-20 05:04:34 -0500 received badge  Rapid Responder (source)
2021-07-20 02:52:47 -0500 received badge  Popular Question (source)
2021-07-20 02:51:23 -0500 edited question Config.cmake ends in the build folder instead of the devel folder

Config.cmake ends in the build folder instead of the devel folder I'm writing a library which I will use with ROS1 right

2021-07-20 02:50:21 -0500 edited question Config.cmake ends in the build folder instead of the devel folder

Config.cmake ends in the build folder instead of the devel folder I'm writing a library which I will use with ROS1 right

2021-07-20 02:49:58 -0500 asked a question Config.cmake ends in the build folder instead of the devel folder

Config.cmake ends in the build folder instead of the devel folder I'm writing a library which I will use with ROS1 right

2021-06-22 03:46:29 -0500 asked a question Robot arm control with target velocity

Robot arm control with target velocity Hi MoveIt/ROS community I'm working on a new project where I need to control a r

2021-05-06 03:40:56 -0500 received badge  Notable Question (source)
2021-01-27 05:42:06 -0500 received badge  Famous Question (source)
2020-12-18 13:26:33 -0500 marked best answer [ROS2] How to set the logfile

Hi

I'm using a logger with ROS2 dashing. I couldn't find any explanation, how I can change the logger to log to a file instead of std output and how I can set the logfile.

Any help is appreciated.

2020-12-10 23:08:30 -0500 received badge  Famous Question (source)
2020-12-10 23:08:30 -0500 received badge  Notable Question (source)
2020-12-07 12:00:06 -0500 received badge  Notable Question (source)
2020-11-17 22:48:44 -0500 received badge  Notable Question (source)
2020-09-20 09:19:09 -0500 received badge  Popular Question (source)
2020-06-03 10:17:52 -0500 received badge  Famous Question (source)
2020-06-03 10:17:52 -0500 received badge  Notable Question (source)
2020-05-28 21:52:46 -0500 received badge  Famous Question (source)
2020-05-18 01:24:32 -0500 asked a question [ROS2] How to pass options to a component node via launch.py

[ROS2] How to pass options to a component node via launch.py I created ROS2 component which I can run as a normal ROS2 n

2020-04-14 00:05:47 -0500 received badge  Popular Question (source)
2020-04-11 05:55:40 -0500 received badge  Popular Question (source)
2020-04-09 09:12:07 -0500 asked a question [ROS2 eloquent] import funtion from other python file in launch

[ROS2 eloquent] import funtion from other python file in launch In my launch folder, I have the files node.launch.py and

2020-04-08 00:35:52 -0500 asked a question [ROS2 eloquent] Print ParameterValue as string

[ROS2 eloquent] Print ParameterValue as string I'm working with ROS2 parameters and looked at this example (https://gith

2020-04-07 04:00:40 -0500 commented question [ROS2] How do you load a yaml config file to a Composable Node?

@gvdhoorn: Thanks for fixing my mess. My intention was to add another comment as I'm used to from GitHub or StackOverflo