Closed weiqiyang closed 5 years ago
◉ Kei Okada
2019年4月16日(火) 19:42 Weiqi Yang notifications@github.com:
I am trying to add some new plug-ins to jsk_teleop_joy. As a test, I copied jsk_teleop_joy/src/jsk_teleop_joy/plugin/joy_pose_6d.py, and renamed it as jyo_pose_6d.py. I also changed the class name in the file from JoyPose6D to JyoPose6D.
But when I ran the launch file, it gave an error message as bellow, and MyPose6D was not showed in the overlay menu.
[ERROR] [WallTime: 1555408864.470235] cannot find JyoPose6D in plugins for jsk_teleop_joy
The launch file was as the following.
plugins: 'Pose6D': class: 'JoyPose6D' args: publish_pose: True pose: $(arg POSE_REMAP) follow_view: true 'Verbose': class: 'VerboseStatus' args: publish_pose: True pose: $(arg POSE_REMAP) follow_view: true 'MyPose6D': class: 'JyoPose6D' args: publish_pose: True pose: $(arg POSE_REMAP) follow_view: true What are the additional steps I have to do to add a new plug-in?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_control/issues/719, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3O6Xx-Ou-vO1WSTGZUrdqXIJrgHcks5vhakMgaJpZM4cx7RZ .
It works! Thank you!
I am trying to add some new plug-ins to
jsk_teleop_joy
. As a test, I copiedjsk_teleop_joy/src/jsk_teleop_joy/plugin/joy_pose_6d.py
, and renamed it asjyo_pose_6d.py
. I also changed the class name in the file fromJoyPose6D
toJyoPose6D
.But when I ran the launch file, it gave an error message as bellow, and
MyPose6D
was not showed in the overlay menu.The launch file was as the following.
What are the additional steps I have to do to add a new plug-in?