Skip to content
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

Robocup2023 #325

Open
wants to merge 219 commits into
base: noetic
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 204 commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
b2841c3
[mir_hardware_config][youbot-brsu-2] update camera pose
kvnptl Feb 17, 2023
8c5970f
[mir_manipulation] Changed predefined poses for platform and shelf
RavisankarSelvaraju Feb 22, 2023
930b187
[mir_planing][mir_actions]Removed code dealing with heavy objects
RavisankarSelvaraju Feb 22, 2023
b9e3d59
[mir_planing][mir_knowledge]PDDL files for demo and BMT
MannavaVivek Feb 22, 2023
bd72589
[mir_planing][mir_action]Changed SM for Shelf place
MannavaVivek Feb 22, 2023
3fdb36d
[mir_planing] Commented out code for TTS Audio
MannavaVivek Feb 24, 2023
7fca0bf
[mir_planing][mir_actions]Changed pipelines for pick and place
MannavaVivek Feb 24, 2023
81196dd
[mir_planing]Enabled pick and place of three objects
MannavaVivek Feb 24, 2023
b7fd299
[mir_moveit_youbot_brsu_2] add shelf and intermediate stages
Feb 24, 2023
91d3343
[mir_hardware_config] added 3 tower cameras and emergency button mounts
kvnptl Mar 24, 2023
6ba3d58
[mir_bringup] added launch filesles
vamsikalagaturu Mar 24, 2023
588e376
[mir_bringup] fixed dual camera launch
kvnptl Mar 24, 2023
3279a48
[mir_hardware_config] added side camera | orbbec astra
kvnptl Mar 24, 2023
28b5eb7
[mir_ppt_detection] PPT initial working draft
Shubham2S Mar 31, 2023
74e0f24
[mir_hardware_config] Added joints for realsense camera and its 3D pr…
Shubham2S Mar 31, 2023
13e93fe
[mir_hardware_config] Added 3D printed camera mounts STL files
Shubham2S Mar 31, 2023
ec748f2
[urdf] updated gripper urdf to correct the mount position
vamsikalagaturu May 5, 2023
621e16b
[mir_bringup] updated launch files to include 3 cameras
vamsikalagaturu May 5, 2023
7be6c78
[mir_bringup] added launch file to view youbot
vamsikalagaturu May 5, 2023
3fea311
Added logic for changing staging area based on object
MannavaVivek May 12, 2023
7f7b3ef
[pre_grasp_planner] add pose publisher
May 26, 2023
a717674
[mmor] added code to to handle containers
May 26, 2023
3a02e88
[mmor] change camera to camera front
May 26, 2023
46965d6
[mir_planning][mir_pick_from_shelf] Implement new state for shelf pic…
Jun 5, 2023
d510d8c
[mir_manipulation][mir_pregrasp_planning] Add toggle for shelf pick
Jun 5, 2023
3357578
[mir_manipulation] [mir_pregrasp_planning] minor fix | removed bool
Jun 5, 2023
9dd4508
[mir_gripper_controller] updated readme
Jun 7, 2023
16fa5d1
[mir_planning]modified points for new object set and added platforms
MannavaVivek Jun 9, 2023
b5cb264
wip: arUco marker testing for unstaging objects
Jun 9, 2023
b844c3e
[mir_ppt_detection] Updated PPT code as per tower camera configuration
Shubham2S Jun 9, 2023
11d526a
[mir_object_recognition] RTT node - Initial commit
Shubham2S Jun 9, 2023
98eb9d2
[mir_description] added intel back camera mount STL file
Jun 9, 2023
fb2d430
[mir_hardware_config] updated back camera mount STL file and angle
Jun 9, 2023
14fce4c
[mir_manipulation] updated platform_right pose values
Jun 9, 2023
e3faa4f
[mir_hardware_config][urdf] updated back camera mount STL file and angle
Jun 9, 2023
c0b3c72
[mir_object_recognition] YOLOv8 for rgb recognition
kvnptl Jun 9, 2023
ae092f5
[mir_object_recognition] updated launch file and yolov7 for backup
kvnptl Jun 9, 2023
2360659
[bug-fix] cv2 function name change
Jun 10, 2023
90b6010
[place_obj_server_shelf] changes for shelf is uncommented
Jun 10, 2023
aa7cdc9
[empty space detector] modify params to place in platform less than 10cm
Jun 12, 2023
01f80ac
[scene segmentation MMOR] modify cropbox filter to pick from platform…
Jun 12, 2023
539c192
Merge branch 'noetic' into fix/BMT_2023
Jun 13, 2023
052fce1
[gripper control] modified relevant packages for new controller
vamsikalagaturu Jun 13, 2023
0c0df58
[mir_hardware_config][yb2] camera name changes
kvnptl Jun 14, 2023
9df542e
[mir_perception][mir_object_recognition]add code to visualize filtere…
kvnptl Jun 14, 2023
b312379
[mir_perception][mir_object_recognition] remove comments related to v…
kvnptl Jun 14, 2023
4dc8c28
[mir_states] added position control for move_arm
vamsikalagaturu Jun 15, 2023
2901256
[mir_states] added monitoring for velocity control
vamsikalagaturu Jun 15, 2023
2591622
[mir_states] modified gripper control method
vamsikalagaturu Jun 17, 2023
cb9bd2b
[mir_insert_cavity] updated the sm to work with top camera
vamsikalagaturu Jun 17, 2023
54884ec
[mir_planning][mir_actions] added obj_category as a dynamic configura…
kvnptl Jun 17, 2023
13e8f80
[mir_perception][mir_object_recognition] added separate confition for…
kvnptl Jun 17, 2023
8c99381
[mir_planning]mir_actions] added timeout outcome
Jun 17, 2023
c51471c
[mir_manipulation][mir_omoveit_youtbot_brsu_2] updated new arm poses …
kvnptl Jun 17, 2023
dbd8ebd
[mir_mperception][mir_object_recognition] modified code to handle dyn…
kvnptl Jun 17, 2023
d9930ef
[miractions][mir_pick_object] increased timeout
kvnptl Jun 17, 2023
400181d
[mir_perception][mir_barrier_tape_detection] changed loop_rate for ba…
Jun 17, 2023
b4e6372
[mir_perception][mir_barrier_tape_detection] added set CMAKE_BUILD_TY…
Jun 17, 2023
8027ccf
[mir_gripper_controller] modfiied gripper feedback to only state
vamsikalagaturu Jun 17, 2023
e06febc
[mir_hardware_config][urdf] disabled middle camera
Jun 17, 2023
3a02c05
[mir_robots][mir_bringup] update back camera serial number
Jun 17, 2023
78eafd7
[miactions] added rtt_pick_server state machine
vamsikalagaturu Jun 17, 2023
0c7eca3
[empty_space_detector] change obj height above workspace to 0.0
Jun 19, 2023
b9bb6c3
[utils] remove print statement
RavisankarSelvaraju Jun 19, 2023
5686c7f
[place_object] add platform hei yaml gfile in ht launch file
RavisankarSelvaraju Jun 19, 2023
a2492e6
[place obj client] add platform parameter to get height value
RavisankarSelvaraju Jun 19, 2023
a504b1a
[place obj server] add state to check for safe pose before for defaul…
RavisankarSelvaraju Jun 19, 2023
e3b7802
[buf-fix] add a check for velocity is of arm
RavisankarSelvaraju Jun 19, 2023
3608c7f
[empty place] bug fix in counter
RavisankarSelvaraju Jun 19, 2023
b1deecc
[object_rec] remove excessive info messages
Jun 20, 2023
4840919
[mir_perception][mir_ppt_detection] old code, just file permission ch…
Jun 21, 2023
463543d
[mir_perception][mir_rtt_detection] created a new package for RTT
RavisankarSelvaraju Jun 21, 2023
868e6dd
[mir_planning][mir_actions] enable RTT server
Jun 21, 2023
6789f9e
[mir_planning][mir_actions] new package for RTT in mir_actions
RavisankarSelvaraju Jun 21, 2023
40e7afb
[mir_planning][mir_actions] disabled moveit-based arm motion and goin…
vamsikalagaturu Jun 21, 2023
82e724e
[mir_planning][mir_planning_bringup] added back camera and be_safe ar…
Jun 21, 2023
bb42a00
[mir_planning][mir_planning_bringup] added RTT detection launch file
RavisankarSelvaraju Jun 21, 2023
4994946
[mir_object_recognition] [RTT node] Initial working draft
Shubham2S Jun 23, 2023
bda78fa
[mir_rtt_detection] [RTT node] - Working draft with pointcloud data
Shubham2S Jun 23, 2023
91a1175
[mir_manipulation][mir_pregrasp_planning] modified the pitch ranges f…
kvnptl Jun 24, 2023
d64c603
[mir_planning]Increased time limit to wait for plan
MannavaVivek Jun 24, 2023
071a13c
[mir_planning]Added demo problem file with containers
MannavaVivek Jun 24, 2023
6f14834
[mir_manipulation]Removed disabled collisions for old links
MannavaVivek Jun 24, 2023
1cba11f
[mir_planning]Added large object fact in atwork commander client
MannavaVivek Jun 24, 2023
52a753c
[mir_planning]Added pick from rotating table to planning
MannavaVivek Jun 24, 2023
ac5d10e
[mir_planning][mir_actions]Added gripper control and fixed dbc for sh…
MannavaVivek Jun 24, 2023
453fb7d
[mir_rtt_pick_object] [RTT server] Updated code for arm to go to pick…
Shubham2S Jun 24, 2023
d9a63da
[mir_rtt_detection] [RTT node] Optimised code for pointcloud conversi…
Shubham2S Jun 24, 2023
56a6f91
[mir_perception][mir_object_recognition] false verbose for inference
kvnptl Jun 24, 2023
07635ec
[cavity_place] add wiggle arm feature
RavisankarSelvaraju Jun 24, 2023
8247774
[mir_planning]Changed the next action information displayed
MannavaVivek Jun 26, 2023
e92d1d9
[mir_planning]Added recovery to perceive failure
MannavaVivek Jun 26, 2023
1f933d9
[mir_planning][mir_actions] added two dynamic configuration for no sa…
kvnptl Jun 26, 2023
59a5604
[mir_erception][mir_object_recognition] removed container as a separa…
kvnptl Jun 26, 2023
a29cc15
[mir_perception][mir_object_recognition] update object height above w…
kvnptl Jun 26, 2023
a953c44
[mir_lanning][mir_actions][mir_perceive_location] added as state for …
kvnptl Jun 26, 2023
0dc4e3f
[mir_lanning][mir_actions][mir_place_object] added a state to select …
MannavaVivek Jun 26, 2023
aacfc20
[mir_perception][mir_object_recognition] added separate filter condit…
kvnptl Jun 26, 2023
2e980d1
[mir_manipulation] [mir_moveit_youbot_brsu_2] increased scaling facto…
Shubham2S Jun 27, 2023
8dba54f
[mir_rtt_detection] [rtt node] changed future predictions and conditi…
Shubham2S Jun 27, 2023
015d1a2
[mir_rtt_pick_object] [rtt server] Draft of working server
Shubham2S Jun 27, 2023
440cca7
[mir_rtt_detection] [rtt node] fixed a small bug while sending future…
Shubham2S Jun 28, 2023
89db603
[mir_rtt_pick_object] [rtt server] Changes to server work for multipl…
Shubham2S Jun 28, 2023
161f83e
[mir_pick_from_shelf][mir_inser_object][mir_states]
vamsikalagaturu Jun 30, 2023
6a80fe6
[pddl] added plan for finals
vamsikalagaturu Jun 30, 2023
a3a8884
[mir_rtt_detection] [rtt node] Added pose estimation based on yaw value
Shubham2S Jun 30, 2023
5eca555
[mir_rtt_pick_object] [rtt server] Added timeout and fixed small bugs
Shubham2S Jun 30, 2023
eb7c88a
[mir_manipulation]pmir_moveit_youbot_brsu_2] added two new poses for …
kvnptl Jun 30, 2023
275120e
[mir_perception][mir_object_recognition] removed extra result publish…
kvnptl Jun 30, 2023
abe6fa9
[mir_pactions][mir_insert_cavity] added comments
kvnptl Jun 30, 2023
6d19f2a
[mir_actions][mir_pick_objects] added set_perception params state for…
kvnptl Jun 30, 2023
8b128d3
[mir_actions][mir_pick_objects] added drag and pick (not tested)
vamsikalagaturu Jun 30, 2023
58888fa
[mir_planning][mir_knowledge]domain.pddl, after place set the locatio…
Jun 30, 2023
cbf4176
[mir_planning] pddl files and points--author=MannavaVivek
Jun 30, 2023
63a0abe
[mir_planning][mir_planning_bringup] commented aruco detection
Jun 30, 2023
c190b15
[mir_scenario][mir_states] passing extra argument for setting percept…
kvnptl Jun 30, 2023
60de08e
[mir_actions] basics changes
Jun 30, 2023
244aa58
[mir_perception][mir_object_recognition] added height of floor parame…
Jun 30, 2023
9a79d35
[mir_perception][mir_object_recognition] added height of floor parame…
Jun 30, 2023
e8d2cf8
[mir_percetion][mir_perception_utils] CAVITY: changed the Z value for…
Shubham2S Jun 30, 2023
bd896c4
[mir_planning] added pick_from_tt_action cpp file in CMakeLists
MannavaVivek Jun 30, 2023
c5e1578
[mir_manipulation][mir_gripper_controller] print the available ports …
vamsikalagaturu Jun 30, 2023
3ac91d0
[insert_cavity] add wiggling function to ppt
RavisankarSelvaraju Jun 30, 2023
9bdf023
[place_obj_server] change pose priority
RavisankarSelvaraju Jun 30, 2023
683352d
[empty space] modify parameters for optimized placing
RavisankarSelvaraju Jun 30, 2023
f4a3e3c
[mir_rtt_detection] [rtt node] Getting yaw value from rgb image inste…
Shubham2S Jul 1, 2023
324e916
[mir_rtt_pick_object] [rtt server] Changed a emipirical value for pick
Shubham2S Jul 1, 2023
3c15436
[mir_knowledge] [pddl] changed pddl file for finals
Shubham2S Jul 1, 2023
135fa16
[shelf] fix base movement for grasping
vamsikalagaturu Jul 1, 2023
7e686b7
[manipulation states] bug fix
vamsikalagaturu Jul 1, 2023
f012012
[laser dist] increase laser distance threshold for left and right
Jul 1, 2023
98e3c09
[pddl problem generator] fix finding of source locations for a given …
sthoduka Jul 1, 2023
492c855
Merge pull request #4 from sthoduka/fix/BMT_2023
brsu-youbot Jul 1, 2023
426b05a
[place_obj_server] change final joint pose to pre_place from barrier_…
RavisankarSelvaraju Jul 4, 2023
5490b29
[insert cavity server] linting
RavisankarSelvaraju Jul 4, 2023
45f7c54
[srdf] updated shelf place joint positions
MannavaVivek Jul 5, 2023
35815cd
[mir_actions] updated shelf pick server to retract without dragging
vamsikalagaturu Jul 5, 2023
397ed10
[mir_actions] updated pick server to verify grasp and drop object if not
RavisankarSelvaraju Jul 5, 2023
d615809
[camera calibration] updated camera calibration parameters
Jul 5, 2023
ed870be
[mir_planning][mir_planner_executor]Removed perceived knowledge bug a…
MannavaVivek Jul 5, 2023
a6d402b
[mir_planning]Fixed incorrect command in docs
MannavaVivek Jul 5, 2023
cb0ffec
[mir_planning][mir_atwork_commander_client]Bug Fix-incorrect range fo…
MannavaVivek Jul 5, 2023
f087098
[atwork_commander_client] add advanced object parsing and include tt …
RavisankarSelvaraju Jul 6, 2023
3f58362
[shelf] move_base to the shelf before placing
MannavaVivek Jul 6, 2023
bf4bd7c
[srdf] updated platform_middle joint positions
RavisankarSelvaraju Jul 6, 2023
0143d1b
[mmor] add shapes for new objects
kvnptl Jul 6, 2023
3391092
[mmor] fix poses for containers, new flat objects, screwdriver
kvnptl Jul 6, 2023
41fc234
[mir_actions] updated the arm pose for move_base and pre_perceive
vamsikalagaturu Jul 6, 2023
ea99fba
[mir_actions] updated retract and pick pose for shelf picking
vamsikalagaturu Jul 6, 2023
a23a2de
[mir_actions] added retries for unstage object server
vamsikalagaturu Jul 6, 2023
3ce27c2
[mir_actions] bug fix for state pick object sm ending
RavisankarSelvaraju Jul 6, 2023
bb7bb68
[mir_states] bug fix for object_name in grasp verification
vamsikalagaturu Jul 6, 2023
f364603
[mir_planning] fix for insertion failure replanning
MannavaVivek Jul 6, 2023
575155b
[mir_planning] slect objects that are already on the robot when selec…
MannavaVivek Jul 6, 2023
f19d8db
[mir_actions] bug fix for object_name in insert object server
vamsikalagaturu Jul 6, 2023
0e02a8a
[mir_robots] updated the robot footprint for yb2
vamsikalagaturu Jul 6, 2023
52633d6
[urdf] camera calib; object was being grasped too far in front
Jul 6, 2023
c6c046e
[mmor] add option to use fixed workspace heights; disabled by default
Jul 6, 2023
3f81362
[srdf] adjust place poses for 10 cm workstations
RavisankarSelvaraju Jul 6, 2023
2c29a31
[mmor] bolt pose closer to the middle
Jul 6, 2023
1a8d7d5
[move base] use moveit for moving to safe pose
Jul 6, 2023
6f980ae
[pick] if grasp failure - overall failed
RavisankarSelvaraju Jul 6, 2023
c3d89e1
[unstage] move to platform middle pre after unstage
Jul 6, 2023
76862b8
[srdf] update 10cm place poses to be within manipulation zone
Jul 7, 2023
e6fe5bb
[empty space] reduce size of cropbox filter to within manipulation zone
RavisankarSelvaraju Jul 7, 2023
10ff147
[place object] misc improvements; move arm up after placing, fix retr…
RavisankarSelvaraju Jul 7, 2023
8d1e5aa
[planning bringup] add data logger to planning bringup launch file
Jul 7, 2023
02f9512
[planner exec] pick failure - first remove perceived, then remove at …
MannavaVivek Jul 7, 2023
a2c30f8
[pddl] update test task pddl
MannavaVivek Jul 7, 2023
b8a2ec5
fix a stupid bug that cost us 200 points
Jul 7, 2023
43bdcf0
[srdf] update place poses for 0,5,15 only first 4 poses
Jul 7, 2023
8031c03
[mir_states] added allenkey to skip grasp verification
vamsikalagaturu Jul 7, 2023
15120f8
[place server] default pose state tested and updated
RavisankarSelvaraju Jul 7, 2023
d1dbbf0
[insert cavity] recognising -00 objects also
vamsikalagaturu Jul 7, 2023
804a857
[mir_perceive_anything] New package for coworker assembly test - Tech…
Shubham2S Jul 7, 2023
cae2254
[coworker test] added a simple pick server for coworker assembly test
vamsikalagaturu Jul 7, 2023
e9dcd8b
[mir_actions] modified action states to increase timeout and work for…
vamsikalagaturu Jul 7, 2023
df1795a
[mir_coworker_assembly] renamed the package name to mir_coworker_asse…
Shubham2S Jul 7, 2023
2a0bf4a
[mir_coworker_assembly] renamed the package mir_pick_anything to mir_…
Shubham2S Jul 7, 2023
ec60cc7
[mir_object_recognition] hand gesture and assembly object detection n…
Shubham2S Jul 7, 2023
51c5302
modify cropbox for robocup 2023
RavisankarSelvaraju Jul 8, 2023
8dcb8a4
[place-shelf] add DB to move close to workspace to place and add yaw …
Jul 8, 2023
fd6cc28
[ppt] move arm up
RavisankarSelvaraju Jul 8, 2023
fd6d843
[barrier tape] params modified
Jul 8, 2023
5ace6ac
[mmor] adjust poses for cavity
kvnptl Jul 8, 2023
e9aa034
[insert] open gripper narrow for insertion
vamsikalagaturu Jul 8, 2023
8e83173
[mmor] adjust height above workspace
Jul 8, 2023
9340b71
[save debug]
Jul 8, 2023
e987e79
move arm to safe place
Jul 8, 2023
939ee5d
time out changed
Jul 8, 2023
9cd66bb
split
Jul 8, 2023
258d58d
RT to TT
Jul 8, 2023
3c2154a
decrease height for container place
Jul 8, 2023
52d27bd
[planner executor/insert] update the 'stored' predicate correctly
MannavaVivek Jul 9, 2023
4c0a400
[rtt] print when event received
Shubham2S Jul 9, 2023
dd940e5
[planner executor/rtt] increase timeout for RTT
Jul 9, 2023
85ff405
[rgb recog] reduce confidence threshold
kvnptl Jul 9, 2023
7cebb38
[mmor] save raw image even if no objects
Jul 9, 2023
3c194cb
[mir_states] disabled grasp verification for drill, allenkey and wrench
Jul 9, 2023
916c704
[mir_object_recognition] pass model names using rosparam in launch file
kvnptl Jul 21, 2023
6b0f3c5
[mir_rtt_detection] code cleanup
Shubham2S Jan 19, 2024
c3d9dee
[mir_rtt_detection] removed unnecessary files
Shubham2S Jan 19, 2024
3de35dd
[mir_rtt_pick_object] code cleanup
Shubham2S Jan 19, 2024
699196c
[mmor] removed duplicate files
Shubham2S Jan 19, 2024
c132c7e
[mir_rtt_detection] Changed perception model for oriented bounding bo…
Shubham2S Apr 5, 2024
4f9f380
small configuration changes
Shubham2S Apr 5, 2024
4831f4a
[mir_object_recognition] Changed objects model to Oriented Bounding B…
Shubham2S Apr 5, 2024
a7785aa
[MIR_EMPTY_SPACE_DETECTION] update params
gokulkchenchani Apr 12, 2024
e3fe197
[MIR_KNOWLEDGE] add finals pddl files for testing
gokulkchenchani Apr 12, 2024
0fa021c
[MIR_PLANNING_CORE] add finals2 pddl
gokulkchenchani Apr 12, 2024
1e56786
[MIR_RTT_DETECTION] update object pose position
Shubham2S Apr 12, 2024
dbea49f
updated camera filters and atwork comm client to be compatible with l…
vamsikalagaturu Apr 18, 2024
6bf967e
GO24 - day 2 changes
Apr 18, 2024
bd433cb
GO24 - day 3 - pre ATT1
Apr 19, 2024
057e721
GO24 - pre ATT1 - grasp verification modified
Apr 19, 2024
e636a92
GO24 - DAY 3 - post ATT1 - adjusting wrench pose
Apr 19, 2024
b5ca84e
GO24 - Day3 - End commit
Apr 19, 2024
e12db7f
GO24 - Finals - Commit
Apr 20, 2024
92b5c11
[mir_place_object] add release gripper during object place
gokulkchenchani May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[settings]
known_third_party = PIL,actionlib,actionlib_msgs,arm_navigation_msgs,at_work_robot_example_ros,atwork_ros_msgs,brics_actuator,catkin_pkg,diagnostic_msgs,dynamic_reconfigure,geometry_msgs,mas_perception_msgs,mcr_common_converters_ros,mcr_manipulation_measurers_ros,mcr_manipulation_msgs,mcr_manipulation_pose_selector_ros,mcr_perception_msgs,mcr_perception_states,mcr_pose_generation_ros,mcr_states,mercury_planner,mir_actions,mir_controller_msgs,mir_knowledge,mir_knowledge_ros,mir_navigation_msgs,mir_planning_msgs,mir_planning_visualisation,mir_pregrasp_planning,mir_pregrasp_planning_ros,mir_states,mir_states_common,mir_world_generation,move_base_msgs,moveit_commander,moveit_msgs,nav_msgs,numpy,pandas,param_server_utils,roslib,rospkg,rosplan_dispatch_msgs,rosplan_knowledge_msgs,rospy,rostest,rosunit,sensor_msgs,shape_msgs,simple_script_server,smach,smach_ros,std_msgs,std_srvs,tf,visualization_msgs,yaml,zmq
known_third_party = PIL,actionlib,actionlib_msgs,arm_navigation_msgs,at_work_robot_example_ros,atwork_ros_msgs,brics_actuator,catkin_pkg,diagnostic_msgs,dynamic_reconfigure,geometry_msgs,mas_perception_msgs,mcr_common_converters_ros,mcr_manipulation_measurers_ros,mcr_manipulation_msgs,mir_manipulation_msgs,mcr_manipulation_pose_selector_ros,mcr_perception_msgs,mcr_perception_states,mcr_pose_generation_ros,mcr_states,mercury_planner,mir_actions,mir_controller_msgs,mir_knowledge,mir_knowledge_ros,mir_navigation_msgs,mir_planning_msgs,mir_planning_visualisation,mir_pregrasp_planning,mir_pregrasp_planning_ros,mir_states,mir_states_common,mir_world_generation,move_base_msgs,moveit_commander,moveit_msgs,nav_msgs,numpy,pandas,param_server_utils,roslib,rospkg,rosplan_dispatch_msgs,rosplan_knowledge_msgs,rospy,rostest,rosunit,sensor_msgs,shape_msgs,simple_script_server,smach,smach_ros,std_msgs,std_srvs,tf,visualization_msgs,yaml,zmq
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
Expand Down
2 changes: 1 addition & 1 deletion docs/source/mir_planning/planning_core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ To test with mockup action servers without a robot

roscore
roslaunch mir_planning_core task_planning_components.launch
rosrun mir_task_executor task_executor_mockup
rosrun mir_planner_executor planner_executor_mockup
roslaunch mir_task_planning upload_problem.launch
roslaunch mir_planning_core task_planning_sm.launch

Expand Down
2 changes: 2 additions & 0 deletions mir_command_tools/mir_teleop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ find_package(catkin REQUIRED
sensor_msgs
std_srvs
mcr_manipulation_msgs
mir_manipulation_msgs
roslint
)

Expand All @@ -33,6 +34,7 @@ catkin_package(
sensor_msgs
std_srvs
mcr_manipulation_msgs
mir_manipulation_msgs
)

include_directories(
Expand Down
2 changes: 2 additions & 0 deletions mir_command_tools/mir_teleop/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<build_depend>sensor_msgs</build_depend>
<build_depend>std_srvs</build_depend>
<build_depend>mcr_manipulation_msgs</build_depend>
<build_depend>mir_manipulation_msgs</build_depend>
<build_depend>roslint</build_depend>

<run_depend>brics_actuator</run_depend>
Expand All @@ -34,6 +35,7 @@
<run_depend>sensor_msgs</run_depend>
<run_depend>std_srvs</run_depend>
<run_depend>mcr_manipulation_msgs</run_depend>
<run_depend>mir_manipulation_msgs</run_depend>

<test_depend>roslaunch</test_depend>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <dynamic_reconfigure/server.h>
#include <geometry_msgs/Twist.h>
#include <geometry_msgs/TwistStamped.h>
#include <mcr_manipulation_msgs/GripperCommand.h>
#include <mir_manipulation_msgs/GripperCommand.h>
#include <moveit_msgs/JointLimits.h>
#include <ros/ros.h>
#include <sensor_msgs/JointState.h>
Expand Down
8 changes: 4 additions & 4 deletions mir_command_tools/mir_teleop/ros/src/teleop_joypad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ TeleOpJoypad::TeleOpJoypad(ros::NodeHandle &nh)
pub_arm_cart_vel_ = nh_->advertise<geometry_msgs::TwistStamped>(
"/arm_1/arm_controller/cartesian_velocity_command", 1);
pub_gripper_command_ =
nh_->advertise<mcr_manipulation_msgs::GripperCommand>("gripper_command", 1);
nh_->advertise<mir_manipulation_msgs::GripperCommand>("gripper_command", 1);

srv_base_motors_on_ = nh_->serviceClient<std_srvs::Empty>("/base/switchOnMotors");
srv_base_motors_off_ = nh_->serviceClient<std_srvs::Empty>("/base/switchOffMotors");
Expand Down Expand Up @@ -203,7 +203,7 @@ bool TeleOpJoypad::getArmParameter()

bool TeleOpJoypad::moveGripper(int gripper_command)
{
mcr_manipulation_msgs::GripperCommand command_msgs;
mir_manipulation_msgs::GripperCommand command_msgs;

command_msgs.command = gripper_command;

Expand Down Expand Up @@ -337,10 +337,10 @@ void TeleOpJoypad::cbJoypad(const sensor_msgs::Joy::ConstPtr &command)
button_gripper_active_ = !button_gripper_active_;
if (button_gripper_active_) {
ROS_INFO("open gripper");
this->moveGripper(mcr_manipulation_msgs::GripperCommand::OPEN);
this->moveGripper(mir_manipulation_msgs::GripperCommand::OPEN);
} else {
ROS_INFO("close gripper");
this->moveGripper(mcr_manipulation_msgs::GripperCommand::CLOSE);
this->moveGripper(mir_manipulation_msgs::GripperCommand::CLOSE);
}
}

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,23 @@
<!-- motor mount -->
<link name="${name}_motor_mount_link">
<inertial>
<origin xyz="0 0 0" rpy="0 0 0"/>
<origin xyz="-0.023 -0.046 0.024" rpy="0 0 0"/>
<mass value="0.038"/>
<inertia ixx="0.01" ixy="0" ixz="0" iyy="0.01" iyz="0" izz="0.01" />
</inertial>

<visual>
<origin xyz="0 0 0.0" rpy="0 ${M_PI/2} 0" />
<origin xyz="-0.023 -0.046 0.024" rpy="0 ${M_PI/2} 0" />
<geometry>
<mesh filename="package://mir_description/meshes/grippers/dynamixel/v3/dynamixel_intel_camera_combined.stl" scale="0.001 0.001 0.001" />
</geometry>
<material name="">
<color rgba="0.85098 0.85098 0.85098 1"/>
</material>
</visual>

<collision>
<origin xyz="0 0 -0.0" rpy="0 ${M_PI/2} 0" />
<origin xyz="-0.023 -0.046 0.024" rpy="0 ${M_PI/2} 0" />
<geometry>
<mesh filename="package://mir_description/meshes/grippers/dynamixel/v2/dynamixel_motor_mount_convex_hull.dae" scale="0.001 0.001 0.001" />
</geometry>
Expand Down
4 changes: 2 additions & 2 deletions mir_manipulation/mir_gripper_controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ project(mir_gripper_controller)
find_package(catkin REQUIRED
COMPONENTS
actionlib
mcr_manipulation_msgs
mir_manipulation_msgs
roscpp
roslint
std_msgs
)

catkin_package(
CATKIN_DEPENDS
mcr_manipulation_msgs
mir_manipulation_msgs
rospy
)

Expand Down
26 changes: 25 additions & 1 deletion mir_manipulation/mir_gripper_controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,35 @@ More details on the controller and corresponding code can be found [here](https:
1. Make sure to uplaod the latest [code](https://github.com/b-it-bots/youbot_dynamixel_gripper_controller/tree/master/openrb_150_controller) on to the controller.
5. Run `roscore` command.
5. Run `dynamixel_gripper_controller_ros` in the `ros/scripts` directory.
6. To control the gripper publish to the `/arm_1/gripper_command` topic, e.g. `rostopic pub /arm_1/gripper_command std_msgs/String "command: 0.0"`
6. To control the gripper publish to the `/arm_1/gripper_command` topic, e.g.:
```bash
rostopic pub /arm_1/gripper_command mir_manipulation_msgs/GripperCommand "command: 0.0"
```
7. To see the state of the gripper subscribe to the `/arm_1/gripper_feedback`, e.g. `rostopic echo /arm_1/gripper_feedback`.

## Usage
* One can publish `0.0 (open)` or `1.0 (close)` command to the gripper.
* For more specific position control, one can publish a value between `0.0 and 1.0`.
* To further open the gripper, one can publish a value between `-1.5 and 0.0`.
* One can subscribe the state of the gripper, the format consists of the following fields: `state` (`GRIPPER_CLOSE`, `OBJECT_GRASPED`, `OBJECT_SLIPPED`, `GRIPPER_OPEN`, `GRIPPER_INTER`), `parsing_error` (0 - false, 1 - true), `last_command` (0, 1).

## Troubleshooting

### Board at /dev/youbout/gripper not found
* Check if the board is connected to the computer.
* Check if the board is connected to the correct USB port.
* Check the `idProduct` of the Open-RB board is properly set in /etc/udev/rules.d/80-youboot-brsu-2-devices.rules
* To get the `idProduct` of the Open-RB board:
- run `dmesg | grep OpenRB`, you will see something like this:
```bash
[ 6.449181] usb 1-2.3: Product: OpenRB-150
```
- run `dmesg | grep "usb 1-2.3"`: in the generated output, find the line that looks like:
```bash
usb 1-2.3: New USB device found, idVendor=2f5d, idProduct=2202, bcdDevice= 1.00
```
- From this, get the `idProduct` and update it in the file `/etc/udev/rules.d/80-youboot-brsu-2-devices.rules`
- Then run `sudo udevadm control --reload`
- Now, unplug and plug the board again. It should be detected now.
- To test, run the `serial_interface.py` file in the `ros/src` directory. It should close and open the gripper.

4 changes: 2 additions & 2 deletions mir_manipulation/mir_gripper_controller/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
<build_depend>roslint</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>mcr_manipulation_msgs</build_depend>
<build_depend>mir_manipulation_msgs</build_depend>

<run_depend>dynamixel_controllers</run_depend>
<run_depend>mcr_manipulation_msgs</run_depend>
<run_depend>mir_manipulation_msgs</run_depend>
<run_depend>rospy</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>brics_actuator</run_depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import rospy
from std_msgs.msg import String
from sensor_msgs.msg import JointState
from mcr_manipulation_msgs.msg import GripperCommand
from mir_manipulation_msgs.msg import GripperCommand
import serial_interface
import math
import json
Expand Down Expand Up @@ -92,8 +92,8 @@ class GripperController:
self.feedback_publisher.publish(json.dumps(msg))

# convert gripper positions from degrees to radians
gripper_right_motor_position = math.radians(msg['right_gripper_pos'])
gripper_left_motor_position = math.radians(msg['left_gripper_pos'])
gripper_right_motor_position = 0.0 # math.radians(msg['right_gripper_pos'])
gripper_left_motor_position = 0.0 # math.radians(msg['left_gripper_pos'])

# Publish joint states
joint_state = JointState()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import serial.tools.list_ports
ports = serial.tools.list_ports.comports()

for port, desc, hwid in sorted(ports):
print("{}: {} [{}]".format(port, desc, hwid))
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ def receive(self):

msg_str = msg_str.decode().strip()


if len(msg_str) < 5 or not '{' in msg_str:
return None

if '}{' not in msg_str:
return [json.loads(msg_str)]
try:
return [json.loads(msg_str)]
except Exception as e:
rospy.logerr(e)
return None

msgs = msg_str.split("}{")

Expand All @@ -79,3 +82,18 @@ def receive(self):
msgs_json.append(json.loads(msg))

return msgs_json

if __name__ == '__main__':
serial_interface = SerialInterface(9600, 0.1, '239A')
serial_interface.open_port()
serial_interface.send({'command': 1})
rospy.sleep(1)
serial_interface.send({'command': 0.5})
rospy.sleep(1)
serial_interface.send({'command': 0.0})
rospy.sleep(1)
serial_interface.send({'command': 0.2})
rospy.sleep(1)
serial_interface.send({'command': 0.8})
rospy.sleep(1)
serial_interface.send({'command': 0.0})
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ joint_limits:
max_velocity: 6.178465545
has_acceleration_limits: true
max_acceleration: 1.5
default_velocity_scaling_factor: 0.7
default_acceleration_scaling_factor: 0.7
default_velocity_scaling_factor: 1.0
default_acceleration_scaling_factor: 1.0
Loading