Skip to content

Commit

Permalink
Merge pull request #425 from ouster-lidar/fw24-ros-fix
Browse files Browse the repository at this point in the history
Remove non-existing targets in ouster_ros
  • Loading branch information
Samahu authored Aug 31, 2022
2 parents dc087a3 + e9541d7 commit da9ba6f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
34 changes: 15 additions & 19 deletions ouster_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,7 @@ catkin_package(
sensor_msgs
geometry_msgs
DEPENDS
EIGEN3)

catkin_package(
LIBRARIES nodelet_os_cloud
CATKIN_DEPENDS nodelet roscpp std_msgs
)

catkin_package(
LIBRARIES nodelet_os_image
CATKIN_DEPENDS nodelet roscpp std_msgs
EIGEN3
)

# ==== Libraries ====
Expand Down Expand Up @@ -104,20 +95,25 @@ install(
nodelets_os
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(
DIRECTORY ${_ouster_ros_INCLUDE_DIRS}
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)

install(
FILES
../LICENSE
../LICENSE-bin
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(
DIRECTORY
launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch)
nodelets_os.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

install(
DIRECTORY
config/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/config)
launch
config
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
5 changes: 5 additions & 0 deletions ouster_viz/include/ouster/point_viz.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,11 @@ class Camera {
* @param[in] y vertical position in in normalized coordinates [-1, 1]
*/
void set_proj_offset(float x, float y);

/**
* Directly set camera target object pose
*/
void set_target(const mat4d& target) { target_ = target; }
};

/**
Expand Down

0 comments on commit da9ba6f

Please sign in to comment.