Hello, I just started using ros noetic and I am not able to see the coverage_grid on rviz
This is what I have in the terminal:
[ WARN] [1671029848.517256201]: No controllers plugins configured! - Use the param "controllers", which must be a list of tuples with a name and a type.
[ WARN] [1671029848.517653181]: No recovery_behaviors plugins configured! - Use the param "recovery_behaviors", which must be a list of tuples with a name and a type.
[ERROR] [1671029850.975278823]: Client [/move_base] wants topic /move_base_flex/get_path/result to have datatype/md5sum [mbf_msgs/GetPathActionResult/b591e970edf53cd68b6436930a31222a], but our version has [mbf_msgs/GetPathActionResult/cea7575678f0b58def62a7b79ff28969]. Dropping connection.
[ERROR] [1671029850.976710020]: Client [/move_base] wants topic /move_base_flex/move_base/result to have datatype/md5sum [mbf_msgs/MoveBaseActionResult/3ba171ea938c4125488c9249510c56e0], but our version has [mbf_msgs/MoveBaseActionResult/84bf66bbfc0d4e67d5dca5ff8ec7479d]. Dropping connection.
Exception in thread Thread-6:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/nav_msgs/msg/_OccupancyGrid.py", line 139, in serialize
buff.write(struct.Struct(pattern).pack(*self.data))
struct.error: required argument is not an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 882, in publish
self.impl.publish(data)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 1066, in publish
serialize_message(b, self.seq, message)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/msg.py", line 152, in serialize_message
msg.serialize(b)
File "/opt/ros/noetic/lib/python3/dist-packages/nav_msgs/msg/_OccupancyGrid.py", line 140, in serialize
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
File "/opt/ros/noetic/lib/python3/dist-packages/genpy/message.py", line 393, in _check_types
check_type(n, t, getattr(self, n))
File "/opt/ros/noetic/lib/python3/dist-packages/genpy/message.py", line 312, in check_type
raise SerializationError('field %s must be a list or tuple type' % field_name)
genpy.message.SerializationError: field data must be a list or tuple type
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/timer.py", line 237, in run
self._callback(TimerEvent(last_expected, last_real, current_expected, current_real, last_duration))
File "/home/done/catkinn_ws/src/full_coverage_path_planner/nodes/coverage_progress", line 136, in _update_callback
self.grid_pub.publish(self.grid)
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 886, in publish
raise ROSSerializationException(str(e))
rospy.exceptions.ROSSerializationException: field data must be a list or tuple type
[ INFO] [1671029851.770488111]: Requesting grid!!
[ INFO] [1671029851.820172772]: nRows: 300 nCols: 300 nodeSize: 12
[ INFO] [1671029851.836082027]: naive cpp completed!
[ INFO] [1671029851.836224434]: Converting path to plan
[ INFO] [1671029851.836299095]: Received goalpoints with length: 243
[ INFO] [1671029851.836981868]: Plan ready containing 142 goals!
[ INFO] [1671029851.837017068]: Total visited: 236
[ INFO] [1671029851.837039418]: Total re-visited: 68
[ INFO] [1671029851.837057856]: Total accessible cells: 168
[ INFO] [1671029851.837098923]: Total accessible area: 60.480005
[ INFO] [1671029851.837120364]: Publishing plan!
[ INFO] [1671029851.837568329]: Plan published!
elapsed time: 0.027022
[ WARN] [1671029851.842086044]: No plugins loaded at all!
[ERROR] [1671029851.842599450]: The last action goal to "exe_path" has been REJECTED
Hello, I just started using ros noetic and I am not able to see the coverage_grid on rviz
This is what I have in the terminal:
[ WARN] [1671029848.517256201]: No controllers plugins configured! - Use the param "controllers", which must be a list of tuples with a name and a type.
[ WARN] [1671029848.517653181]: No recovery_behaviors plugins configured! - Use the param "recovery_behaviors", which must be a list of tuples with a name and a type.
[ERROR] [1671029850.975278823]: Client [/move_base] wants topic /move_base_flex/get_path/result to have datatype/md5sum [mbf_msgs/GetPathActionResult/b591e970edf53cd68b6436930a31222a], but our version has [mbf_msgs/GetPathActionResult/cea7575678f0b58def62a7b79ff28969]. Dropping connection.
[ERROR] [1671029850.976710020]: Client [/move_base] wants topic /move_base_flex/move_base/result to have datatype/md5sum [mbf_msgs/MoveBaseActionResult/3ba171ea938c4125488c9249510c56e0], but our version has [mbf_msgs/MoveBaseActionResult/84bf66bbfc0d4e67d5dca5ff8ec7479d]. Dropping connection.
Exception in thread Thread-6:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/nav_msgs/msg/_OccupancyGrid.py", line 139, in serialize
buff.write(struct.Struct(pattern).pack(*self.data))
struct.error: required argument is not an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 882, in publish self.impl.publish(data) File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 1066, in publish serialize_message(b, self.seq, message) File "/opt/ros/noetic/lib/python3/dist-packages/rospy/msg.py", line 152, in serialize_message msg.serialize(b) File "/opt/ros/noetic/lib/python3/dist-packages/nav_msgs/msg/_OccupancyGrid.py", line 140, in serialize except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) File "/opt/ros/noetic/lib/python3/dist-packages/genpy/message.py", line 393, in _check_types check_type(n, t, getattr(self, n)) File "/opt/ros/noetic/lib/python3/dist-packages/genpy/message.py", line 312, in check_type raise SerializationError('field %s must be a list or tuple type' % field_name) genpy.message.SerializationError: field data must be a list or tuple type
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/opt/ros/noetic/lib/python3/dist-packages/rospy/timer.py", line 237, in run self._callback(TimerEvent(last_expected, last_real, current_expected, current_real, last_duration)) File "/home/done/catkinn_ws/src/full_coverage_path_planner/nodes/coverage_progress", line 136, in _update_callback self.grid_pub.publish(self.grid) File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 886, in publish raise ROSSerializationException(str(e)) rospy.exceptions.ROSSerializationException: field data must be a list or tuple type
[ INFO] [1671029851.770488111]: Requesting grid!! [ INFO] [1671029851.820172772]: nRows: 300 nCols: 300 nodeSize: 12 [ INFO] [1671029851.836082027]: naive cpp completed! [ INFO] [1671029851.836224434]: Converting path to plan [ INFO] [1671029851.836299095]: Received goalpoints with length: 243 [ INFO] [1671029851.836981868]: Plan ready containing 142 goals! [ INFO] [1671029851.837017068]: Total visited: 236 [ INFO] [1671029851.837039418]: Total re-visited: 68 [ INFO] [1671029851.837057856]: Total accessible cells: 168 [ INFO] [1671029851.837098923]: Total accessible area: 60.480005 [ INFO] [1671029851.837120364]: Publishing plan! [ INFO] [1671029851.837568329]: Plan published! elapsed time: 0.027022 [ WARN] [1671029851.842086044]: No plugins loaded at all! [ERROR] [1671029851.842599450]: The last action goal to "exe_path" has been REJECTED