ROS on Raspberry PI...
 

ROS on Raspberry PI 3B+ progress report.  

Page 5 / 5
  RSS

soumitra
(@soumitra)
Trusted Member
Joined: 4 months ago
Posts: 62
2019-09-26 4:36 pm  

@spyder

Do you want me to send u a ready installed image on 128 GB SD, i can do that, by post. Not an issue.


ReplyQuote
Spyder
(@spyder)
Reputable Member
Joined: 4 months ago
Posts: 427
2019-09-26 7:49 pm  

@sdey76

Thank You !

I may actually take you up on that... 

As soon as I fail, which is one of the very few things I feel exceedingly qualified to do where ROS is concerned

However, I'm not at that point yet (yet, wait for it. I'm sure it's coming) Right now I'm at the point where I'm skipping the pages with the software for the $500 camera, or the much cheaper $450 camera

Obviously the fact that I was able to blow $100 on the Jetson means to these people that I can easily part with another $500 for a camera

I do have one of those xbox 360 3d scanner things (kinect) that I bought on ebay for $20 so I could scan images of people to make statues to print on my 3d printer, and I also bought the picam v2.0. I'n already using the picam on the jetbot, and it sorta works (except for the part about "free" and "blocked", which I'm having a bit of an issue with) 

What are you using for vision ?

I'm about to start looking for motor controller packages (if that's even a thing)


ReplyQuote
Spyder
(@spyder)
Reputable Member
Joined: 4 months ago
Posts: 427
2019-09-27 2:04 am  

@sdey76

Okay. It didn't fail, but, the picam doesn't come on unless I issue an instruction from the desktop, and the oled doesn't come on at all

Obviously I need to make something happen at boot time

I found a script for it, but it looks like its written for jetbot

import argparse
import getpass
import os

STATS_SERVICE_TEMPLATE = """
[Unit]
Description=JetBot stats display service

[Service]
Type=simple
User=%s
ExecStart=/bin/sh -c "python3 -m jetbot.apps.stats"
WorkingDirectory=%s
Restart=always

[Install]
WantedBy=multi-user.target
"""

STATS_SERVICE_NAME = 'jetbot_stats'

def get_stats_service():
return STATS_SERVICE_TEMPLATE % (getpass.getuser(), os.environ['HOME'])

if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--output', default='jetbot_stats.service')
args = parser.parse_args()

with open(args.output, 'w') as f:
f.write(get_stats_service())

So it's just a naked ROS right now I guess. I could install various packages i suppose, like deep learning, jetbot, inference... ?

What package did you install on yours to make it move ? And how do I tell it what motor controller I have ?

Although, I guess if I install the jetbot part that should already be set


ReplyQuote
soumitra
(@soumitra)
Trusted Member
Joined: 4 months ago
Posts: 62
2019-10-03 6:49 pm  

@spyder

Hi spyder

Packages i used was

Gmapping for map generation

Move base 

For Vision used opinni .. for xbox 360, you can search openini ros for launch packages including depth image to laser scan

RPLIDAR- ros for navigation laser

Dwa planner for path planning 

Rossserial arduino for the arduino mega communication with ros. 

Imu mpu 6050 for imu data i2c for communication with ardunino mega

All are in ros org u have to go through the build process gradually 

BTS7960 foe motor control 

I have done two online courses on udemy site to learn ROS and ros navigation. This helped me to make the packages step by step right from installing ROS to building packages.

 

Thanks

 

 

 

 


ReplyQuote
Spyder
(@spyder)
Reputable Member
Joined: 4 months ago
Posts: 427
2019-10-04 12:37 am  

@sdey76

Which course did you take at udemy ?

It looks like a sale going on $11.99 for each ROS course


ReplyQuote
soumitra
(@soumitra)
Trusted Member
Joined: 4 months ago
Posts: 62
2019-10-04 9:05 am  

@spyder

Hii

You check ROS Course in Udemy by Professor Anis Kobuaa

 

1. Basics , Motion, Open CV

2. ROS Navigation

ROS for Beginners: Basics, Motion, and OpenCV

Become an expert and Learn Robotics with Robot Operating System (ROS) in little time and don't be lost in broad docs
BESTSELLER
4.4 (974 ratings)
 
4,193 students enrolled
Created by Anis Koubaa
Last updated 7/2019
 English
 English [Auto-generated], Italian [Auto-generated]

ReplyQuote
Page 5 / 5

Please Login or Register