Fwd: [ubiquity_robots] Raspberry Pi and ROS (Robotic Operating System): 5 Steps

269 views
Skip to first unread message

Alan Federman

unread,
Dec 12, 2017, 1:36:48 PM12/12/17
to hbrob...@googlegroups.com
A good getting started guide. I would suggest getting the SD card image from: downloads.ubiquityrobotics.com and using a 16g SD card. A Pi 3, a USB mouse and keyboard, an HDMI cable and away you go. We are also working on a VM for those inflicted with Windows and Mac OS systems.

Alan Federman, from my phone.

---------- Forwarded message ----------
From: Alan Federman <alan.f...@gmail.com>
Date: Dec 12, 2017 6:44 AM
Subject: [ubiquity_robots] Raspberry Pi and ROS (Robotic Operating System): 5 Steps
To: Ubiquity <ubiquit...@googlegroups.com>
Cc:

http://www.instructables.com/id/Raspberry-Pi-and-ROS-Robotic-Operating-System/

Found this guide we should reference or use as guide for our own version.

--
You received this message because you are subscribed to the Google Groups "Ubiquity_Robots" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ubiquity_robo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Albertson

unread,
Dec 12, 2017, 2:14:34 PM12/12/17
to hbrob...@googlegroups.com
No. Skip the mouse, keyboard and monitor.  The Pi3 has WiFi.  Just do a ssh login to the Pi over the WiFi.

I assume you will busing the Pi inside a robot.  The robot is not going to have a monitor and keyboard on it

How to get ROS on the Pi.?  The best way is to follow the instructions on the ROS web site.
Yes there are other places to go for instructions and links.  But www.ros.org should be your "go to"
source of information on this.  Then if you run into problem there is a link to answers.ros.org on the page below

The entire process takes about 15 minutes.

ROS installs on the Pi3 reasonable fast using "sudo apt-get install ...."



To unsubscribe from this group and stop receiving emails from it, send an email to ubiquity_robots+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.

For more options, visit https://groups.google.com/d/optout.



--

Chris Albertson
Redondo Beach, California

Camp Peavy

unread,
Jan 15, 2018, 6:08:16 PM1/15/18
to hbrob...@googlegroups.com
Interesting... the "Description" paragraph points back to the Ubiquity site (Ubuntu Mate 16.04 and ROS Kinetic) . Question? How does one get the IP address of the Pi without a monitor?
 
Thanks,
Camp


From: Chris Albertson <alberts...@gmail.com>
To: hbrob...@googlegroups.com
Sent: Tuesday, December 12, 2017 11:14 AM
Subject: Re: [HBRobotics] Fwd: [ubiquity_robots] Raspberry Pi and ROS (Robotic Operating System): 5 Steps

--

Chris Albertson
Redondo Beach, California
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.

Alan Federman

unread,
Jan 15, 2018, 6:30:26 PM1/15/18
to hbrob...@googlegroups.com
This needs to be updated. I recommend getting the latest  lubuntu Ubiquity image from the downloads site and then building the Neato nodes from SV-ROS.

Alan Federman, from my phone.

Camp Peavy

unread,
Jan 15, 2018, 7:28:01 PM1/15/18
to hbrob...@googlegroups.com
This needs to be updated. I recommend getting the latest  lubuntu Ubiquity image from the downloads site and then building the Neato nodes from SV-ROS.
 
I'll give it a go this evening and give you some feedback.
 
Thanks,
Camp


From: Alan Federman <anfed...@comcast.net>
To: hbrob...@googlegroups.com
Sent: Monday, January 15, 2018 3:30 PM

Alan Federman

unread,
Jan 15, 2018, 7:55:57 PM1/15/18
to hbrob...@googlegroups.com
Thanks Camp,

I am in NYC helping out with my Dad. Probably be here another week, hope to be back for the meet up.

Alan Federman, from my phone.

Dave Hylands

unread,
Jan 15, 2018, 7:57:20 PM1/15/18
to hbrob...@googlegroups.com
On Mon, Jan 15, 2018 at 3:08 PM, 'Camp Peavy' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:
Question? How does one get the IP address of the Pi without a monitor?

I haven't used ROS on the Pi yet, but I've been working with the Pi (using Raspbian) quite a bit recently.

Normally, the Pi will advertise it's IP address using mDNS, which typically means that you can ping the pi from the host using hostname.local, replacing hostname with the hostname of the pi. With Raspbian, the default hostname is raspberrypi, so you can use: ping raspberrypi.local

If you want to change the hostname, you can edit the /etc/hostname file and also remember to edit the corresponding entry in /etc/hosts for (i.e. change raspberrypi to your new hostname).

A second method is to use a serial console.I also typically use a serial adapter like this one:
https://www.adafruit.com/product/954
and add the following to the Pi's /boot/config.txt file:
enable_uart=1
force_turbo=1
core_freq=250

I have a note that this particular change reduces the frequency of the Pi to 600 MHz.
The above works using Raspbian on the RPi 2 & 3.
 
--
Dave Hylands
Peachland, BC, Canada
http://www.davehylands.com

Chris Albertson

unread,
Jan 15, 2018, 8:12:13 PM1/15/18
to hbrob...@googlegroups.com
How to find IP address of the Pi?   It is set up for DHCP so it gets an IP address after it boots.   Look on your local DHCP server to see what address it assigned.  For most people the local DHCP server lives on their WiFi router and the router has a web page that shows what IP it assigned to what device.    Or you can simply guess the IP address.  likely if your computer is xxx.xxx.xxx.101 your the Pi3 will get the next available IP what is xxx.xxx.xxx.102  But guessing gets hard if the have a dozen or more devices in the house like I do.

Then one you set the Pi3 to use a fixed address.  either by configuring the router to always use the same IP or by configure get Pi to not use DHCP.   I think the first is better as it allows the Pi3 to be portable  Most routers allow you to assign a fixed IP.

On Mon, Jan 15, 2018 at 3:08 PM, 'Camp Peavy' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.

To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.

David Hough

unread,
Jan 15, 2018, 10:51:02 PM1/15/18
to hbrob...@googlegroups.com
I make life easier by assigning IP addresses to known devices in the DHCP
server. Some new routers will allow you to do that easily, or you can
disable the router DHCP and run your own on a spare Pi or other machine. I
actually have two on my network running as master and slave because I
wanted to see how to do it. That way you can use DHCP and have all the
configuration in one easy place and know which IP address all your regular
devices have. Then assign a spare pool for other devices that might turn
up occasionally, or for the initial connect of a new device before it's
given a permanent entry. You can also generate a log from the DHCP server
so if all else fails you can go find out which IP address a device was
given.

As an aside, it's rude and can cause no end of problems if you run an
unauthorised DHCP server on someone else's network. I once worked in a
place where there were regular 'hunt the dodgy router' exercises because
what would happen is that the dodgy server would assign IP addresses that
didn't work with the network routeing to random clients, whose network
access would then stop.

Dave
>> ------------------------------
>> *From:* Chris Albertson <alberts...@gmail.com>
>> *To:* hbrob...@googlegroups.com
>> *Sent:* Tuesday, December 12, 2017 11:14 AM
>> *Subject:* Re: [HBRobotics] Fwd: [ubiquity_robots] Raspberry Pi and ROS
>> <http://www.instructables.com/id/Raspberry-Pi-and-ROS-Robotic-Operating-System/>
>> Found this guide we should reference or use as guide for our own
>> version.
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "Ubiquity_Robots" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an
>> email to ubiquity_robots+unsubscribe@ googlegroups.com
>> <ubiquity_robo...@googlegroups.com>.
>> For more options, visit https://groups.google.com/d/ optout
>> <https://groups.google.com/d/optout>.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "HomeBrew Robotics Club" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an
>> email to hbrobotics+unsubscribe@ googlegroups.com
>> <hbrobotics+...@googlegroups.com>.
>> To post to this group, send email to hbrob...@googlegroups.com.
>> Visit this group at https://groups.google.com/ group/hbrobotics
>> <https://groups.google.com/group/hbrobotics>.
>> For more options, visit https://groups.google.com/d/ optout
>> <https://groups.google.com/d/optout>.
>>
>>
>>
>>
>> --
>>
>> Chris Albertson
>> Redondo Beach, California
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "HomeBrew Robotics Club" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an
>> email to hbrobotics+...@googlegroups.com.
>> To post to this group, send email to hbrob...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/hbrobotics.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "HomeBrew Robotics Club" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an
>> email to hbrobotics+...@googlegroups.com.
>> To post to this group, send email to hbrob...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/hbrobotics.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> --
> You received this message because you are subscribed to the Google Groups
> "HomeBrew Robotics Club" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hbrobotics+...@googlegroups.com.

Camp Peavy

unread,
Jan 16, 2018, 3:42:15 PM1/16/18
to hbrob...@googlegroups.com
Hey Alan, I built the image "2018-01-13-ubiquity-xenial-lxde" onto a microSD card and booted the Pi3. I can see its IP address is 10.42.0.1 and the Wifi is advertising as "ubiquityrobotF257" but the wifi password "robotseverywhere" doesn't seem to work: https://downloads.ubiquityrobotics.com/pi.html 
 
Suggestions?
 
Thanks,
Camp




From: Alan Federman <anfed...@comcast.net>
To: hbrob...@googlegroups.com
Sent: Monday, January 15, 2018 3:30 PM

Alan Federman

unread,
Jan 16, 2018, 4:49:11 PM1/16/18
to hbrob...@googlegroups.com
Wifi password is robotseverywhere


Pwd ubuntu

Alan Federman, from my phone.

Camp Peavy

unread,
Jan 16, 2018, 4:59:57 PM1/16/18
to hbrob...@googlegroups.com
Update: If I just boot it "ubiquityrobotF257" does sucessfully come up as an access point and I can "ping" the Pi and "ssh" from my remote workstation. However if I disconnect from the network (on the Pi) I don't seem to be able to reattach without rebooting.
 
Thanks,
Camp


From: 'Camp Peavy' via HomeBrew Robotics Club <hbrob...@googlegroups.com>
To: "hbrob...@googlegroups.com" <hbrob...@googlegroups.com>
Sent: Tuesday, January 16, 2018 12:42 PM

Alan Federman

unread,
Jan 16, 2018, 6:08:35 PM1/16/18
to hbrob...@googlegroups.com
Once you logon  via access point, you can attach your local network via the following commands:

sudo pifi add SID PWD
sudo reboot

You then will be on your local network. If it can't find the local network it will boot up AP mode.

Alan Federman, from my phone.

To post to this group, send email to hbrobotics@googleg

Camp Peavy

unread,
Jan 16, 2018, 7:01:42 PM1/16/18
to hbrob...@googlegroups.com
Good great job! I'm in the process of downloading the Botvac package https://github.com/SV-ROS/intro_to_ros . Will keep you posted.
 
- Camp



Sent: Tuesday, January 16, 2018 3:08 PM

DrDave

unread,
Jan 18, 2018, 5:01:14 PM1/18/18
to HomeBrew Robotics Club
Regarding the network connection. This particular download image automatically comes up in AP mode, allows you to connect and then also provides a simple easy to use tool to configure the RPi on the network. 
You actually don't even need to connect it in to the wall at all to make it work.

The process is well documented 
here (connecting AP mode)
and here
The overall documention is held here:

Please post github issues for things that don't make sense or don't work.

David
Reply all
Reply to author
Forward
0 new messages