-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu based teleop plugins #721
base: master
Are you sure you want to change the base?
Conversation
Can you attach demo video about how to use this plugin? |
I add a sample launch file. |
…d publisher behaviour.
…ck as another plugin in the future). Add command publisher to base_pose.
I modified the title and PR comment with a link to a demo video. |
Nice video
|
Thank you.
The plugins publishs manually adjusted pose and button commands. The irteus view in the demo is an example of the application of the plugins cooperating with euslisp.
The pointcloud has latency because I was using the raw data while making this video. We tried using compressed data republished by an extra node later, which do speed up the pointcloud display. |
If operator only sees Rviz, then I think we do not need irtview in the
video.
If you use pointlcoud, please consider using depthimage
jsk-ros-pkg/jsk_robot#923
2019年11月1日(金) 16:49 Weiqi Yang <[email protected]>:
Thank you.
1. What is the role of irteus view?
The plugins publishs manually adjusted pose and button commands. The
irteus view in the demo is an example of the application of the plugins
cooperating with euslisp.
2. I think latency is very important in this application, Please analyze why the point cloud did has latency + low throughput . For example, if we subsample the cloud, can we speed up? Or did you transfer pointcloud of depthmap ...
The pointcloud has latency because I was using the raw data while making
this video. We tried using compressed data republished by an extra node
later, which do speed up the pointcloud display.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#721?email_source=notifications&email_token=AADYNXCVDS2LXZNYSLKYLZ3QRPNP7A5CNFSM4HY64MQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC2HRKQ#issuecomment-548698282>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXD5KWZYTJIMQ4IKYMLQRPNP7ANCNFSM4HY64MQA>
.
--
--
◉ Kei Okada
|
The operator sees the irtviewer also, to confirm ik result before executing.
Yes, this is what I mean by "compressed data", and we are using this node now. |
You can also use
https://github.com/jsk-ros-pkg/jsk_roseus/blob/master/roseus_tutorials/src/robot-publisher.l
If you’d like to pursuit UI research , user experience and completeness is
very important
If you already using image depth , please analyze this it is so slow
2019年11月1日(金) 17:23 Weiqi Yang <[email protected]>:
If operator only sees Rviz, then I think we do not need irtview in the
video.
The operator sees the irtviewer also, to confirm ik result before
executing.
Maybe if we can have an euslisp script that generate a tf topic from
joint-angle array, then we can show the result as another robot model, and
the irtviewer is no longer needed.
If you use pointlcoud, please consider using depthimage
jsk-ros-pkg/jsk_robot#923
<jsk-ros-pkg/jsk_robot#923>
Yes, this is what I mean by "compressed data", and we are using this node
now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#721?email_source=notifications&email_token=AADYNXEYNJI7I3HXA3LEMGDQRPRNJA5CNFSM4HY64MQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC2JPSA#issuecomment-548706248>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXGKQRAQXLICFAJLQXLQRPRNJANCNFSM4HY64MQA>
.
--
--
◉ Kei Okada
|
Thank you for the suggestion! I tried to modified the code to apply it on hsr and successfully published the marker. Now I am using robot_state_publisher. |
Can you use 4 spaces for indentation? |
There are many changes, so it may take time for review. I'm reviewing now. |
I checked other python files in the plugin folder, and I think they are all using 2 spaces for indentation. |
@@ -0,0 +1,44 @@ | |||
<launch> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
joy_plugin_sample.launch
-> sample_joy_plugin.launch
import imp | ||
try: | ||
imp.find_module("geometry_msgs") | ||
except: | ||
import roslib; roslib.load_manifest('jsk_teleop_joy') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need this for python programs.
@@ -0,0 +1,194 @@ | |||
from joy_rviz_view_controller import RVizViewController |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use 4 space indents.
import imp | ||
try: | ||
imp.find_module("geometry_msgs") | ||
except: | ||
import roslib; roslib.load_manifest('jsk_teleop_joy') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need these lines
@@ -0,0 +1,116 @@ | |||
from joy_rviz_view_controller import RVizViewController |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use 4 space indents
break | ||
rospy.loginfo("End loading base_pose") | ||
|
||
def setPoseCB(self, pose): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake case
import math | ||
import time | ||
|
||
def signedSquare(val): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake case for functions
from jsk_recognition_msgs.msg import BoundingBox | ||
from jsk_recognition_msgs.msg import BoundingBoxArray | ||
|
||
def signedSquare(val): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake case for functions
self.bbox_pub.publish(self.bbox) | ||
self.prev_time = now | ||
|
||
def bboxSB(self, msg): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake case for functions
import numpy | ||
import time | ||
|
||
def signedSquare(val): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake case for functions
Removed package import that are not needed
This PR adds several plugins to jsk_teleop_joy that provides functions including base movement, bounding-box selection and end-pose adjustment.
Following is the demo video.
https://drive.google.com/file/d/1WrQpt2VzYSj-bA00aqcJO4Gx3hJAHAHz/view?usp=sharing