lab1
.pdf
keyboard_arrow_up
School
Georgia Institute Of Technology *
*We aren’t endorsed by this school
Course
8750
Subject
Mechanical Engineering
Date
Apr 3, 2024
Type
Pages
5
Uploaded by BrigadierArmadillo2134 on coursehero.com
CS/ME/ECE/AE/BME 7785
Lab 1
Due: September 15, 2023 by 4 pm
Overview
The objective of this lab is to get you familiar with the robot and to get started writing code.
Specifically, this lab consists of two parts:
•
Part 1a (individual)
: run provided Turtlebot3 code to get experience interfacing with the
robot.
•
Part 1b (group)
: answer the ROS related questions.
•
Part 2 (group)
: create your own image processing script that enables the robot to identify
a desired object in its camera image.
The code generated in Part 2 can be reused in Lab 2 to have your robot move to track whichever
object you have chosen.
Note Part 1 will take far less time than Part 2, so budget your time wisely.
Part 1 is an individual assignment, each person must demonstrate ability to run the robot from a
machine that they have access to. You can use your own laptop or the lab machines. You can not
use your partner’s laptop to demo.
We strongly encourage you to use all available resources to complete this assignment. This includes
looking at the sample code provided with the robot, borrowing pieces of code from online tutorials,
and talking to classmates. You may discuss solutions and problem solve with other groups in the
class, but each group must submit their own solution. Multiple groups should not jointly write the
same program and each submit a copy, this will not be considered a valid submission.
Submission instruction and grading details are included at the end of the document.
Handle your robot with care!
•
Battery Handling
: The robots can be powered up using 2 methods:
1. Power the OpenCR board through the AC adapter.
This is recommended if you’re
debugging code and the robot doesn’t need to be mobile.
1
Introduction to Robotics Research, Lab 1: Spring, 2024
2. LiPo (Lithium Polymer) battery: LiPo batteries are high energy density batteries which
are a popular power source for mobile robots such as UAVs, Rovers, (and Turtlebots!).
They must be operated with care as they may explode and catch fire if mishandled.
Here are some tips for handling LiPo batteries:
1. Do not hot swap batteries.
This means do not plug in the AC adapter and switch
batteries. Always power the robot down fully before removing and plugging in batteries.
2. NEVER puncture/pierce the LiPo battery and keep it away from sharp objects.
3. Do not leave batteries plugged into the robot, always unplug them after use.
4. If you notice any swollen/puffed batteries, notify the staff at once.
5. Use the LiPo battery chargers for recharging batteries.
Red LED indicates charging,
Green indicates charged.
6. If you are the last one leaving the lab, please unplug batteries from the chargers.
A constant beeping sound indicates low battery. Ensure to save your work and shutdown your
robot before replacing the battery.
•
Robot shutdown procedure
: Before plugging out the power supply, please run the com-
mand:
sudo shutdown now
Wait for the LIDAR to stop spinning and the Raspberry Pi’s green LED to stop blinking. At
this point, it is safe to remove the power supply. Abruptly powering off may lead to your SD
card getting corrupted and data loss.
Part 1a: Interfacing with the Turtlebot3
All instructions for the Turtlebot3 are available online at
http://emanual.robotis.com/docs/en/platform/turtlebot3/overview/
Complete the following steps:
1. Ensure you’ve completed the PC Setup and Turtlebot3 package installation as outlined in Lab
0.
2.
Note
: Section 3.1.5 has you place the line
export ROS_DOMAIN_ID=30
#
TURTLEBOT3
in the
bashrc.
This number should be edited depending on what robot you are using (the robot
domain IDs are listed on the OLED on boot).
3. You will be able to ping, SSH, transfer files, and exchange ROS 2 messages to the robot if you
are on the 7785/7785-5G network. Password is
robot-wifi
2
Introduction to Robotics Research, Lab 1: Spring, 2024
4. Make sure you can access the Raspberry Pi on the robot. You will need to SSH ( secure shell)
into the robot using the command,
ssh burger@192.168.1.152
(The IP 192.168.1.152 should be replaced by your Raspberry Pi’s IP or hostname)
The password is “
burger
” for all the robots. Once entering the password you should see the
terminal environment on the Raspberry Pi of your Turtlebot3!
5. Complete the Quick Start guide on the above website (listed as item 3 on the left side menu)
and verify that you are able to teleoperate the robot using the keyboard (Sections 3.5 and
3.6.1.1). Optionally, feel free to run any other examples, such as Turtlebot Follower to test
out the robot functionality.
Note:
For ROS2 the robot and your laptop have to be on the
same network for messages to communicate (e.g. run teleop on your PC rather than on the
robot). Thus, switch the network you are on to CS3660 for controlling the robot.
Part 1b: ROS Related Questions
Please answer the following questions (from Lab 0) and submit them as a PDF with your code
submission from part 2.
•
What is a ROS_DOMAIN_ID? (2pt)
•
What is a node? (2pt)
•
What is a topic? (2pt)
•
What is a message? (2pt)
•
What is a subscriber? Write the syntax to create a subscriber that subscribes to the topic
amazing_int
, which takes message of type
UInt64
, and uses the callback function
magic_fun
,
in C++ or Python. Note: This should only be a few lines of code, not a full script. (5pt)
•
What is a publisher?
Write the syntax to create a publisher that publishes to the topic
amazing_bool
, which takes message of type
Bool
, in Python. Note: This should only be a
few lines of code, not a full script. (5pt)
•
Can a node have multiple subscribers? Can a node have multiple publishers? (2pt)
Part 2: Object Following
Objective:
Create a program to reliably locate and track an object of your choice from a real-time
images stream on your computer. You are encouraged to use libraries such as OpenCV to complete
this assignment.
Note: This cannot be done using a pre-made tag tracker package like ArUco nor
using premade ML packages like ImageAI.
In this part of the lab, you will use OpenCV to locate an object from your laptop’s webcam. This
is a valuable step towards Lab 2, in which you will track the object from your robots camera frame
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Make the MATLAB code work to achieve the following functions:
Assume that you are trying to build an operation interface which allows the mechanical engineering students in UNT
to register for 9 of the MEEN 3000 level classes (which are highlighted in blue as shown in 2019-2020 MEE
curriculum flowchart).
In order to register for a MEEN class, students need to meet all the prerequisites as well as co-requisites. Once he/she
fulfilled all the conditions for a certain class, that class can be registered successfully. Otherwise the system will object
his request and give that student a reminder why he/she could not register for that class.
arrow_forward
exam_question.php?exam_id:
Some computers contain multi-processors in order to
s1 /4
MS-DOS considered as the weakest OS because of It
arrow_forward
a. Currently, you serve as a robotic engineer by a company, and your boss want you
to design a robot in spatial space to satisfy the following conditions:
i. Max reachable distance of the robot is 1 meter.
ii.
Only using revolute joints, connecting links and rigid load bearing links
(the length of link is 0.5m).
iii. The degree of freedom (Dof) of the robot is 2.
What is your design, how many joints and links will you use?
b. The payload of your design is 10 kg (each load bearing link can hold 5 kg, 5 kg+5
kg=10kg, the weight and payload of the connecting links will be ignored), but
your boss wants your designed robots to handle 20 kg payload. How will you
update your current design, and how many joints and links will you use in the
new design? What is the Dof of the new designed robot.
arrow_forward
Please choose the false answer(s) from the following statements related to CAD!
a. It can be used for programming of robots, which may operate in a workcell arrangement, selecting and positioning tools and workpieces for NC machines.
b. It is a technology which uses computer system to assist in the creation, modification, analysis and optimization of a design.
c. Geometry can be used as a basis for other functions in CAE and CAM, saving time and reducing errors caused by redefining the geometry of design.
d. Basic role of CAD is to define the geometry of design (computer aided drafting, and geometric modelling are the most important component of CAD).
arrow_forward
You are spending the summer as an assistant learning how to navigate on a large ship carrying freight across Lake Erie. One day, you and your ship are to travel across the lake a distance of 200 km traveling due north from yourorigin port to your destination port. Just as you leave your origin port, the navigation electronics go down. The captain continues sailing, claiming he can depend on his years of experience on the water as a guide. The engineers work on the navigation system while the ship continues to sail,and winds and waves push it off course. Eventually, enough of the navigation system comes back up to tell you your location. The system tells you that your current position is 50.0 km north of the origin port and 25.0 km east of the port. The captain is a little embarrassed that his ship is sofar off course and barks an order to you to tell him immediately what heading he should set from your current position to the destination port. Give him an appropriate heading angle.
arrow_forward
What is the purpose of machine learning?
O a.
To replace scientists by thinking machines
D. To enable the recognition of patterns in complex data
O c.
To make an artificially intelligent clone of a brain
d.
To figure out how to use a machine
Clear my choice
arrow_forward
Question 45 is based on the following picture.
Reprinted with permission from Popular Science magazine,
©2000, Times Mirror Magazines, Inc.
45. Stuart Wilkinson, the engineer of "Chew-
Chew" said, "we stole the idea of eating
food from the biological world, but we are
marrying that idea to useful robotic
capabilities." Which of the following
would not be an application of Stuart
Wilkinson's theory?
A. A leaf mulcher that feeds on foliage
B. a trash compactor that feeds on
garbage
dos C. a lawn mower that feeds on grass
bos
9D. a garden cultivator that feeds on soil
clippings
E. a recycling truck that feeds on
petroleum
conjo
arrow_forward
Document three phases of writing a CNC program in the form of a block diagram.
Don’t need to write the actual CNC program.
arrow_forward
pls send in half n hour
pls show me clear handwriting and full steps
subject (solid mech 2)
arrow_forward
Hello, I have submitted this worksheet for assistance 2x but for some reason it goes white for the answer. Can someone type it out and resend it? Would it be possible to credit those 2 questions back?
arrow_forward
PLEASE ANSWER NUMBER 2.MECH 221-KINEMATICS: PLEASE GIVE DETAILED ANSWER AND CORRECT ANSWERS. I WILL REPORT TO BARTLEBY THOSE TUTORS WHO WILL GIVE INCORRECT ANSWERS.
arrow_forward
Pls i need her solving with explanation quickk
arrow_forward
Activity: Lets' fix it!
Directions: Read the following situations and explain why the motor of the robot
stopped working.
1.The robot is traveling at high speed on sandy soil under the hot Sun for 30
minutes.
2.The robot is crossing a bridge when it got wet due to a rogue wave.
3.The robot is working on a live power line when suddenly it broke and came in
contact with the metal part of the robot.
arrow_forward
pls solve this ques on your own without copying from other platforms I'll give you multiple likes
arrow_forward
Hello please solve showing all the steps in the process thanks
arrow_forward
PLEASE ANSWER NUMBER 2 MECH 221: PLEASE GIVE DETAILED SOLUTIONS AND CORRECT ANSWERS. I WILL REPORT TO BARTLEBY THOSE TUTORS WHO WILL GIVE INCORRECT ANSWERS.
arrow_forward
6. What kind of animal might a robot that explores the ocean mimic?
arrow_forward
You are an engineer in a company that manufactures and designs several mechanical devices, and your manager asked you to help your customers. In this time, you have two customers, one of them wants to ask about internal combustion engines while the other requires a heat exchanger with particular specifications. Follow the parts in the following tasks to do your job and support your customers.Task 1:Your first customer asked for an internal combustion engine to use it in a designed car. Your role is to describe the operation sequence of different types of available engines, explain their mechanical efficiency, and deliver a detailed technical report which includes the following steps:STEP 1Describe with the aid of diagrams the operational sequence of four stroke spark ignition and four stroke compression ignition engines.STEP 2Explain and compare the mechanical efficiency of two and four-stroke engines.STEP 3Review the efficiency of ideal heat engines operating on the Otto and Diesel…
arrow_forward
You are an engineer in a company that manufactures and designs several mechanical devices, and your manager asked you to help your customers. In this time, you have two customers, one of them wants to ask about internal combustion engines while the other requires a heat exchanger with particular specifications. Follow the parts in the following tasks to do your job and support your customers.Task 1:Your first customer asked for an internal combustion engine to use it in a designed car. Your role is to describe the operation sequence of different types of available engines, explain their mechanical efficiency, and deliver a detailed technical report which includes the following steps:STEP 1Describe with the aid of diagrams the operational sequence of four stroke spark ignition and four stroke compression ignition engines.STEP 2Explain and compare the mechanical efficiency of two and four-stroke engines.STEP 3Review the efficiency of ideal heat engines operating on the Otto and Diesel…
arrow_forward
HELLO, CAN U HELP ME TO MY RESEARCH PART?, MY RESEARCH PART IS DATA GATHERING PROCEDURE, AND I'LL SEND THE SAMPLE THAT MY TEACHER GAVE ME, THIS IS MY TITLE BTW " Students who play Axie Infinity as scholars do not make enough money to support their studies: a qualitative study of Axie Infinity scholars among the students of Precious High Academy" THANKS!
arrow_forward
subject (differential equation)
pls show me full steps with clear handwriting sir
pls answer me in 10 mins sir
urgent pls
arrow_forward
3. a) Differentiate between NC and CNC system and the applications of CNC.b) What are G-codes and M-codes in CNC part programming
and refer
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Related Questions
- Make the MATLAB code work to achieve the following functions: Assume that you are trying to build an operation interface which allows the mechanical engineering students in UNT to register for 9 of the MEEN 3000 level classes (which are highlighted in blue as shown in 2019-2020 MEE curriculum flowchart). In order to register for a MEEN class, students need to meet all the prerequisites as well as co-requisites. Once he/she fulfilled all the conditions for a certain class, that class can be registered successfully. Otherwise the system will object his request and give that student a reminder why he/she could not register for that class.arrow_forwardexam_question.php?exam_id: Some computers contain multi-processors in order to s1 /4 MS-DOS considered as the weakest OS because of Itarrow_forwarda. Currently, you serve as a robotic engineer by a company, and your boss want you to design a robot in spatial space to satisfy the following conditions: i. Max reachable distance of the robot is 1 meter. ii. Only using revolute joints, connecting links and rigid load bearing links (the length of link is 0.5m). iii. The degree of freedom (Dof) of the robot is 2. What is your design, how many joints and links will you use? b. The payload of your design is 10 kg (each load bearing link can hold 5 kg, 5 kg+5 kg=10kg, the weight and payload of the connecting links will be ignored), but your boss wants your designed robots to handle 20 kg payload. How will you update your current design, and how many joints and links will you use in the new design? What is the Dof of the new designed robot.arrow_forward
- Please choose the false answer(s) from the following statements related to CAD! a. It can be used for programming of robots, which may operate in a workcell arrangement, selecting and positioning tools and workpieces for NC machines. b. It is a technology which uses computer system to assist in the creation, modification, analysis and optimization of a design. c. Geometry can be used as a basis for other functions in CAE and CAM, saving time and reducing errors caused by redefining the geometry of design. d. Basic role of CAD is to define the geometry of design (computer aided drafting, and geometric modelling are the most important component of CAD).arrow_forwardYou are spending the summer as an assistant learning how to navigate on a large ship carrying freight across Lake Erie. One day, you and your ship are to travel across the lake a distance of 200 km traveling due north from yourorigin port to your destination port. Just as you leave your origin port, the navigation electronics go down. The captain continues sailing, claiming he can depend on his years of experience on the water as a guide. The engineers work on the navigation system while the ship continues to sail,and winds and waves push it off course. Eventually, enough of the navigation system comes back up to tell you your location. The system tells you that your current position is 50.0 km north of the origin port and 25.0 km east of the port. The captain is a little embarrassed that his ship is sofar off course and barks an order to you to tell him immediately what heading he should set from your current position to the destination port. Give him an appropriate heading angle.arrow_forwardWhat is the purpose of machine learning? O a. To replace scientists by thinking machines D. To enable the recognition of patterns in complex data O c. To make an artificially intelligent clone of a brain d. To figure out how to use a machine Clear my choicearrow_forward
- Question 45 is based on the following picture. Reprinted with permission from Popular Science magazine, ©2000, Times Mirror Magazines, Inc. 45. Stuart Wilkinson, the engineer of "Chew- Chew" said, "we stole the idea of eating food from the biological world, but we are marrying that idea to useful robotic capabilities." Which of the following would not be an application of Stuart Wilkinson's theory? A. A leaf mulcher that feeds on foliage B. a trash compactor that feeds on garbage dos C. a lawn mower that feeds on grass bos 9D. a garden cultivator that feeds on soil clippings E. a recycling truck that feeds on petroleum conjoarrow_forwardDocument three phases of writing a CNC program in the form of a block diagram. Don’t need to write the actual CNC program.arrow_forwardpls send in half n hour pls show me clear handwriting and full steps subject (solid mech 2)arrow_forward
- Hello, I have submitted this worksheet for assistance 2x but for some reason it goes white for the answer. Can someone type it out and resend it? Would it be possible to credit those 2 questions back?arrow_forwardPLEASE ANSWER NUMBER 2.MECH 221-KINEMATICS: PLEASE GIVE DETAILED ANSWER AND CORRECT ANSWERS. I WILL REPORT TO BARTLEBY THOSE TUTORS WHO WILL GIVE INCORRECT ANSWERS.arrow_forwardPls i need her solving with explanation quickkarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY