Visible to the public Validate your Task 2 archive on the CPS-VOConflict Detection Enabled

The goal of this tutorial is to show how to validate a Task 2 archive on the CPS-VO. 

Compose your Task 2 archive

Follow the tutorial at https://cps-vo.org/node/33664/ to ensure your archive is created; this should be called cvchallenge_task2.tgz (Note: it must be a .tgz file, not a .tar.gz or .zip file).

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_task2.tgz from above
"Upload worldfile" --> use your favorite worldfile from your cvchallenge_task2/worlds directory. You must upload a worldfile, because we want you to be able to simulate with a worldfile you are using, rather than have to depend on one we are using.

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! Use the Files section to find task2validation.m.zip and run it with your downloaded bag file!