-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Centralize dependencies using
rosdep
(#123)
* Added summy MoveFromMouth action * Add MoveFromMouth to launch * Added MoveFromMouth to setup.py * Point to ada_feeding top-level README.md * Point to ada_feeding top-level README.md * Point to the top-level ada_feeding README.md * Fixed README links
- Loading branch information
1 parent
c92f2d2
commit 1a466cb
Showing
6 changed files
with
40 additions
and
24 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
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
20 changes: 20 additions & 0 deletions
20
feeding_web_app_ros2_test/feeding_web_app_ros2_test/MoveFromMouth.py
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,20 @@ | ||
#!/usr/bin/env python3 | ||
from ada_feeding_msgs.action import MoveTo | ||
from feeding_web_app_ros2_test.MoveToDummy import MoveToDummy | ||
import rclpy | ||
from rclpy.executors import MultiThreadedExecutor | ||
|
||
|
||
def main(args=None): | ||
rclpy.init(args=args) | ||
|
||
move_from_mouth = MoveToDummy("MoveFromMouth", MoveTo) | ||
|
||
# Use a MultiThreadedExecutor to enable processing goals concurrently | ||
executor = MultiThreadedExecutor() | ||
|
||
rclpy.spin(move_from_mouth, executor=executor) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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