ovgu-FINken / DrivingSwarm

All things driving swarm with global issue tracker and goals.
MIT License
0 stars 2 forks source link

define an interface inkl. meta data #23

Closed bastinat0r closed 4 years ago

bastinat0r commented 4 years ago
bastinat0r commented 4 years ago
maz3max commented 4 years ago

Proposal for interface - Update 2

TF

Only publish transformations between adjacent coordinate systems! Mapping from target to robot has to be done separately.

Additional ROS Topics

localisation_msgs/localisation_meta consist of has_orientation: bool correct_mapping: bool accuracy: float64

Scyten commented 4 years ago

python snipped:

import rospy
from localisation_msgs.msg import localisation_meta

locSystemName = "fakelocalisation"

rospy.init_node(locSystemName)
topic_metadata = rospy.Publisher('loc_system_meta_' + locSystemName, localisation_meta,  queue_size=1)

localisation_meta_msg = localisation_meta()
localisation_meta_msg.has_orientation = True
localisation_meta_msg.correct_mapping = True
localisation_meta_msg.accuracy = 1

topic_metadata.publish(localisation_meta_msg);
jbeckhaus commented 4 years ago

DONE (only for documentation reasons still open)

Scyten commented 4 years ago

I think if needed, we can look up this in the code or the closed issues.