-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add symmetries publisher and publish empty messages on no detections #1
Changes from 6 commits
e8d705b
d956f07
f840ba6
58a8288
f6832ba
46933c0
d79df1c
0ba5392
e9e8e03
278047a
b4fc4e6
31b280f
1c35c18
69709fb
604184c
5162234
c15e794
89c0140
b4eb1e0
aa004fe
ee3f145
adb790f
df8a165
81be232
c6eefb5
052c273
bd5de32
11621b5
bf62c59
0be9c5e
c1964f5
2341260
055cfd6
b3e4895
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>happypose_examples</name> | ||
<version>0.0.0</version> | ||
<version>0.0.2</version> | ||
<description>Examples for happypose_ros package</description> | ||
<author email="[email protected]">Krzysztof Wojciechowski</author> | ||
<maintainer email="[email protected]">Guilhem Saurel</maintainer> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CMake version on Ubuntu 22.04? |
||
project(happypose_msgs) | ||
|
||
find_package(ament_cmake REQUIRED) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For future reference, concerning pure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Due to an additional package |
||
find_package(builtin_interfaces REQUIRED) | ||
find_package(std_msgs REQUIRED) | ||
find_package(geometry_msgs REQUIRED) | ||
find_package(rosidl_default_generators REQUIRED) | ||
|
||
rosidl_generate_interfaces( | ||
${PROJECT_NAME} | ||
msg/ContinuousSymmetry.msg | ||
msg/ObjectSymmetries.msg | ||
msg/ObjectSymmetriesArray.msg | ||
DEPENDENCIES | ||
builtin_interfaces | ||
std_msgs | ||
geometry_msgs) | ||
|
||
ament_export_dependencies(rosidl_default_runtime) | ||
ament_package() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Definition of continuous symmetry. | ||
# Consists of rotation axis and offset. | ||
# Symilarly to HappyPose object ContinuousSymmetry | ||
|
||
geometry_msgs/Vector3 offset | ||
geometry_msgs/Vector3 axis |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Class id for which symmetries are considered | ||
string class_id | ||
# Lists discrete and continuous symmetries of considered object. | ||
# If no symmetries of a given type, list is left empty. | ||
|
||
# In HappyPose discrete symmetries are represented as | ||
# transformation matrices. Those matrices are directyl | ||
Kotochleb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# converted to the Transform message. | ||
geometry_msgs/Transform[] symmetries_discrete | ||
ContinuousSymmetry[] symmetries_continuous |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Time stamp at which the message was sent | ||
std_msgs/Header header | ||
|
||
# List of objects detected be HappyPose node | ||
Kotochleb marked this conversation as resolved.
Show resolved
Hide resolved
|
||
ObjectSymmetries[] objects |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<package format="3"> | ||
<name>happypose_msgs</name> | ||
<version>0.0.2</version> | ||
<description>Custom messages used by happypose_ros package.</description> | ||
<author email="[email protected]">Krzysztof Wojciechowski</author> | ||
<maintainer email="[email protected]">Guilhem Saurel</maintainer> | ||
<license>BSD</license> | ||
|
||
<url type="website">https://gitlab.laas.fr/kwojciecho/happypose_ros</url> | ||
<url type="bugtracker">https://gitlab.laas.fr/kwojciecho/happypose_ros/-/issues</url> | ||
<url type="repository">https://gitlab.laas.fr/kwojciecho/happypose_ros</url> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
<buildtool_depend>rosidl_default_generators</buildtool_depend> | ||
|
||
<build_depend>builtin_interfaces</build_depend> | ||
<build_depend>std_msgs</build_depend> | ||
<build_depend>geometry_msgs</build_depend> | ||
|
||
<exec_depend>builtin_interfaces</exec_depend> | ||
<exec_depend>std_msgs</exec_depend> | ||
<exec_depend>geometry_msgs</exec_depend> | ||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
|
||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the version of CMake that is the default on Ubuntu LTS 22.04?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ref jrl-umi3218/jrl-cmakemodules#620