Skip to content

lesaf92/padawan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PADAWAN: Pixel Aware Differential-drive Autonomous robot With Artificial Neural networks

Code for the PADAWAN robot

The robot structure aims to be simple as possible. Using ROS and basic hardware, one should be able to power up the robot and start testing and probing. The objective is to collect data easy and quick to test computer vision algorithms. Some things the Pi3B will not be able to handle, naturally a more powerfull computer in the same network can process and send the results via ROS

Hardware

  • Raspberry Pi 3 B
  • 2x DC motors
  • L298N motor driver board
  • Picam V2.1
  • MPU9250 9-axis IMU
  • 12 V battery

Software

  • Ubuntu 20.04
  • ROS Noetic

Some useful details for understanding the robot.

  • Libraries or packages installed

    • imusensor (using the setup.py script instead of "pip install")
  • ROS nodes

    • raspicam_node
    • motor_driver (custom pkg)
    • imu_driver (custom pkg)

L298N board schematic

Raspberry Pi 3B pinout usage

IMU axis and mount position

For quick reference when creating executable python scripts:

git update-index --chmod=+x file.sh
chmod +x file.sh

git add .
git commit -m 'commit message'
git push origin main

TODO list

  • drive motors
  • read camera in decent fps
  • read IMU in decent Hz
  • create a node for the motors
  • create a node for the camera
  • create a node for the IMU
  • bringup at boot
  • (basic) process camera image and republish
  • navigate based on the image processed
  • estimate using IMU only
  • navigate based on IMU estimation and processed image
  • (not so basic) process camera image
  • create a node for calibrating IMU or perform calibration at start
  • create rviz models and tfs

About

Raspberry pi code for PADAWAN robot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published