Can you help me with my rover vehicle?
I want to build a rover. But I don't know which packages and which topics I should use in Ros. About my vehicle
-Arduino atmega 2560
-Raspberry pi 4 8GB
RepRamps shield mounted on Arduino
- RepRamps 1.4
Scara model robot arm and inverse kinematics equation in robot arm part
- A4988 engine driver
- Nema 17 stepper motor
- Endstop
DC motors mounted on the wheels of the vehicle
-L298N motor driver
- DC motor
Camera IntelD435 depth camera mounted on the robot arm of the vehicle
-- Intel D435 depth camera
Lidar 360 for mapping
-- RPLIDAR A1M8 - 360
I'm using OpenCV and Tensorflow for the image processing event from the camera. I am using Python and C++. My aim is to move the nema motors with my inverse kinematics function according to the x.y values coming from the camera.
Moving my dc motors by mapping with my lidar sensor
but there is a point I can't do, I couldn't understand how to write both my nema and dc motor codes in my single arduino atmega card. 1-Which packages do I need to use threads and messages? \n 2-How do I write nema and dc motor codes in a single arduino?