Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

C API Missing Methods

#1
The Python API has two methods:
1. Collision_Line, here  
2. AddGeometry, here

Neither appear to be present in the C API. Any chance we could get both of these added to the C API?

Maybe something like this:
Code:
void Item_AddGeometry(const struct Item_t* inst, const struct Item_t* fromitem, const struct Mat_t pose) {
    _RoboDK_check_connection(inst->_RDK);
    _RoboDK_send_Line(inst->_RDK,"CopyFaces");
    _RoboDK_send_Item(inst->_RDK, fromitem);
    _RoboDK_send_Pose(inst->_RDK, pose);
    _RoboDK_check_status(inst->_RDK);
}
#2
Thank you for your feedback, we just added the Collision_Line and AddGeometry functions to the C version of the API.

This is now available on the main branch of the RoboDK API:
https://github.com/RoboDK/RoboDK-API
#3
Thank you, Albert!
  




Users browsing this thread:
1 Guest(s)