-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMU on Waveshare board #36
Comments
There is no need to do soldering on the waveshare board. The IMU is connected. If you will have a robot computer such asrpi4/5 or mini pc/laptop on your robot, you should use serial transport and build with, If you do not have a robot computer, you will use wifi transport and build with, After the test_sensors works, you will need to update the motor/wheel parameters in the configuration file, config/custom/gendrv_config.h or gendrv_wifi_config.h . |
Only if you use wifi transport and LD19 lidar, you will use lidar forwarder and need to add a jumper wire to the on board header to connect the lidar rx data to io4. This can be done with a short regular female to female Dupont cable, which is popular in arduino projects. |
I have a raspi 4 directly attached to the wave share 40pin. Is the serial transport for the esp32<->Pi connection (i.e. for pio etc.)? I started by usbc to usba cable between the wave share and the raspi. Maybe I don't need that? |
Only power and i2c are connected on the 40 pins header. You may check the schematic. There is no serial connection. You should connect the usb-c cable on wareshare board to pi. You will use serial transport and connect your lidar to pi directly. |
Thanks. So linorobot_hardware/config/custom/gendrv.h takes the place of linorobot_hardware/config/config.h What does gendrv mean? |
gendrv is Waveshare General Driver for robot. :) |
So wherever the pio package name esp32 shows up in your instructions I should say gendrv correct?
Pito
… On Dec 16, 2024, at 2:02 PM, Thomas Chou ***@***.***> wrote:
gendrv is Waveshare General Driver for robot. :)
The imu driver, motor drivers and encoders pins on waveshare board are configured. You will need to change the motor/wheel parameters though.
—
Reply to this email directly, view it on GitHub <#36 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAK5CKL6WOFAVPGYYO7DZ32F4PWFAVCNFSM6AAAAABTWN7CA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBWGQYTCNBYGA>.
You are receiving this because you authored the thread.
|
Yes. Please use gendrv instead of esp32 as platformio env. We use env to specify board. esp32 is generic. https://github.com/hippo5329/linorobot2_hardware/wiki#configuration-examples I would create a custom env/config for each robot build. You may use gendrv as a template and make a custom env/config later. https://github.com/hippo5329/linorobot2_hardware/wiki#custom-configuration-file---recommended |
Microros is talking to ROS2 successfully. Now I am on to the IMU. Your instructions require me to do some soldering etc. I have a friend who can help me. But what stands in the way of relying on the IMU connection to the ESP32 that already exists on the board?
The text was updated successfully, but these errors were encountered: