from this line of code:

ros::Publisher pub = nh.advertise<geometry_msgs::Twist>(“cmd_vel”, 1000);

I’m confused by this:

geometry_msgs::Twist

what is the scopes operator :: for again?

from this line of code:

ros::Publisher pub = nh.advertise<geometry_msgs::Twist>(“cmd_vel”, 1000);

I’m confused by this:

geometry_msgs::Twist

what is the scopes operator :: for again?

Hi @abdelzaro8,

It looks like you are not familiar with C++, but this is not the place to teach it. You can either:

- Take the Python version of this course instead (if you are familiar with Python).
- Take the C++ Basics course if you want to go with C++.

If you are not familiar with either Python or C++, I recommend you start with Python by taking the Python for Robotics course.