Final Assignment  1.0
Research Track part 1 - Assignment 2 - RobEng A.A. 2020/2021
wall_follow_service_m Namespace Reference

Functions

def wall_follower_switch (req)
 
def clbk_laser (msg)
 
def change_state (state)
 
def take_action ()
 
def find_wall ()
 
def turn_left ()
 
def follow_the_wall ()
 
def main ()
 

Variables

bool active_ = False
 
 pub_ = None
 
dictionary regions_
 
int state_ = 0
 
dictionary state_dict_
 

Function Documentation

◆ change_state()

def wall_follow_service_m.change_state (   state)

Definition at line 61 of file wall_follow_service_m.py.

◆ clbk_laser()

def wall_follow_service_m.clbk_laser (   msg)

Definition at line 48 of file wall_follow_service_m.py.

◆ find_wall()

def wall_follow_service_m.find_wall ( )

Definition at line 108 of file wall_follow_service_m.py.

◆ follow_the_wall()

def wall_follow_service_m.follow_the_wall ( )

Definition at line 121 of file wall_follow_service_m.py.

◆ main()

def wall_follow_service_m.main ( )

Definition at line 129 of file wall_follow_service_m.py.

◆ take_action()

def wall_follow_service_m.take_action ( )

Definition at line 68 of file wall_follow_service_m.py.

◆ turn_left()

def wall_follow_service_m.turn_left ( )

Definition at line 115 of file wall_follow_service_m.py.

◆ wall_follower_switch()

def wall_follow_service_m.wall_follower_switch (   req)

Definition at line 39 of file wall_follow_service_m.py.

Variable Documentation

◆ active_

bool wall_follow_service_m.active_ = False

Definition at line 21 of file wall_follow_service_m.py.

◆ pub_

wall_follow_service_m.pub_ = None

Definition at line 23 of file wall_follow_service_m.py.

◆ regions_

dictionary wall_follow_service_m.regions_
Initial value:
1 = {
2  'right': 0,
3  'fright': 0,
4  'front': 0,
5  'fleft': 0,
6  'left': 0,
7 }

Definition at line 24 of file wall_follow_service_m.py.

◆ state_

int wall_follow_service_m.state_ = 0

Definition at line 31 of file wall_follow_service_m.py.

◆ state_dict_

dictionary wall_follow_service_m.state_dict_
Initial value:
1 = {
2  0: 'find the wall',
3  1: 'turn left',
4  2: 'follow the wall',
5 }

Definition at line 32 of file wall_follow_service_m.py.