ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

import _Twist

asked 2017-05-01 01:45:58 -0500

little_bob gravatar image

the code on the book <ros by="" example="">and the tutorials are something like this:from geometry_msgs.msg import Twist,but when I type from geometry_msgs.msg import T,the sublime auto-completes it to this:from geometry_msgs.msg import _Twist.An underscore appears.Is it OK?And I find there is only _Twist.py in /opt/ros/hydro/lib/python2.7/dist-packages/geometry_msgs/msg

edit retag flag offensive close merge delete

Comments

Just Twist should be fine.

gstavrinos gravatar image gstavrinos  ( 2017-05-02 03:35:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-03 06:58:55 -0500

little_bob gravatar image

I know.importhere imports the class Twist,and this class exists in the module_Twist.py

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-05-01 01:45:58 -0500

Seen: 220 times

Last updated: May 03 '17