-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove lasr_speech package. * refactor: cleanup Voice class. * chore: update maintainers. * refactor: remove rasa bash scripts. * feat: CATKIN_IGNORE legacy tasks. * chore: drop aruco_ros submodule. * chore: CATKIN_IGNORE all legacy packages. * feat: add cv2_pcl package, to deprecate common_math. * refactor: reorganise detection skills, use userdata correctly for Detect skill. * feat: 3D YOLO service. * fix: use target frame from request. * refactor: use cv2_pcl. * refactor: consistency. * refactor: make Detect3D skill utilise 3D YOLO service. * chore: remove tf_module. * chore: remove lasr_web_server, lasr_interaction_server, lasr_dialogflow. * chore: remove common_math, cv_bridge3. * chore: remove interaction_module, listen_module. * chore: remove find_person_and_ask_open_door, lasr_navigate_to_known_person. * chore: remove face_detection package. * chore: remove meet_and_greet. * chore: remove people_detection. * chore: remove object_interest_tracking. * feat: add markers helper package. * chore: remove deprecated markers package. * chore: remove lasr_object_detection_yolo. * WIP: vision skills. * feat: relay_3d example. * chore: type hints.
- Loading branch information
Showing
235 changed files
with
602 additions
and
19,016 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "common/third_party/aruco_ros"] | ||
path = common/third_party/aruco_ros | ||
url = [email protected]:pal-robotics/aruco_ros.git | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>lasr_dialogflow</name> | ||
<name>cv2_pcl</name> | ||
<version>0.0.0</version> | ||
<description>The lasr_dialogflow package</description> | ||
<description>The cv2_pcl package</description> | ||
|
||
<!-- One maintainer tag required, multiple allowed, one person per tag --> | ||
<!-- Example: --> | ||
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> --> | ||
<maintainer email="jared@todo.todo">jared</maintainer> | ||
|
||
<maintainer email="jared[email protected]">Jared Swift</maintainer> | ||
a | ||
|
||
<!-- One license tag required, multiple allowed, one license per tag --> | ||
<!-- Commonly used license strings: --> | ||
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 --> | ||
<license>TODO</license> | ||
<license>MIT</license> | ||
|
||
|
||
<!-- Url tags are optional, but multiple are allowed, one per tag --> | ||
<!-- Optional attribute type can be: website, bugtracker, or repository --> | ||
<!-- Example: --> | ||
<!-- <url type="website">http://wiki.ros.org/lasr_dialogflow</url> --> | ||
<!-- <url type="website">http://wiki.ros.org/cv2_pcl</url> --> | ||
|
||
|
||
<!-- Author tags are optional, multiple are allowed, one per tag --> | ||
|
@@ -49,6 +49,7 @@ | |
<!-- Use doc_depend for packages you need only for building documentation: --> | ||
<!-- <doc_depend>doxygen</doc_depend> --> | ||
<buildtool_depend>catkin</buildtool_depend> | ||
<depend>sensor_msgs</depend> | ||
|
||
|
||
<!-- The export tag contains other, unspecified, tags --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ | |
<!-- One maintainer tag required, multiple allowed, one person per tag --> | ||
<!-- Example: --> | ||
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> --> | ||
<maintainer email="[email protected]">nicole</maintainer> | ||
<maintainer email="[email protected]">Jared Swift</maintainer> | ||
|
||
|
||
<!-- One license tag required, multiple allowed, one license per tag --> | ||
<!-- Commonly used license strings: --> | ||
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 --> | ||
<license>TODO</license> | ||
<license>MIT</license> | ||
|
||
|
||
<!-- Url tags are optional, but multiple are allowed, one per tag --> | ||
|
@@ -49,19 +49,15 @@ | |
<!-- Use doc_depend for packages you need only for building documentation: --> | ||
<!-- <doc_depend>doxygen</doc_depend> --> | ||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>geometry_msgs</build_depend> | ||
<build_depend>message_generation</build_depend> | ||
<build_depend>roscpp</build_depend> | ||
<build_depend>rospy</build_depend> | ||
<build_depend>std_msgs</build_depend> | ||
<build_export_depend>geometry_msgs</build_export_depend> | ||
<build_export_depend>roscpp</build_export_depend> | ||
<build_depend>visualization_msgs</build_depend> | ||
<build_depend>geometry_msgs</build_depend> | ||
<build_export_depend>rospy</build_export_depend> | ||
<build_export_depend>std_msgs</build_export_depend> | ||
<exec_depend>geometry_msgs</exec_depend> | ||
<exec_depend>roscpp</exec_depend> | ||
<build_export_depend>visualization_msgs</build_export_depend> | ||
<build_export_depend>geometry_msgs</build_export_depend> | ||
<exec_depend>rospy</exec_depend> | ||
<exec_depend>std_msgs</exec_depend> | ||
<exec_depend>visualization_msgs</exec_depend> | ||
<exec_depend>geometry_msgs</exec_depend> | ||
|
||
|
||
<!-- The export tag contains other, unspecified, tags --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import rospy | ||
|
||
from visualization_msgs.msg import Marker | ||
from geometry_msgs.msg import PointStamped | ||
|
||
from collections import defaultdict | ||
|
||
publisher_counts = defaultdict(int) | ||
|
||
|
||
def create_marker( | ||
point_stamped: PointStamped, | ||
idx: int, | ||
r: float = 0.0, | ||
g: float = 1.0, | ||
b: float = 0.0, | ||
): | ||
marker_msg = Marker() | ||
marker_msg.header.frame_id = point_stamped.header.frame_id | ||
marker_msg.header.stamp = point_stamped.header.stamp | ||
marker_msg.id = idx | ||
marker_msg.type = Marker.SPHERE | ||
marker_msg.action = Marker.ADD | ||
marker_msg.pose.position = point_stamped.point | ||
marker_msg.pose.orientation.w = 1.0 | ||
marker_msg.scale.x = 0.1 | ||
marker_msg.scale.y = 0.1 | ||
marker_msg.scale.z = 0.1 | ||
marker_msg.color.a = 1.0 | ||
marker_msg.color.r = r | ||
marker_msg.color.g = g | ||
marker_msg.color.b = b | ||
return marker_msg | ||
|
||
|
||
def create_and_publish_marker( | ||
publisher: rospy.Publisher, | ||
point_stamped: PointStamped, | ||
idx: int | None = None, | ||
r: float = 0.0, | ||
g: float = 1.0, | ||
b: float = 0.0, | ||
): | ||
if idx is None: | ||
global publisher_counts | ||
idx = publisher_counts[publisher] | ||
publisher_counts[publisher] += 1 | ||
|
||
marker_msg = create_marker(point_stamped, idx, r, g, b) | ||
publisher.publish(marker_msg) |
Oops, something went wrong.