Cao Jin Posted February 21, 2017 Share Posted February 21, 2017 Hi, Is it possible to control cameras (focusing, set exposure time, etc) through the SDK? And how to switch on/off the light source of the hand camera? Only lights of head and cuff can be commanded through the existing example code. Since the force control laws and algorithms are concerned, how can I read force sensor data of each joint? And is there any interface to directly read external force/torques by transformations? Thanks. Link to comment Share on other sites More sharing options...
Mark Silliman Posted March 1, 2017 Share Posted March 1, 2017 For the camera I found this... _camera = intera_interface.Cameras() print _camera.cameras_io['right_hand_camera']['interface'].list_signal_names() has exposure, brightness etc. (no focus) Then play with: https://github.com/RethinkRobotics/intera_sdk/blob/b12ee1627023a12b604148174be1cbd9aafdeb93/intera_interface/src/intera_io/io_interface.py#L231 Link to comment Share on other sites More sharing options...
Cao Jin Posted March 2, 2017 Author Share Posted March 2, 2017 Thanks a lot! Updates: Problem1: detailed camera control. Solved by signals like Mark Silliman posted, but still can't focus. New1: How to focus by means of ROS or Python? New2: What's the difference between set_siganl_value and set_port_value? Problem2: switch on/off light source. I can turn it on now by set signal 'set_strobe' of right_hand_camera true, but the light continuously blinking. New3: How can I just turn it on? Since the light is embeded by the camera, is it possible? Problem3: force/torque sensor data. I found a topic named /robot/limb/right/torque_data, but the type of this topic is motor_sensor_msgs/... . The massage is not defined in the sdk package, so I can't read this topic. Link to comment Share on other sites More sharing options...
Cao Jin Posted March 2, 2017 Author Share Posted March 2, 2017 Thanks a lot! Updates: Problem1: set detailed camera control. Solved by signals like Mark Silliman posted, but still can't focus. New1: How to focus camera by means of ROS or Python? New2: What's the difference between set_siganl_value and set_port_value? Problem2: switch on/off light source. I can turn it on now by set signal 'set_strobe' of right_hand_camera true, but the light continuously blinking. New3: How can I just turn it on? Since the light is embeded by the camera, is it possible? Problem3: read force/torque sensor data. I found a topic named /robot/limb/right/torque_data, but the type of this topic is motor_sensor_msgs/... . The massage is not defined in the sdk package, so I can't read this topic. New4: Is that topic the one I want? Is the package that includes the motor_sensor_msgs open source and how can I find it? Futhermore New5: Is there any complete list of functions and devices I can use? Because I had no idea about the signals before, so I could never find these detailed camera control settings, which makes me think of many other usage I missed. Is there any detailed explanation? Sorry for last reply which I have not completed before posting. I will appreciate it a lot if any of potential solutions and ideas are replied! Link to comment Share on other sites More sharing options...
senaa Posted November 10, 2017 Share Posted November 10, 2017 /robot/joint_states contains contains effort messages (in Nm I think) for each joint, is this what you want? Did you find how to focus the camera? Link to comment Share on other sites More sharing options...
Emmanuel Posted April 24, 2018 Share Posted April 24, 2018 Access to the Sawyer's external force feedback should be rather facile, since it is essential for the devise of most interaction control algorithms. I have already sifted through the available ROS topics (many of which are inaccessible and return build fail messages when using the 'echo' command), but it was to no avail. Are there any updates on this critical issue? Link to comment Share on other sites More sharing options...
Ian McMahon Posted April 24, 2018 Share Posted April 24, 2018 Hi Emmanuel, I answered your question in your original thread: Please ask any followup questions there. Thanks! ~ Ian Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.