Skip to content

AttributeError: module 'json_msgs.msg' has no attribute 'Json' #16

@Xuan0319

Description

@Xuan0319

Env:
Ubuntu 20.04 ROS-noetic

Hello,
I run the example code and I got the error below.
any help is appreciate, thanks

publisher = rospy.Publisher(topicName,json_transport.PackedJson,queue_size=10)

class PackedJson(json_msg.Json):
AttributeError: module 'json_msgs.msg' has no attribute 'Json'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions