Help with real robot #27
Replies: 87 comments 244 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.
-
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, Happy New Year! and hope you had a wonderful holiday 👍 |
Beta Was this translation helpful? Give feedback.
-
HaHa. Ok. Please check the lidar in the docker.
Make sure the rw permission is like this,
Then view the lidar in the docker,
|
Beta Was this translation helpful? Give feedback.
-
There is no need to do "docker compose build". You can run "docker compose up ..." directly. As you mentioned about disk space, have you cleaned up the space? Latency.. |
Beta Was this translation helpful? Give feedback.
-
You may try delete the linorobot2 and clone again. Make sure you edit the docker/.env.
|
Beta Was this translation helpful? Give feedback.
-
After you made a new board, did you run through all the test_motors test_sensors and test_acc? Check all the topics hz, eg /imu/data /scan. |
Beta Was this translation helpful? Give feedback.
-
Please run a ros2 docker, build and view the lidar. Check the scan hz. This should be the same as in linorobot2 docker. |
Beta Was this translation helpful? Give feedback.
-
Good. The lidar worked though rviz failed because we did not install webtop. Did you save your previous .env? Please post your .env. |
Beta Was this translation helpful? Give feedback.
-
The .env file is fine. Do you have another micro-sd? Please try create another jetson image. Or you can try usb disk. |
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