Problem with Action Server

asked 2020-02-12 09:11:07 -0600

MichaelDUEE gravatar image

Hello, I have this message :

string start_phrase
geometry_msgs/Point coordinates
duration time_elapsed

In my server code I have a line like this :

if (self.point!= None and self.point.coordinates.x !=0 ):

and I get this error :

if (self.point!= None and self.point.coordinates.x !=0 ): AttributeError: 'list' object has no attribute 'coordinates'

Why I do not have the coordinates attribute ? I followed this tutorial and from what I have understand I should have had this attribute.

edit retag flag offensive close merge delete