General questions about a particular application of Create 3 #100
Replies: 31 comments 31 replies
-
How are you commanding the robot to drive? If you are using the NavigateToPosition action server, it isn't tuned to exactly achieve the positions. You could write your own controller to command velocity based on robot position that attempts to achieve the positions more accurately with longer times to achieve convergence with a very small error. The Create3 is combining wheel odometry, gyro, and a mouse sensor that provides a fairly accurate local coordinate system, but any local coordinate system will drift over time as there is accumulating error in the estimates for wheel odometry, mouse, and gyro. If you are looking for a coordinate system that will stay consistent over time, you will need a localization system. While there are many sensor technologies you can implement a localization system with, lidar is one of the most common and easiest approaches to create a map and localize in it. |
Beta Was this translation helpful? Give feedback.
-
Hi Justin, I am using level 2 on the iRobot coding program on the computer. I took a few pictures to help illustrate my problem. I am just running it in straight lines and turning around.
[cid:f1023f06-b1b4-48ce-a215-86d9d769a780]
This is my initial starting position. I think if it went completely straight, it would arrive back at this position every time
[cid:9aaa21a7-20be-4938-93d5-d041d682ec44]
After only 4 runs, it's angle had already changed by this much,
[cid:29f7e9df-1e7a-41bc-8e0c-4863804c441d]
Unfortunately, I do not know very much about coding, and "writing my own controller" or "implementing lidar" are a bit above my reach at this point. If I bought a SLAMtec RPLidar A1M8 Lidar Sensor, would that fix the problem? Would that give it obstacle avoidance abilities as well? Would you be able to instruct me how to set this up, or sent me some directions?
The way it is now, without the ability to drive repeatable missions, it just crashes into things, keeps going for a while, and then turns and charges in a random direction.
My eventual goal is to get a small team of about 2-4 robots to be the "legs" of a larger robot which will be able to move around and grab things off of a countertop. Do you have a guide to set up coordinated movement of small teams of Create 3's? Obviously, the ability to move in a defined path accurately and precisely will be key to such a project. Also, I was wondering, given that that's my goal, is there a way to control multiple robots with a single Lidar unit, or would that require four different units for each of the four robots? It would be cool if I could achieve some of the complicated things that turtlebot 4 can do, like joystick control and obstacle avoidance, but for at least the forseeable future, just getting the create 3 to perform repeatable missions is my goal. Lastly, is there a certain program you have to run to get the Create 3 to dock by itself, or can it even do that? Thanks, so far the Create 3 has been a pretty good product, but I am just trying to see what it can really do.
- Noah Farris
…________________________________
From: Justin Kearns ***@***.***>
Sent: Sunday, July 3, 2022 2:49 AM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
How are you commanding the robot to drive? If you are using the NavigateToPosition action server, it isn't tuned to exactly achieve the positions. You could write your own controller to command velocity based on robot position that attempts to achieve the positions more accurately with longer times to achieve convergence with a very small error. The Create3 is combining wheel odometry, gyro, and a mouse sensor that provides a fairly accurate local coordinate system, but any local coordinate system will drift over time as there is accumulating error in the estimates for wheel odometry, mouse, and gyro. If you are looking for a coordinate system that will stay consistent over time, you will need a localization system. While there are many sensor technologies you can implement a localization system with, lidar is one of the most common and easiest approaches to create a map and localize in it.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3071937&data=05%7C01%7Cnoah.farris%40siu.edu%7C9380a050960c4229a14f08da5cc8914e%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637924313763515455%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lZwxj05Kl4w8xZeFxHxxh2sT7AofodS5SqC8UubgUrA%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUASIZI7K5BJKHWWQKILVSFAYZANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7C9380a050960c4229a14f08da5cc8914e%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637924313763515455%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MilIjs%2F0TvjrZIzxtuVctGOAdsZV%2FZlTcBWddDK6PKw%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I haven't been able to do everything you said I should look into yet, however I did purchase a Slamtec RP Lidar A1M8 and am considering buying a Raspberry Pi 4. Do you have any suggestions about which RAM I would need? They have options for 1GB, 2GB, 4GB, and 8GB. I am thinking I will probably downsize to only two Create 3's. I am also trying to eventually coordinate the commands of a robot arm and the Create 3's from a central page, which I guess should be ROS 2, correct? I have been having connection issues with my Create 3 and have not been able to try your suggestion for navigation. Could the number of tabs I have open on my computer affect this? I am able to connect to the robot's internet and pair to it, however it still sometimes doesn't register the instructions. Do 2 Create 3's have sufficient batteries to power a Raspberry Pi 4, a Lidar sensor, a kindle tablet and a robot arm?
…________________________________
From: Justin Kearns ***@***.***>
Sent: Tuesday, July 5, 2022 1:40 AM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
The pictures aren't showing up for me. Are you using the navigate to: widget or the move then the turn widget? The navigate to widget between 0,0 and 100,0 back and forth (driving 1m forward and backward) will keep the robot position consistent longer than doing move 100 then turn 180 then move 100 back and forth. That being said, the robot's local coordinate system will drift over time, so it still won't be a solution for you for many runs.
Regarding the LIDAR, we have an example here:
https://github.com/iRobotEducation/create3_examples/tree/galactic/create3_lidar<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_examples%2Ftree%2Fgalactic%2Fcreate3_lidar&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aTmWSZDLCrEbn7StG%2BmSNtRQSegW3DizvRKjqJTtxs4%3D&reserved=0>
That uses the Slamtec RPLidar A1M8. This example will get you as far as creating a map using the Lidar and the Slam Toolbox package<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSteveMacenski%2Fslam_toolbox&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I0Wlt6nx971EDmqpRjpsg1b4EmAWo0XBqIqS5xWuU3g%3D&reserved=0>. You will have to read more about the Slam Toolbox package to understand how to save the map and localize in it. The Lidar can give obstacle avoidance within the plane that the laser is in (example, seeing walls), but it will not see obstacles above and below the laser plane. To get obstacle avoidance with navigation, the most common framework to use in ROS 2 is the Nav2 Package<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnavigation.ros.org%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2N6jLr1xXDTxX4%2BIZi5um4HM4hia8fgduvvpv1rrxrk%3D&reserved=0>. In general, to do these more advanced things, you will need to switch from the Level 2 iRobot coding app to development in ROS 2, Create 3 Examples<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_examples&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qJRl6TpNuk0gJnXU1Tht5sPk3euIp09ETr951n%2B3nIk%3D&reserved=0> is a good place to start to switch over to developing applications in ROS 2. From there you will have to dive into larger community packages in the ROS 2 ecosystem, such as Nav2 and Slam Toolbox referenced above.
Regarding your eventual goal of multiple coordinated robots to be multiple legs of a single robot, I believe it to be feasible, but will be an involved project. I think you theoretically could accomplish it with 1 Raspberry Pi 4 and 1 Lidar. If you want to use the more reliable hard wired USB connection for all Creates, you would plug in 1 Raspberry 4 via the standard Raspberry Pi 4 USB hookup example here:
https://iroboteducation.github.io/create3_docs/hw/hookup/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fhw%2Fhookup%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gij5fCFOSsEj25EGQYvFGTIiFizYN0%2BnIYbiyC7o1cs%3D&reserved=0>
then the other ones would have to attach via the USB to Ethernet converter used in the Raspberry Pi 3 hookup example. If you are doing the 4 robots, you would have to use an ethernet switch to get them all on the same network. With 4 robots on the same network, you would have to configure them with different namespaces so they don't stomp on each others topics, see more about that here: https://iroboteducation.github.io/create3_docs/setup/multi-robot/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fsetup%2Fmulti-robot%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UziO1ax6unnR5EWXii8Lh5SqHZmsvsznA9e%2FyKH6cI0%3D&reserved=0>
At that point, you will have the Raspberry Pi 4 talking to the 4 robots then you would need to coordinate the motion control between the 4 robots. You would need to write a controller that commanded velocity on the /namespace/cmd_vel topic to the 4 robots while monitoring the /namepace/odom topic of each robot to make sure they were staying in sync and compensating the command velocity of a robot that was falling behind from comms or slipping, etc... It would be a non trivial problem, so I would build up to it with ROS2 basics on one robot before you try to deal with that. You would need to feed the nav2 command output into your controller that managed the coordination of the 4 robots. You would also need to feed a single odometry state into the slam toolbox and nav2 stack, that will also need to be derived from the position of your 4 robots. With that cmd/state aggregation controller, you should be able to use the single lidar + raspberry pi 4 system to control the robot.
The Create3 has a ROS 2 action to dock itself. The dock needs to be visible to the robot to trigger this action. You can see an example of sending that action using the command line tools here:
https://iroboteducation.github.io/create3_docs/examples/actuators-cli/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fexamples%2Factuators-cli%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aSPnv1How8eajA1SjmYAHN%2FBgSG1l2DBXlYDbScvArQ%3D&reserved=0>
See the Docking example. You can also use that CLI example to Navigate To Position for the first example up above.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3082257&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oH4UA6%2BE%2B1F0APbuZbLJYsWKVBuBM%2FJ0He6Is8IYlkg%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUASCMWZ7LPJHZZD4TPLVSPKHNANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zN3pNGKcvAi5qqkMUbA14%2FmRG8xpfO8TkfvbeeDZV%2BU%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I think Raspberry Pi 4's are completely out of stock everywhere, is there an alternative?
…________________________________
From: Farris, Noah T ***@***.***>
Sent: Wednesday, July 13, 2022 11:11 PM
To: iRobotEducation/create3_docs ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
Hi, I haven't been able to do everything you said I should look into yet, however I did purchase a Slamtec RP Lidar A1M8 and am considering buying a Raspberry Pi 4. Do you have any suggestions about which RAM I would need? They have options for 1GB, 2GB, 4GB, and 8GB. I am thinking I will probably downsize to only two Create 3's. I am also trying to eventually coordinate the commands of a robot arm and the Create 3's from a central page, which I guess should be ROS 2, correct? I have been having connection issues with my Create 3 and have not been able to try your suggestion for navigation. Could the number of tabs I have open on my computer affect this? I am able to connect to the robot's internet and pair to it, however it still sometimes doesn't register the instructions. Do 2 Create 3's have sufficient batteries to power a Raspberry Pi 4, a Lidar sensor, a kindle tablet and a robot arm?
________________________________
From: Justin Kearns ***@***.***>
Sent: Tuesday, July 5, 2022 1:40 AM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
The pictures aren't showing up for me. Are you using the navigate to: widget or the move then the turn widget? The navigate to widget between 0,0 and 100,0 back and forth (driving 1m forward and backward) will keep the robot position consistent longer than doing move 100 then turn 180 then move 100 back and forth. That being said, the robot's local coordinate system will drift over time, so it still won't be a solution for you for many runs.
Regarding the LIDAR, we have an example here:
https://github.com/iRobotEducation/create3_examples/tree/galactic/create3_lidar<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_examples%2Ftree%2Fgalactic%2Fcreate3_lidar&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aTmWSZDLCrEbn7StG%2BmSNtRQSegW3DizvRKjqJTtxs4%3D&reserved=0>
That uses the Slamtec RPLidar A1M8. This example will get you as far as creating a map using the Lidar and the Slam Toolbox package<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSteveMacenski%2Fslam_toolbox&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I0Wlt6nx971EDmqpRjpsg1b4EmAWo0XBqIqS5xWuU3g%3D&reserved=0>. You will have to read more about the Slam Toolbox package to understand how to save the map and localize in it. The Lidar can give obstacle avoidance within the plane that the laser is in (example, seeing walls), but it will not see obstacles above and below the laser plane. To get obstacle avoidance with navigation, the most common framework to use in ROS 2 is the Nav2 Package<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnavigation.ros.org%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2N6jLr1xXDTxX4%2BIZi5um4HM4hia8fgduvvpv1rrxrk%3D&reserved=0>. In general, to do these more advanced things, you will need to switch from the Level 2 iRobot coding app to development in ROS 2, Create 3 Examples<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_examples&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qJRl6TpNuk0gJnXU1Tht5sPk3euIp09ETr951n%2B3nIk%3D&reserved=0> is a good place to start to switch over to developing applications in ROS 2. From there you will have to dive into larger community packages in the ROS 2 ecosystem, such as Nav2 and Slam Toolbox referenced above.
Regarding your eventual goal of multiple coordinated robots to be multiple legs of a single robot, I believe it to be feasible, but will be an involved project. I think you theoretically could accomplish it with 1 Raspberry Pi 4 and 1 Lidar. If you want to use the more reliable hard wired USB connection for all Creates, you would plug in 1 Raspberry 4 via the standard Raspberry Pi 4 USB hookup example here:
https://iroboteducation.github.io/create3_docs/hw/hookup/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fhw%2Fhookup%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gij5fCFOSsEj25EGQYvFGTIiFizYN0%2BnIYbiyC7o1cs%3D&reserved=0>
then the other ones would have to attach via the USB to Ethernet converter used in the Raspberry Pi 3 hookup example. If you are doing the 4 robots, you would have to use an ethernet switch to get them all on the same network. With 4 robots on the same network, you would have to configure them with different namespaces so they don't stomp on each others topics, see more about that here: https://iroboteducation.github.io/create3_docs/setup/multi-robot/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fsetup%2Fmulti-robot%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UziO1ax6unnR5EWXii8Lh5SqHZmsvsznA9e%2FyKH6cI0%3D&reserved=0>
At that point, you will have the Raspberry Pi 4 talking to the 4 robots then you would need to coordinate the motion control between the 4 robots. You would need to write a controller that commanded velocity on the /namespace/cmd_vel topic to the 4 robots while monitoring the /namepace/odom topic of each robot to make sure they were staying in sync and compensating the command velocity of a robot that was falling behind from comms or slipping, etc... It would be a non trivial problem, so I would build up to it with ROS2 basics on one robot before you try to deal with that. You would need to feed the nav2 command output into your controller that managed the coordination of the 4 robots. You would also need to feed a single odometry state into the slam toolbox and nav2 stack, that will also need to be derived from the position of your 4 robots. With that cmd/state aggregation controller, you should be able to use the single lidar + raspberry pi 4 system to control the robot.
The Create3 has a ROS 2 action to dock itself. The dock needs to be visible to the robot to trigger this action. You can see an example of sending that action using the command line tools here:
https://iroboteducation.github.io/create3_docs/examples/actuators-cli/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fexamples%2Factuators-cli%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aSPnv1How8eajA1SjmYAHN%2FBgSG1l2DBXlYDbScvArQ%3D&reserved=0>
See the Docking example. You can also use that CLI example to Navigate To Position for the first example up above.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3082257&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oH4UA6%2BE%2B1F0APbuZbLJYsWKVBuBM%2FJ0He6Is8IYlkg%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUASCMWZ7LPJHZZD4TPLVSPKHNANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce6306c1e1f3247a8844b08da5e514fef%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637926000588400255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zN3pNGKcvAi5qqkMUbA14%2FmRG8xpfO8TkfvbeeDZV%2BU%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi again, I found an option for an 8gb raspberry pi 4b. That would be the best thing to get, right? If I get that, and I already have the rplidar a1, should the robot finally be able to travel perfectly straight lines, or somehow find its way back to the charger? All I want is to be able to send the robot on a mission, and it be accurate enough to go exactly where I tell it and return to the charge and to be able to do this an infinite number of times without worrying that it will take off in a random direction. If I get the raspberry pi 4 b 8gb and the rplidar a1 and hook them up correctly, will I be able to do this? I’ll need the nab 2 thing also, right? This is getting kind of expensive and I want to make sure it will work. If I am trying to run two conjoined create 3s off of the same LiDAR as you seemed to think was possible, are you sure that one raspberry pi will be all I need or will I need another one? There is an intense shortage of raspberry pi’s right now, so I need to make sure I get everything I need.
…________________________________
From: Alberto Soragna ***@***.***>
Sent: Monday, July 18, 2022 4:49 PM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
Yes, simple ROS 2 applications will run with no problems on a raspberry pi 4 with 2gb of ram.
You should be able to run the navigation stack with a small lidar sensor pipeline.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3175285&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce327e7d75eba4eeb24d108da690773d5%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637937778004108394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tMNlG07Og%2BlK9uni%2FWSGs3oAfGnMxuoz9P8JPBRF%2FeE%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAR2QEEGWPJRYFNLHDDVUXGQHANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce327e7d75eba4eeb24d108da690773d5%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637937778004108394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=22tCXJ%2BTgzEco1HJkwIPUKEdK38XUqjwHPJVLaJpUnk%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi again, I got a raspberry pi 8gb board and A1 M8 Slamtec RPLIDAR scanner, and have connected them to the create 3 adapter boards via usb-c to usb-c cable as per your advice and it correctly powers the add-ons. I downloaded the Robostudio from Slamtech, but haven't been able to do any mapping yet. Could you help me understand how to download the SLAM toolbox, NAV 2 package, and ROS 2? I attempted, but the resources available are not very beginner-friendly and I was quickly lost.
…________________________________
From: Farris, Noah T ***@***.***>
Sent: Sunday, July 24, 2022 1:02 AM
To: iRobotEducation/create3_docs ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
Hi again, I found an option for an 8gb raspberry pi 4b. That would be the best thing to get, right? If I get that, and I already have the rplidar a1, should the robot finally be able to travel perfectly straight lines, or somehow find its way back to the charger? All I want is to be able to send the robot on a mission, and it be accurate enough to go exactly where I tell it and return to the charge and to be able to do this an infinite number of times without worrying that it will take off in a random direction. If I get the raspberry pi 4 b 8gb and the rplidar a1 and hook them up correctly, will I be able to do this? I’ll need the nab 2 thing also, right? This is getting kind of expensive and I want to make sure it will work. If I am trying to run two conjoined create 3s off of the same LiDAR as you seemed to think was possible, are you sure that one raspberry pi will be all I need or will I need another one? There is an intense shortage of raspberry pi’s right now, so I need to make sure I get everything I need.
________________________________
From: Alberto Soragna ***@***.***>
Sent: Monday, July 18, 2022 4:49 PM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
Yes, simple ROS 2 applications will run with no problems on a raspberry pi 4 with 2gb of ram.
You should be able to run the navigation stack with a small lidar sensor pipeline.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3175285&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce327e7d75eba4eeb24d108da690773d5%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637937778004108394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tMNlG07Og%2BlK9uni%2FWSGs3oAfGnMxuoz9P8JPBRF%2FeE%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAR2QEEGWPJRYFNLHDDVUXGQHANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce327e7d75eba4eeb24d108da690773d5%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637937778004108394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=22tCXJ%2BTgzEco1HJkwIPUKEdK38XUqjwHPJVLaJpUnk%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Also, I was trying to follow the github guide for installing the lidar, but it kept mentioning a sbc without explaining the acronym so I got lost there too.
…________________________________
From: Farris, Noah T ***@***.***>
Sent: Tuesday, August 9, 2022 12:45 PM
To: iRobotEducation/create3_docs ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
Hi again, I got a raspberry pi 8gb board and A1 M8 Slamtec RPLIDAR scanner, and have connected them to the create 3 adapter boards via usb-c to usb-c cable as per your advice and it correctly powers the add-ons. I downloaded the Robostudio from Slamtech, but haven't been able to do any mapping yet. Could you help me understand how to download the SLAM toolbox, NAV 2 package, and ROS 2? I attempted, but the resources available are not very beginner-friendly and I was quickly lost.
________________________________
From: Farris, Noah T ***@***.***>
Sent: Sunday, July 24, 2022 1:02 AM
To: iRobotEducation/create3_docs ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
Hi again, I found an option for an 8gb raspberry pi 4b. That would be the best thing to get, right? If I get that, and I already have the rplidar a1, should the robot finally be able to travel perfectly straight lines, or somehow find its way back to the charger? All I want is to be able to send the robot on a mission, and it be accurate enough to go exactly where I tell it and return to the charge and to be able to do this an infinite number of times without worrying that it will take off in a random direction. If I get the raspberry pi 4 b 8gb and the rplidar a1 and hook them up correctly, will I be able to do this? I’ll need the nab 2 thing also, right? This is getting kind of expensive and I want to make sure it will work. If I am trying to run two conjoined create 3s off of the same LiDAR as you seemed to think was possible, are you sure that one raspberry pi will be all I need or will I need another one? There is an intense shortage of raspberry pi’s right now, so I need to make sure I get everything I need.
________________________________
From: Alberto Soragna ***@***.***>
Sent: Monday, July 18, 2022 4:49 PM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
Yes, simple ROS 2 applications will run with no problems on a raspberry pi 4 with 2gb of ram.
You should be able to run the navigation stack with a small lidar sensor pipeline.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3175285&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce327e7d75eba4eeb24d108da690773d5%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637937778004108394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tMNlG07Og%2BlK9uni%2FWSGs3oAfGnMxuoz9P8JPBRF%2FeE%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAR2QEEGWPJRYFNLHDDVUXGQHANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce327e7d75eba4eeb24d108da690773d5%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637937778004108394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=22tCXJ%2BTgzEco1HJkwIPUKEdK38XUqjwHPJVLaJpUnk%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi there! This is a bit unrelated to the main question in this thread, but when I began using the Create 3, I was a complete beginner with ROS 2, Linux and Raspberry Pi's. I looked around online, and I found the below course EXTREMELY helpful in getting some basic understanding of ROS 2 and what I could use it for. The construct has tons of resources available for free on the subject, and a few of them can be used to understand mapping and other project goals that you've referenced here! https://youtu.be/LUL_1xh3R4M
Related courses & tutorials: Here's also an Open Class that they offered to cover Nav2 with SLAM: https://www.youtube.com/watch?v=rZOxPGCn4QM |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
![image](https://user-images. I don't know how to add a picture, I tried saving it and attaching it, and dragging and dropping it here, but I don't think it worked. Just know that I 3d printed and attached the LIDAR connector parts and have the lidar and raspberry pi connected to the robot and working. I also see the blue light working, which indicates the create 3 is in Bluetooth mode. If you have any suggestions about the images, let me know. |
Beta Was this translation helpful? Give feedback.
-
did that work? |
Beta Was this translation helpful? Give feedback.
-
how do I get the raspberry pi on the same wifi network? do I need to turn bluetooth mode off then? I thought I needed bluetooth on to control the robot through python.
…________________________________
From: Steven Shamlian ***@***.***>
Sent: Thursday, August 18, 2022 9:22 AM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
The SLAM demo won't talk to your Raspberry PI over USB with the adapter board in Bluetooth mode (I can see you're in Bluetooth mode since the blue light is on), but it will talk if the Pi and robot and your laptop are all on the same Wi-FI network.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3423450&data=05%7C01%7Cnoah.farris%40siu.edu%7Cae784bbcd52a4d122d6e08da81251f37%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964293683099224%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0F4d%2BPDRHas3bawZe6sss7y7hcSk0StCM%2Ba1vvvWoXA%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAXUO7DR7JUEETTXFBTVZZBLNANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Cae784bbcd52a4d122d6e08da81251f37%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964293683099224%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h2T5yAlOzHYovpOJ2m1PC0s%2ByuN2hMUJfIn8paVtRzY%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
what is incorrect about the way I set up the LIDAR, to me it looks the same as your example |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is there a way to permanently connect my robot to my computer so I don't have to connect it to wifi every time I use it, and thus lose my internet connection?
…________________________________
From: Farris, Noah T ***@***.***>
Sent: Thursday, August 18, 2022 9:38 AM
To: iRobotEducation/create3_docs ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
Ok, so I need to move it one row of holes closer to the on buttons, right? How do I turn on my bluetooth radio? So I will need to do the phase 3 connect to wifi for ros 2 users steps?
________________________________
From: Steven Shamlian ***@***.***>
Sent: Thursday, August 18, 2022 9:31 AM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] Straight repeatable paths with Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
It's not in the same orientation or position relative to the rest of the robot...
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3423519&data=05%7C01%7Cnoah.farris%40siu.edu%7C5f0e0a63ed9e42debe3808da81265338%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964298850889662%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=N%2FEPu8%2FSZbzbv3R00IgN50gnI6chfwB44x56UiYZz9M%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUATYZ5EW2J5IXEMIMKLVZZCLVANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7C5f0e0a63ed9e42debe3808da81265338%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964298850889662%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AxCnFpYFfARXS6lN%2BLgvaUCH6LKfYiN1HCUwp9znsJ4%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Steven, do you know how to open a "file manager" on a windows laptop? I got through the first steps of setting up the raspberry pi to connect to internet to control the Create 3 but did not know what a file manager is or how to open one. Thanks
[cid:cefdfeba-fd6d-4fa4-b670-8b077a40d3be]
…________________________________
From: Steven Shamlian ***@***.***>
Sent: Thursday, August 18, 2022 12:23 PM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] General questions about a particular application of Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
That's completely up to you -- if you want to preserve whatever is on that card, then you'll have to get another card; otherwise, you could back that card up first and then overwrite it.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3425469&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce406a6ddfca3489965ce08da813e6fd8%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964402408723575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SDrF8TULf4BrKX3h95TyLpw%2FJGH0BUZW%2BW0qm%2FCNjEA%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAQZGYW4N5X2655E33LVZZWS5ANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce406a6ddfca3489965ce08da813e6fd8%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964402408723575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=b4h8GcOc1Hude%2BrAvHWDcMtIwc6kwvFK%2F%2BqXhKYklpE%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
?
…________________________________
From: Farris, Noah T ***@***.***>
Sent: Sunday, August 21, 2022 11:49 AM
To: iRobotEducation/create3_docs ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] General questions about a particular application of Create 3 (Discussion #100)
Hi Steven, do you know how to open a "file manager" on a windows laptop? I got through the first steps of setting up the raspberry pi to connect to internet to control the Create 3 but did not know what a file manager is or how to open one. Thanks
[cid:cefdfeba-fd6d-4fa4-b670-8b077a40d3be]
________________________________
From: Steven Shamlian ***@***.***>
Sent: Thursday, August 18, 2022 12:23 PM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] General questions about a particular application of Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
That's completely up to you -- if you want to preserve whatever is on that card, then you'll have to get another card; otherwise, you could back that card up first and then overwrite it.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3425469&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce406a6ddfca3489965ce08da813e6fd8%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964402408723575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SDrF8TULf4BrKX3h95TyLpw%2FJGH0BUZW%2BW0qm%2FCNjEA%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAQZGYW4N5X2655E33LVZZWS5ANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Ce406a6ddfca3489965ce08da813e6fd8%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637964402408723575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=b4h8GcOc1Hude%2BrAvHWDcMtIwc6kwvFK%2F%2BqXhKYklpE%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Noah, I want to make sure that you've had a chance to watch the entire official setup video for the Create 3. This walks through crucial steps such as firmware update, connecting to Wi-Fi, faceplate removal, installing ROS 2 on your computer, and calling your first ROS 2 commands. Regarding Raspberry Pi setup, my recommendations below are in reference to the official Create 3 Advanced Documentation Site Step 1: Download Ubuntu® Server 20.04 64-bit and write onto a microSD card.
Steps 2-4: These steps instruct you to edit a series of files in the system-boot partition.
Step 5: Remove the faceplate from the Create 3. Change the switch on the Adaptor board from Bluetooth to USB mode. Step 6: Insert the microSD card into the Raspberry Pi® 4, and then use a USB-C to USB-C cable to connect the Raspberry Pi® 4 to the Create® 3. NOTE: So far, we have been doing this "headless," meaning there is no external monitor connected to your Pi. For beginners, it can be nice to connect a monitor/ USB keyboard to the Pi so that you can easily check that your Wi-Fi connected properly and note your pi's IP address. This person has created a tutorial showing how to hook up an official Raspberry Pi keyboard/monitor/mouse, but most keyboards and monitors should do the trick (I use my television as a monitor!).
Step 7: SSH into your Raspberry Pi
Step 10: If installation went smoothly, you should be able to type 'ros2 topic list' into terminal and see the following list: You should then be able to follow the last step in the Create 3 setup video from 18:30-19:20 where you send your first ROS 2 commands to dock/undock your robot. Let me know if this works for you. If it's successful, I can provide instructions on how to run the teleop twist program on your create to drive it around a room with a keyboard. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Rebecca,
I hope you are doing well. I am having a little bit of difficulty with Steps 2-4. I couldn't find the Ubuntu server 20.04.2, I think they updated to version 22.04.2, so I downloaded that and wrote it on the SD Card, and attempted to follow your instructions by ejecting and reinserting the SD Card. After that I kind of got lost in the weeds, could you help me with what to do next? I downloaded an app called "basic text editor" but I don't know what to do with it or where to go from here. Sorry for taking so long to reply, I have been super busy, but very much appreciate your expertly detailed setup guide. Thanks
…________________________________
From: Rebecca-iRobot ***@***.***>
Sent: Monday, August 22, 2022 9:55 PM
To: iRobotEducation/create3_docs ***@***.***>
Cc: Farris, Noah T ***@***.***>; Author ***@***.***>
Subject: Re: [iRobotEducation/create3_docs] General questions about a particular application of Create 3 (Discussion #100)
[EXTERNAL EMAIL ALERT]: Verify sender before opening links or attachments.
Hi Noah,
I want to make sure that you've had a chance to watch the entire official setup video for the Create 3<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUeLHrAvZ_h0&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190280267%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XD3L7X3cF5Nde9fNzJVp3ANt8C0hv5UDk5%2BwZUm8Vlk%3D&reserved=0>. This walks through crucial steps such as firmware update, connecting to Wi-Fi, faceplate removal, installing ROS 2 on your computer, and calling your first ROS 2 commands.
Regarding Raspberry Pi setup, my recommendations below are in reference to the official Create 3 Advanced Documentation Site<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fsetup%2Fpi4%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hc%2BUy6N14Q3F6%2Fk00y5ssX6Rah8ICtWHjNaEuPxykoE%3D&reserved=0>
Step 1: Download Ubuntu® Server 20.04 64-bit<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fubuntu.com%2Ftutorials%2Fhow-to-install-ubuntu-on-your-raspberry-pi%231-overview&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7t8nfmpedEYHtx%2BilbGkpjsbOXVIgRWWfs3TaTy3chQ%3D&reserved=0> and write onto a microSD card.
* First, I connect the microSD card to my laptop with an SD card reader.
* My favorite way to load Ubuntu onto an SD card is with Raspberry Pi imager. You can see a person demonstrate this in this tutorial on youtube<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeCknRpMj9uc&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pvE%2FCBO8MCEEGVHVKzqfo5q7RsTEyKYG7Rmr3VcCV70%3D&reserved=0> from 0:00-2:00.
* Once Ubuntu has been loaded onto the card, eject it from your computer and then plug it back into your computer to edit some of the files you just created.
Steps 2-4: These steps instruct you to edit a series of files in the system-boot partition.
* For me, this looked like opening the microSD card on my computer (like I would open a flash drive or a folder). Next, I find the specified files and open them with TextEdit (or the Windows equivalent of a plain text editor) followed by pasting in the updates and saving the files.
* Note that in Step 4, whichever Wi-Fi network you fill into the network-config file should be the same network you previously connected to your Create 3.
Step 5: Remove the faceplate from the Create 3. Change the switch on the Adaptor board<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fhw%2Fadapter%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U7AdBq9YFLnojmh3csmbHmZ%2BYktBO9LGGAzKt6Exhoo%3D&reserved=0> from Bluetooth to USB mode.
Step 6: Insert the microSD card into the Raspberry Pi® 4, and then use a USB-C to USB-C cable to connect the Raspberry Pi® 4 to the Create® 3.
A photo of this connection can be found here<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fhw%2Fhookup%2F%23raspberry-pi-4&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LkdMbNqFYCBlPyE1NQ9MLHSiVPIKJ6uJ9yFD3oxD%2BpQ%3D&reserved=0>. The first boot may take a few minutes.
NOTE: So far, we have been doing this "headless," meaning there is no external monitor connected to your Pi. For beginners, it can be nice to connect a monitor/ USB keyboard to the Pi so that you can easily check that your Wi-Fi connected properly and note your pi's IP address. This person<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dfp1FaHIBd_c&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7jJgMRh6aDVtzYEaydwTiAI4xHFVycamIEZJiorpGwo%3D&reserved=0> has created a tutorial showing how to hook up an official Raspberry Pi keyboard/monitor/mouse, but most keyboards and monitors should do the trick (I use my television as a monitor!).
* With a keyboard and monitor set up, you'll be able to easily find your Pi's IP address. This tutorial<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeCknRpMj9uc&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pvE%2FCBO8MCEEGVHVKzqfo5q7RsTEyKYG7Rmr3VcCV70%3D&reserved=0> from 2:00-2:30 shows how to log into your pi.
* Enter username ubuntu and password ubuntu. Note that the terminal will hide the characters as you type the password, so it will look like nothing is happening. Just hit 'enter' when you're done and it will log you in.
* After logging in, you'll be prompted to update your password.
* Next, you can type "ip addr show" and hit 'enter' to inspect the internet connection details. The IP address of your Pi should show in the section labeled eth0. It usually starts with 192.
* After retrieving your Pi's IP address, you may disconnect the keyboard and monitor.
Step 7: SSH into your Raspberry Pi
* Once you've gotten your pi's IP address, you're ready to log in remotely from your computer. This tutorial<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeCknRpMj9uc&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pvE%2FCBO8MCEEGVHVKzqfo5q7RsTEyKYG7Rmr3VcCV70%3D&reserved=0> from 2:30-3:30 shows this step.
* On your laptop, open Terminal. Log into your Pi by typing: ***@***.*** pi's IP address]
* Type 'yes' to add a key fingerprint.
* Enter the Pi's new password when prompted.
* You are now logged into your Raspberry Pi from your laptop. Keep this terminal window open, as you'll use it in the next section to install ROS 2 on the Pi.
* Follow Steps 7-10 on https://iroboteducation.github.io/create3_docs/setup/pi4/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Firoboteducation.github.io%2Fcreate3_docs%2Fsetup%2Fpi4%2F&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hc%2BUy6N14Q3F6%2Fk00y5ssX6Rah8ICtWHjNaEuPxykoE%3D&reserved=0> in the terminal of your computer. Take care to copy and paste each single line of code individually into terminal so as to ensure there are no errors.
Step 10: If installation went smoothly, you should be able to type 'ros2 topic list' into terminal and see the following list:
/battery_state /cmd_audio /cmd_lightring /cmd_vel /dock /hazard_detection /imu /interface_buttons /ir_intensity /ir_opcode /kidnap_status /mouse /odom /parameter_events /rosout /slip_status /stop_status /tf /tf_static /wheel_status /wheel_ticks /wheel_vels
Let me know if this works for you. If it's successful, I can provide instructions on how to run the teleop twist program on your create to drive it around a room with a keyboard.
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FiRobotEducation%2Fcreate3_docs%2Fdiscussions%2F100%23discussioncomment-3452572&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l8971gHSjHNoj9bmNoCqGHwoUCPLy7tlknsqzlbtQts%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZFXUAT3QSNEX67AYJIVCCLV2Q4RHANCNFSM52P54UMA&data=05%7C01%7Cnoah.farris%40siu.edu%7Cfbcb4ec2f84e43fb6ace08da84b2e861%7Cd57a98e7744d43f9bc9108de1ff3710d%7C0%7C0%7C637968201190436509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Io%2FoQrK%2Fi3dCu5oO5AypZDBYhW6FdCUBHgVA%2BzxDPiQ%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi there! The instructions that I provided in this thread do require Ubuntu 20.04 to work correctly. You can use Raspberry Pi Imager to flash Ubuntu 20.04 onto your SD card following the instructions below:
Another create user also just shared a very helpful tutorial, in case you'd like to follow their instructions as well! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi there! I suggest waiting to setting up the lidar camera until you have the raspberry pi setup. In my opinion, conquering the beginner tasks before jumping into advanced projects is the best way to approach learning new tech 😄 Since you asked for greater clarity on Steps 2-4 in the Connect Create® 3 to Raspberry Pi® 4 and set up ROS 2 Galactic tutorial: Editing the System-Boot Partition:
D. Replace myhomewifi, with your wi-fi network name inside quotation marks (example: “yourhomenetwork”)
F. Save the edits to the file and then close it.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am having significant difficulty getting my Create 3 to reliably travel on straight path, turn, and return to its starting position. All I want is to be able to run a mission repeatedly without having to worry about the robot wandering off and crashing into something. Even on flat surfaces I am having this problem. Does anyone know how to get it to travel in straight lines, and precise turns, and reliably come back to the starting point? I have been told it may be to inaccuracies with the gyroscope, is there an easy way to fix this? Do I need to get a better gyroscope, if so, how difficult is that to get to work? Is there something I can do with python or somehow calibrate the existing gyroscope in the Create 3? Do I need lidar? I'm pretty new to robotics, so if you have any technical solutions, please provide instructions! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions