HebiRobotics / hebi-matlab-examples

Examples for the HEBI Robotics API for MATLAB
http://docs.hebi.us
Apache License 2.0
21 stars 15 forks source link

HebiMobileIO Wrapper #133

Closed ennerf closed 2 years ago

ennerf commented 2 years ago
Differences to other APIs Python C++ MATLAB Comments
set_snap setSnap setAxisSnap
??? disableSnap(axis) setAxisSnap(axis, nan)
set_button_mode setButtonMode setButtonToggle
set_button_output setButtonOutput setButtonIndicator
set_text sendText addText
get_last_feedback getLastFeedback getFeedback getLastFeedback and getOrientation from the same feedback seems inconsistent
update getState update simplifies non-blocking calls
initializeUI resets the UI to the initial state
getOrientation 3x3 based on IMU. Sometimes IMU is preferrable over AR, so I think it makes sense to add separate methods
get_orientation getOrientation getArOrientation 3x3 based on AR
get_position getPosition getArPosition 3x1 based on AR
getArPose 4x4 based on AR
(static) findDevice repeatedly searches until the device is found. Not sure this is necessary, but every matlab demo uses it.