loading
 
API sending image from C++ to Roborealm?
Anonymous
16 year
Hi,

How do you send a image from Visual C++ in the form of a byte array to robo realm without saving it as a image file using your API?

thanks
Anonymous 16 year
See the set_image API call and the setImage function in the API.zip download located at

http://www.roborealm.com/downloads/API.zip

STeven.
Anonymous 16 year
The API image_set call creates an array pointer "image" of type unsigned char*. How do you convert a array<Byte>^ into an unsigned char*? Im dealing with the SRV1 robot which sends its image data as a list of bytes. Is there anything that has to be done to the RAW data coming to the robot before sending it to Roborealm. It mentions that the set_image uses RGB 8-bit data is that the form of data coming from the SRV1?
Anonymous 16 year
Best to check the Sample_API_App folder in the API.zip download located at

http://www.roborealm.com/downloads/API.zip

and see how the getBitmap API call is used in conjunction with the PictureBox class to display the current processed image from RoboRealm in your own application. Note that this example is in C++ compiled using VC6.0 so you should be able to adapt it to your needs.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index