Validate your Task 1 archive on the CPS-VO
The goal of this tutorial is to show how to validate a Task 1 archive on the CPS-VO. You can follow along with the tutorial at https://youtu.be/c1Q5EWnaMwg
Download and edit the Task 1 seed
Find the Task 1 seed from the files section of the competition, and download and extract it.
cd catvehicle/src tar xzf cvchallenge_task1.tar.gzGo ahead and do the necessary tasks (e.g., editing the package.xml) according to what you think needs to be done. You will have already done this if you are following along from a different tutorial.
Create the .tgz archive
So, you made all the changes you need to make. Perfect! Let's now create an archive to see whether it will work when we score it:
cd catvehicle/src tar czf cvchallenge_task1.tgz cvchallenge_task1/Upload it to the validation page
The CPS-Vo is an Active Resource, which means that it houses tools and other frameworks that can be used to run models and code, in addition to housing them for others to access.
Make sure you are logged into the CPS-VO, and then visit the active resources page: http://cps-vo.org/node/29231/cloudsim/init
Now you'll need to go through a few steps:
- "Choose an active resource:" --> CATVehicle
- Then press (Continue)
- "Choose a server" --> Keep the default
- "Upload .tgz file" --> use your cvchallenge_task1.tgz from above
- The rest of the options don't need to be changed for now. Let's run it!
- Press (Launch Resource)
If someone else is running their simulation now, you may get an error message and need to resubmit. Note: we expect to enable a queued batch process soon.
Check the status
After a few minutes have elapsed (assuming you did not select a different time), you should be able to access your results. The page may not automatically refresh, so after a couple minutes, manually refresh your page and you should see "Status" of "Stopped" and have a link to click the output. You will see the date at which you ran your validation, and a file called ros.bag should be contained in that folder.
What's next?
You're now ready to interpret your data!