Mqtt To ROS : [ERROR] Expecting property name: line 1 column 2 (char 1) [closed]
I want to use MQTT Bridge for robot application. I have installed this package : https://github.com/groove-x/mqtt_bridge . Ros can speak to MQTT but MQTT can't speak to ROS. I installed rosbridge_library and the diferents dipedencies like paho-mqtt, inject, mgpack-python and pymongo.
Before install pymongo, i installed bson but i have this error on screen :
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosbridge_library/util/__init__.py", line 24, in <module>
"BSON installation does not support all necessary features. "
Exception: BSON installation does not support all necessary features. Please use the MongoDB BSON implementation. See: https://github.com/RobotWebTools/rosbridge_suite/issues/198
So i have install pymongo and ROS can't decode MQTT message like that : mosquitto -t 'testt' -m {"test"} But ROS can decode this message with nothing : mosquitto -t 'testt' -m {""} and send to a topic 'data' : ' '
Thank for help !