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

Functions

def go_to_point_switch (req)
 
def clbk_odom (msg)
 
def change_state (state)
 
def normalize_angle (angle)
 
def fix_yaw (des_pos)
 
def go_straight_ahead (des_pos)
 
def done (des_pos)
 
def main ()
 

Variables

bool active_ = False
 
 position_ = Point()
 
int yaw_ = 0
 
int state_ = 0
 
 desired_position_ = Point()
 
 x
 
 y
 
 z
 
int yaw_precision_ = math.pi / 9
 
int yaw_precision_2_ = math.pi / 90
 
float dist_precision_ = 0.3
 
float kp_a = 3.0
 
float kp_d = 0.2
 
float ub_a = 0.6
 
float lb_a = -0.5
 
float ub_d = 0.6
 
 pub = None
 

Function Documentation

◆ change_state()

def go_to_point_service_m.change_state (   state)

Definition at line 79 of file go_to_point_service_m.py.

◆ clbk_odom()

def go_to_point_service_m.clbk_odom (   msg)

Definition at line 62 of file go_to_point_service_m.py.

◆ done()

def go_to_point_service_m.done (   des_pos)

Definition at line 139 of file go_to_point_service_m.py.

◆ fix_yaw()

def go_to_point_service_m.fix_yaw (   des_pos)

Definition at line 91 of file go_to_point_service_m.py.

◆ go_straight_ahead()

def go_to_point_service_m.go_straight_ahead (   des_pos)

Definition at line 114 of file go_to_point_service_m.py.

◆ go_to_point_switch()

def go_to_point_service_m.go_to_point_switch (   req)

Definition at line 51 of file go_to_point_service_m.py.

◆ main()

def go_to_point_service_m.main ( )

Definition at line 150 of file go_to_point_service_m.py.

◆ normalize_angle()

def go_to_point_service_m.normalize_angle (   angle)

Definition at line 85 of file go_to_point_service_m.py.

Variable Documentation

◆ active_

bool go_to_point_service_m.active_ = False

Definition at line 22 of file go_to_point_service_m.py.

◆ desired_position_

go_to_point_service_m.desired_position_ = Point()

Definition at line 30 of file go_to_point_service_m.py.

◆ dist_precision_

float go_to_point_service_m.dist_precision_ = 0.3

Definition at line 37 of file go_to_point_service_m.py.

◆ kp_a

float go_to_point_service_m.kp_a = 3.0

Definition at line 39 of file go_to_point_service_m.py.

◆ kp_d

float go_to_point_service_m.kp_d = 0.2

Definition at line 40 of file go_to_point_service_m.py.

◆ lb_a

float go_to_point_service_m.lb_a = -0.5

Definition at line 42 of file go_to_point_service_m.py.

◆ position_

go_to_point_service_m.position_ = Point()

Definition at line 25 of file go_to_point_service_m.py.

◆ pub

go_to_point_service_m.pub = None

Definition at line 46 of file go_to_point_service_m.py.

◆ state_

int go_to_point_service_m.state_ = 0

Definition at line 28 of file go_to_point_service_m.py.

◆ ub_a

float go_to_point_service_m.ub_a = 0.6

Definition at line 41 of file go_to_point_service_m.py.

◆ ub_d

float go_to_point_service_m.ub_d = 0.6

Definition at line 43 of file go_to_point_service_m.py.

◆ x

go_to_point_service_m.x

Definition at line 31 of file go_to_point_service_m.py.

◆ y

go_to_point_service_m.y

Definition at line 32 of file go_to_point_service_m.py.

◆ yaw_

int go_to_point_service_m.yaw_ = 0

Definition at line 26 of file go_to_point_service_m.py.

◆ yaw_precision_

int go_to_point_service_m.yaw_precision_ = math.pi / 9

Definition at line 35 of file go_to_point_service_m.py.

◆ yaw_precision_2_

int go_to_point_service_m.yaw_precision_2_ = math.pi / 90

Definition at line 36 of file go_to_point_service_m.py.

◆ z

go_to_point_service_m.z

Definition at line 33 of file go_to_point_service_m.py.