Help with real robot #27
Replies: 79 comments 228 replies
-
A1M8 and L298 are fine. |
Beta Was this translation helpful? Give feedback.
-
L298 |
Beta Was this translation helpful? Give feedback.
-
Take some picture of your wiring. esp32 power from usb of rpi. MPU6050 power from VOUT 5V of esp32. L298 uses on-board 5V jumper plug. You will need a 3.3V regulator (LM1117 etc) for encoder ,from L298 5V output. |
Beta Was this translation helpful? Give feedback.
-
esp32 i/o pins assignment |
Beta Was this translation helpful? Give feedback.
-
2WD unused pwm 13 12 4 23 encoder 32 27 26 25 pins leave unconnected. You need 33K and 10k for battery voltage sensor. It is important to debug motor issue. |
Beta Was this translation helpful? Give feedback.
-
laptop --wifi -- rpi --usb-- A1M8 and esp32 |
Beta Was this translation helpful? Give feedback.
-
Jetson nano SDK uses ubuntu 18.04 You can try community image, |
Beta Was this translation helpful? Give feedback.
-
You can try docker on jetson nono. |
Beta Was this translation helpful? Give feedback.
-
"Docker is included in JetPack, so running containers on Jetson is easy and does not require any installation. " https://developer.nvidia.com/embedded/learn/tutorials/jetson-container |
Beta Was this translation helpful? Give feedback.
-
https://github.com/Qengineering/Jetson-Nano-image https://github.com/jetsonhacks/bootFromUSB https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image https://kalanaratnayake.medium.com/reviving-jetson-nano-with-ubuntu-20-04-2dc1f82b18f4 |
Beta Was this translation helpful? Give feedback.
-
You can use either docker or lxd. docker is is easier to share and more popular. There are official ros2 docker images. https://roboticseabass.com/2023/07/09/updated-guide-docker-and-ros2/ https://docs.ros.org/en/jazzy/How-To-Guides/Run-2-nodes-in-single-or-separate-docker-containers.html https://docs.ros.org/en/iron/How-To-Guides/Setup-ROS-2-with-VSCode-and-Docker-Container.html https://github.com/DominikN/ros2_docker_examples https://divyanshu-raj.medium.com/ros-2-with-docker-part-1-9060f3095811 I use lxd heavily for many years. https://documentation.ubuntu.com/lxd/en/latest/tutorial/first_steps/ |
Beta Was this translation helpful? Give feedback.
-
You should update to Jazzy. Most humble example code will work. |
Beta Was this translation helpful? Give feedback.
-
andino looks good. |
Beta Was this translation helpful? Give feedback.
-
It seem the vol mapping does not work.
We will need to look into this. |
Beta Was this translation helpful? Give feedback.
-
You may try update the map and build again. |
Beta Was this translation helpful? Give feedback.
-
#define MOTOR_MAX_RPM 150 // motor's max RPM |
Beta Was this translation helpful? Give feedback.
-
You should adjust the above parameters to your. |
Beta Was this translation helpful? Give feedback.
-
Make sure the imu and lidar are in correct orientation. https://github.com/hippo5329/linorobot2_hardware/wiki#configure-urdf-in-linorobot2 https://github.com/hippo5329/linorobot2_hardware/wiki#velocity-smoother---optional You can describe your problem in more details. Or take videos. |
Beta Was this translation helpful? Give feedback.
-
https://www.youtube.com/watch?v=X4mbGX4B3Lo&ab_channel=LucasTetsuyaKuwae%28Lucas%29 I see they just need to put their foot in the registration area, after identifying the object to be followed, it will follow and always keep a distance from the object (a person in this case). I think this feature is very good, right? I also want to do this following human feature. By the way, today is Vietnamese Teachers' Day, you have helped me in the past time, I wish you always strong and successful. |
Beta Was this translation helpful? Give feedback.
-
https://automaticaddison.com/how-to-create-an-object-following-robot-ros-2-navigation/ https://docs.nav2.org/tutorials/docs/navigation2_dynamic_point_following.html |
Beta Was this translation helpful? Give feedback.
-
I will do some tests and share with you when I walk through. |
Beta Was this translation helpful? Give feedback.
-
The RMW broadcast does not work between docker and the host. So you will need to choose either one, but not both.
To install foxy on host, https://github.com/hippo5329/linorobot2_hardware/wiki#install-linorobot2-on-ubuntu-2004-and-foxy |
Beta Was this translation helpful? Give feedback.
-
It is because you wanted humble. :) |
Beta Was this translation helpful? Give feedback.
-
I remember the ubuntu 22.04 jetson docker image has some nvidia updates. You can also try person detection inside docker. |
Beta Was this translation helpful? Give feedback.
-
@hippo5329 wiring same as the works I did before. But my Pico doesn't work. It doesn't show up a /ttyACM0. I thought it was dead but when I unplugged the Pico from my PCB, it worked again. 🥲 do you have any ideas... help me, pls. ah, I also use this motor for a bigger robot https://vi.aliexpress.com/i/4000945809249.html?gatewayAdapt=glo2vnm |
Beta Was this translation helpful? Give feedback.
-
You should connect the VCC pin on the motor to 3.3V from LM1117-3.3. Do not use 5V. |
Beta Was this translation helpful? Give feedback.
-
Hi @hippo5329, see your robot tank very interesting.
now, I don't have a LD19 lidar and Driver for Robots like you, I have an A1M8, and L298. Should I buy a new Driver? (In that case, I must order from abroad. yeah It'll take a long time 😄 )
here is a sample I'm doing with
Beta Was this translation helpful? Give feedback.
All reactions