Functions | Variables
arcmove_globalpath_follower Namespace Reference

Functions

def arcmove (ox, oy, oth, gpx, gpy, gpth, gth, lpx, lpy, lpth)
 
def cleanup ()
 
def globalPathCallback (data)
 
def goalCallback (d)
 
def goalDistance ()
 
def goalStatusCallback (data)
 
def intialPoseCallback (data)
 
def move (ox, oy, oth, tx, ty, tth, gth)
 
def odomCallback (data)
 
def pathCallback (data)
 

Variables

float dpmthreshold = 1.2
 
bool followpath = False
 
int globalpathposenum = 20
 
bool goalpose = False
 
bool goalseek = False
 
int goalth = 0
 
int goalx = 0
 
int goaly = 0
 
int gptargetth = 0
 
int gptargetx = 0
 
int gptargety = 0
 
bool initialturn = False
 
int lastpath = 0
 
 listener = None
 
float listentime = 0.6
 
int lptargetth = 0
 
int lptargetx = 0
 
int lptargety = 0
 
float maxlinear = 0.5
 
float meterspersec = 0.33
 
float minlinear = 0.08
 
 minturn = math.radians(8)
 
int nextmove = 0
 
int odomth = 0
 
int odomx = 0
 
int odomy = 0
 
 pathid = None
 
float radianspersec = 1.496
 
bool rosarcmove = True
 
 s = oculusprimesocket.waitForReplySearch("setting usearcmoves")
 
 t = rospy.get_time()
 
int tfth = 0
 
int tfx = 0
 
int tfy = 0
 
int waitonaboutface = 0
 

Detailed Description

on any new /initialpose, do full rotation, then delay (to hone in amcl)

requires dwa_base_controller, global path updated continuously as bot moves

Function Documentation

def arcmove_globalpath_follower.arcmove (   ox,
  oy,
  oth,
  gpx,
  gpy,
  gpth,
  gth,
  lpx,
  lpy,
  lpth 
)

Definition at line 140 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.cleanup ( )

Definition at line 359 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.globalPathCallback (   data)

Definition at line 72 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.goalCallback (   d)

Definition at line 113 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.goalDistance ( )

Definition at line 345 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.goalStatusCallback (   data)

Definition at line 131 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.intialPoseCallback (   data)

Definition at line 103 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.move (   ox,
  oy,
  oth,
  tx,
  ty,
  tth,
  gth 
)

Definition at line 257 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.odomCallback (   data)

Definition at line 94 of file arcmove_globalpath_follower.py.

def arcmove_globalpath_follower.pathCallback (   data)

Definition at line 58 of file arcmove_globalpath_follower.py.

Variable Documentation

float arcmove_globalpath_follower.dpmthreshold = 1.2

Definition at line 50 of file arcmove_globalpath_follower.py.

bool arcmove_globalpath_follower.followpath = False

Definition at line 31 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.globalpathposenum = 20

Definition at line 54 of file arcmove_globalpath_follower.py.

bool arcmove_globalpath_follower.goalpose = False

Definition at line 43 of file arcmove_globalpath_follower.py.

bool arcmove_globalpath_follower.goalseek = False

Definition at line 44 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.goalth = 0

Definition at line 35 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.goalx = 0

Definition at line 33 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.goaly = 0

Definition at line 34 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.gptargetth = 0

Definition at line 27 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.gptargetx = 0

Definition at line 25 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.gptargety = 0

Definition at line 26 of file arcmove_globalpath_follower.py.

bool arcmove_globalpath_follower.initialturn = False

Definition at line 36 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.lastpath = 0

Definition at line 42 of file arcmove_globalpath_follower.py.

arcmove_globalpath_follower.listener = None

Definition at line 55 of file arcmove_globalpath_follower.py.

float arcmove_globalpath_follower.listentime = 0.6

Definition at line 20 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.lptargetth = 0

Definition at line 30 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.lptargetx = 0

Definition at line 28 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.lptargety = 0

Definition at line 29 of file arcmove_globalpath_follower.py.

float arcmove_globalpath_follower.maxlinear = 0.5

Definition at line 40 of file arcmove_globalpath_follower.py.

float arcmove_globalpath_follower.meterspersec = 0.33

Definition at line 47 of file arcmove_globalpath_follower.py.

float arcmove_globalpath_follower.minlinear = 0.08

Definition at line 39 of file arcmove_globalpath_follower.py.

arcmove_globalpath_follower.minturn = math.radians(8)

Definition at line 38 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.nextmove = 0

Definition at line 21 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.odomth = 0

Definition at line 24 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.odomx = 0

Definition at line 22 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.odomy = 0

Definition at line 23 of file arcmove_globalpath_follower.py.

arcmove_globalpath_follower.pathid = None

Definition at line 32 of file arcmove_globalpath_follower.py.

float arcmove_globalpath_follower.radianspersec = 1.496

Definition at line 48 of file arcmove_globalpath_follower.py.

bool arcmove_globalpath_follower.rosarcmove = True

Definition at line 396 of file arcmove_globalpath_follower.py.

arcmove_globalpath_follower.s = oculusprimesocket.waitForReplySearch("setting usearcmoves")

Definition at line 380 of file arcmove_globalpath_follower.py.

arcmove_globalpath_follower.t = rospy.get_time()

Definition at line 388 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.tfth = 0

Definition at line 53 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.tfx = 0

Definition at line 51 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.tfy = 0

Definition at line 52 of file arcmove_globalpath_follower.py.

int arcmove_globalpath_follower.waitonaboutface = 0

Definition at line 37 of file arcmove_globalpath_follower.py.



oculusprime
Author(s): Colin Adamson
autogenerated on Wed Mar 10 2021 03:14:59