Final Assignment  1.0
Research Track part 1 - Assignment 2 - RobEng A.A. 2020/2021
check_position.py File Reference

Check the actual position of the robot using /odom topic. More...

Go to the source code of this file.

Namespaces

 check_position
 

Functions

def check_position.srv_check_position (data)
 Implementation of the service check_position More...
 
def check_position.get_odom_from_topic (data)
 Store the actual pose. More...
 

Variables

string check_position.node_name = "check_position"
 name of this node More...
 
string check_position.name_odom = "/odom"
 topic '/odom' as Subscriber More...
 
string check_position.name_check_position = "/check_position"
 name of the service 'check_position' More...
 
 check_position.actual_pose = Pose()
 position, orientation More...
 
 check_position.topic_odom = None
 handler topic '/odom' as Subscriber More...
 

Detailed Description

Check the actual position of the robot using /odom topic.

Author
Francesco Ganci (S4143910)
Version
1.0
Date
2021-06-25

This ROS node implements the service /check_position, which is capable of doing these things:

  • Check only : the service will return only the position of the robot
  • Distance Calculation : given a target, the server returns the distance from it.

See also: /check_position service

Definition in file check_position.py.