Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Error with std_msgs package, :package std_msgs does not exist #74

@KenwoodFox

Description

@KenwoodFox

I get this error, im trying to follow a basic tutorial but i cant seem to import std_msgs? Heres my code in full https://github.com/FRC-1721/pre2020season/tree/rosjava
I poked around on the ROS discord nobody really had this problem, i dont know where to start in debugging this.

    final Publisher<std_msgs.String> publisher =
                            ^
D:\GitHub\pre2020season\src\main\java\frc\robot\ROSAdvanced.java:51: error: package std_msgs does not exist
        connectedNode.newPublisher(topic_name, std_msgs.String._TYPE);
                                                       ^
D:\GitHub\pre2020season\src\main\java\frc\robot\ROSAdvanced.java:64: error: package std_msgs does not exist
        std_msgs.String str = publisher.newMessage();```
I think this may be similar to #46?

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