Robobot

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(DNSMASQ)
Line 13: Line 13:
 
===DNSMASQ===
 
===DNSMASQ===
  
change /etc/dhcpcd.conf to have a default IP, if no DHCP server is available
+
Install DNSMASQ
 +
 
 +
sudo apt install dnsmasq
 +
 
 +
change /etc/dhcpcd.conf (dhcp client deamon) to have a default IP, if no DHCP server is available
 +
 
 +
Add the following lines at the end of /etc/dhcpcd.conf
 +
 
 +
# define static profile
 +
profile static_eth0
 +
static ip_address=192.168.0.2/24
 +
static routers=192.168.0.1
 +
static domain_name_servers=192.168.0.1
 +
 +
# fallback to static profile on eth0
 +
interface eth0
 +
fallback static_eth0
 +
 +
# define static profile
 +
profile static_eth1
 +
static ip_address=192.168.1.2/24
 +
static routers=192.168.1.1
 +
#static domain_name_servers=192.168.0.1
 +
 +
# fallback to static profile on eth1
 +
interface eth1
 +
fallback static_eth1
 +
 
 +
This will also give a default IP for an eventual second network (usb-to-cable) if needed
 +
 
  
 
Used as DHCP server for pear-to-pear communication with a PC.
 
Used as DHCP server for pear-to-pear communication with a PC.

Revision as of 20:09, 5 December 2016

This page is for ROBOBOT, an extension of REGBOT with a raspberry pi and three wheels.

Contents

Installation observations

Raspicam

From homepage, installed version XXX

Userland

To be able to install mobotware===

DNSMASQ

Install DNSMASQ

sudo apt install dnsmasq

change /etc/dhcpcd.conf (dhcp client deamon) to have a default IP, if no DHCP server is available

Add the following lines at the end of /etc/dhcpcd.conf

# define static profile
profile static_eth0
static ip_address=192.168.0.2/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

# fallback to static profile on eth0
interface eth0
fallback static_eth0 

# define static profile
profile static_eth1
static ip_address=192.168.1.2/24
static routers=192.168.1.1
#static domain_name_servers=192.168.0.1

# fallback to static profile on eth1
interface eth1
fallback static_eth1

This will also give a default IP for an eventual second network (usb-to-cable) if needed


Used as DHCP server for pear-to-pear communication with a PC.

- failsto start dnsmasq ???

Mobotware

Requires a number of packages - see Install on raspberry

ROBOBOT demo C++

This is an examplesoftware in C++ to access both raspberry camera and REGBOT, and with an example mission controlled from the raspberry.

=

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox