From e1aa00e33127493bdc364179cca3017f54bc4916 Mon Sep 17 00:00:00 2001 From: "Alan G. Sanchez" Date: Thu, 11 Aug 2022 13:55:05 -0700 Subject: [PATCH 1/2] Provided names to previous and next example links. --- example_1.md | 2 +- example_10.md | 4 ++++ example_11.md | 3 +++ example_2.md | 4 ++-- example_3.md | 4 ++-- example_4.md | 4 ++-- example_5.md | 4 ++-- example_6.md | 4 ++-- example_7.md | 4 ++-- example_8.md | 4 ++-- example_9.md | 4 ++-- 11 files changed, 24 insertions(+), 17 deletions(-) diff --git a/example_1.md b/example_1.md index 9703432..9cc2a06 100644 --- a/example_1.md +++ b/example_1.md @@ -157,4 +157,4 @@ python move.py To stop the node from sending twist messages, type **Ctrl** + **c**. -**Next Example:** [Example 2](example_2.md) +**Next Example:** [Filter Laser Scans](example_2.md) diff --git a/example_10.md b/example_10.md index 5fdb62a..c2b23c3 100644 --- a/example_10.md +++ b/example_10.md @@ -353,3 +353,7 @@ Instantiate the class with `FrameListener()` rospy.spin() ``` Give control to ROS. This will allow the callback to be called whenever new messages come in. If we don't put this line in, then the node will not work, and ROS will not process any messages. + + +**Previous Example** [Voice Teleoperation of Base](example_9.md) +**Next Example** [PointCloud Transformation](example_11.md) diff --git a/example_11.md b/example_11.md index f1cb0e9..5df4e07 100644 --- a/example_11.md +++ b/example_11.md @@ -233,3 +233,6 @@ The first line gives the listener some time to accumulate transforms. The second rate.sleep() ``` Run a while loop until the node is shutdown. Within the while loop run the `pcl_transformer()` method. + + +**Previous Example** [Tf2 Broadcaster and Listener](example_10.md) diff --git a/example_2.md b/example_2.md index 7f13bf2..68457ec 100644 --- a/example_2.md +++ b/example_2.md @@ -182,5 +182,5 @@ Give control to ROS. This will allow the callback to be called whenever new messages come in. If we don't put this line in, then the node will not work, and ROS will not process any messages. -**Previous Example:** [Example 1](example_1.md) -**Next Example:** [Example 3](example_3.md) +**Previous Example:** [Teleoperate Stretch with a Node](example_1.md) +**Next Example:** [Mobile Base Collision Avoidance](example_3.md) diff --git a/example_3.md b/example_3.md index da3778b..de7be4f 100644 --- a/example_3.md +++ b/example_3.md @@ -173,5 +173,5 @@ Instantiate class with `Avioder()` Give control to ROS with `rospy.spin()`. This will allow the callback to be called whenever new messages come in. If we don't put this line in, then the node will not work, and ROS will not process any messages. -**Previous Example:** [Example 2](example_2.md) -**Next Example:** [Example 4](example_4.md) +**Previous Example:** [Filter Laser Scans](example_2.md) +**Next Example:** [Give Stretch a Balloon](example_4.md) diff --git a/example_4.md b/example_4.md index 891615f..5e096c1 100644 --- a/example_4.md +++ b/example_4.md @@ -175,5 +175,5 @@ while not rospy.is_shutdown(): This loop is a fairly standard rospy construct: checking the `rospy.is_shutdown()` flag and then doing work. You have to check `is_shutdown()` to check if your program should exit (e.g. if there is a Ctrl-C or otherwise). The loop calls `rate.sleep()`, which sleeps just long enough to maintain the desired rate through the loop. -**Previous Example:** [Example 3](example_3.md) -**Next Example:** [Example 5](example_5.md) +**Previous Example:** [Mobile Base Collision Avoidance](example_3.md) +**Next Example:** [Print Joint States](example_5.md) diff --git a/example_5.md b/example_5.md index 459265c..591501b 100644 --- a/example_5.md +++ b/example_5.md @@ -155,5 +155,5 @@ rospy.spin() ``` Give control to ROS with `rospy.spin()`. This will allow the callback to be called whenever new messages come in. If we don't put this line in, then the node will not work, and ROS will not process any messages. -**Previous Example** [Example 4](example_4.md) -**Next Example** [Example 6](example_6.md) +**Previous Example** [Give Stretch a Balloon](example_4.md) +**Next Example** [Store Effort Values](example_6.md) diff --git a/example_6.md b/example_6.md index 2cf4b2c..a4aab27 100644 --- a/example_6.md +++ b/example_6.md @@ -308,5 +308,5 @@ python stored_data_plotter.py Because this is not a node, you don't need roscore to run this script. Please review the comments in the python script for additional guidance. -**Previous Example** [Example 5](example_5.md) -**Next Example** [Example 7](example_7.md) +**Previous Example** [Print Joint States](example_5.md) +**Next Example** [Capture Image](example_7.md) diff --git a/example_7.md b/example_7.md index cda2305..117c959 100644 --- a/example_7.md +++ b/example_7.md @@ -305,5 +305,5 @@ self.pub.publish(image_msg) Publish the ROS image with the same header as the subscribed ROS message. -**Previous Example** [Example 6](example_6.md) -**Next Example** [Example 8](example_8.md) +**Previous Example** [Store Effort Values](example_6.md) +**Next Example** [Voice to Text](example_8.md) diff --git a/example_8.md b/example_8.md index 98c3cbe..cc17f2d 100644 --- a/example_8.md +++ b/example_8.md @@ -143,5 +143,5 @@ Give control to ROS. This will allow the callback to be called whenever new messages come in. If we don't put this line in, then the node will not work, and ROS will not process any messages. -**Previous Example** [Example 7](example_7.md) -**Next Example** [Example 9](example_9.md) +**Previous Example** [Capture Image](example_7.md) +**Next Example** [Voice Teleoperation of Base](example_9.md) diff --git a/example_9.md b/example_9.md index e40b529..3e5784b 100644 --- a/example_9.md +++ b/example_9.md @@ -489,5 +489,5 @@ except KeyboardInterrupt: ``` Declare object from the VoiceTeleopNode class. Then execute the main() method/function. -**Previous Example** [Example 8](example_8.md) -**Next Example** [Example 10](example_10.md) +**Previous Example** [Voice to Text](example_8.md) +**Next Example** [Tf2 Broadcaster and Listener](example_10.md) From 35c8d082b634138aab40bccd223a5725ec862481 Mon Sep 17 00:00:00 2001 From: "Alan G. Sanchez" Date: Thu, 11 Aug 2022 13:56:19 -0700 Subject: [PATCH 2/2] Fixed typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f67066..fb6db6c 100644 --- a/README.md +++ b/README.md @@ -31,5 +31,5 @@ To help get you get started on your software development, here are examples of n 7. [Capture Image](example_7.md) - Capture images from the RealSense camera data. 8. [Voice to Text](example_8.md) - Interpret speech and save transcript to a text file. 9. [Voice Teleoperation of Base](example_9.md) - Use speech to teleoperate the mobile base. -10. [Tf2 broadcaster and listener](example_10.md) - Create a tf2 broadcaster and listener. +10. [Tf2 Broadcaster and Listener](example_10.md) - Create a tf2 broadcaster and listener. 11. [PointCloud Transformation](example_11.md) - Convert PointCloud2 data to a PointCloud and transform to a different frame.