How to implement cloud computing?

Typically: "How do I... ", "How can I... " questions
Post Reply
Hussain Zeb
Posts: 5
Joined: 29 May 2016, 11:59

How to implement cloud computing?

Post by Hussain Zeb »

Hello people!
I want to send data from VREP to a cloud for storage and further computing purposes? how can i do that? or if there is any way to implement a cloud in VREP itself?
any help is highly appreciated.
thanks
coppelia
Site Admin
Posts: 10747
Joined: 14 Dec 2012, 00:25

Re: How to implement cloud computing?

Post by coppelia »

Hello,

your question is quite vague. But in the end you will have to use a cloud computing service and look at their interface or API if you want to be able to interact with it programmatically. And create a simple plugin that offers that interface to V-REP scripts via customized script functions (e.g. simExtMyPlugin_sendDataToCloud(data,other arguments, etc.).

Cheers
Hussain Zeb
Posts: 5
Joined: 29 May 2016, 11:59

Re: How to implement cloud computing?

Post by Hussain Zeb »

Hi!

@coppelia admin.
I don't want to use the real cloud services of other vendors I just want to implement this type of architecture within VREP. you can think of as a centralized data storing place in case if the members of the system fails then the data is not lost. How can I do that? I hope my question is clear now?
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

Re: How to implement cloud computing?

Post by fferri »

what kind of data do you want to store?

Anyway, with a C++ plugin you can do whatever your mind can come up with.
Make a plugin which exposes one or more Lua functions so that it can be used by scripts and addons.
Hussain Zeb
Posts: 5
Joined: 29 May 2016, 11:59

Re: How to implement cloud computing?

Post by Hussain Zeb »

@fferi

Thanks for the reply but I'm still confused on how to implement this.
the data I want to store can be any type of data mostly reading from sensors and other tables of the system.

Cheers.
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

Re: How to implement cloud computing?

Post by fferri »

start from (i.e. duplicate) v_repExtPluginSkeleton located in the programming folder: it has a single lua callback; you call it from a child script (say: for storing data in the cloud). add more callbacks if needed.
forgeahead
Posts: 1
Joined: 17 Jul 2024, 08:30
Location: USA
Contact:

Re: How to implement cloud computing?

Post by forgeahead »

Hi there!

To send data from VREP (Virtual Robot Experimentation Platform) to the cloud for storage and computing, you typically need to integrate VREP with cloud services via APIs. VREP itself doesn't natively support cloud functionality, but you can achieve this by writing scripts within VREP to communicate with cloud platforms like AWS, Google Cloud, or Azure.

Here’s a general approach:

Data Collection: Use VREP scripts (Lua, Python, etc.) to collect sensor data or simulation results.
API Integration: Implement API calls from VREP scripts to send data securely to your chosen cloud service.
Cloud Storage: Store your data in cloud databases (like Amazon S3, Google Cloud Storage) or databases (like AWS RDS, Azure SQL Database).
Further Computing: Utilize cloud computing services (like AWS Lambda, Google Cloud Functions) for further data processing and analysis.
This setup allows you to leverage the scalability and reliability of cloud infrastructure for your VREP simulations. Feel free to ask if you need more specific guidance!

Best regards
Post Reply