I have been trying to manipulate the range_ahead.py script in order to print the messages of different message types. Instead of using sensor_msgs/LaserScan i tried importing sensor_msgs/Range but when i try to execute the script importing Range.msg messages, the Gazebo terminal gives me an error about conflicting datatypes. My assumption is that Gazebo can only accept LaserScan messages or messages with a similar datatype? How would i be able to change what messages or datatypes Gazebo depends on?
This is the error I've been recieving:
[ERROR] [1569164344.137150781, 444.960000000]: Client [/range] wants topic /scan to have datatype/md5sum [sensor_msgs/Range/c005c34273dc426c67a020a87bc24148], but our version has [sensor_msgs/LaserScan/90c7ef2dc6895d81024acba2ac42f369]. Dropping connection.
I have been trying to manipulate the
range_ahead.py
script in order to print the messages of different message types. Instead of using sensor_msgs/LaserScan i tried importing sensor_msgs/Range but when i try to execute the script importing Range.msg messages, the Gazebo terminal gives me an error about conflicting datatypes. My assumption is that Gazebo can only accept LaserScan messages or messages with a similar datatype? How would i be able to change what messages or datatypes Gazebo depends on?This is the error I've been recieving:
[ERROR] [1569164344.137150781, 444.960000000]: Client [/range] wants topic /scan to have datatype/md5sum [sensor_msgs/Range/c005c34273dc426c67a020a87bc24148], but our version has [sensor_msgs/LaserScan/90c7ef2dc6895d81024acba2ac42f369]. Dropping connection.
Below are my scripts as textfiles:
range_ahead.txt sensor_range.txt