Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 Discussions

Start scenario from command line?

SBier
Beginner
1,860 Views

The official documented method to bringup nodes seems to be to click a button in the browser interface, which is a little clunky.

There's a bunch of .p files with the +x bit set in /intel/euclid/config/scenarios/ with suggestive names, but running ./foo just throws a bunch of syntax errors.

How do you programmatically launch nodes on the Euclid?

0 Kudos
1 Solution
MSrou2
New Contributor I
745 Views

You can use ros for that

rosservice call /euclid/get_scenarios.

This gives you all the scenarios in the system

Theh you can use

/euclid/run_scenario . With the scenario name to run it.

Best

Majd

View solution in original post

0 Kudos
3 Replies
MSrou2
New Contributor I
746 Views

You can use ros for that

rosservice call /euclid/get_scenarios.

This gives you all the scenarios in the system

Theh you can use

/euclid/run_scenario . With the scenario name to run it.

Best

Majd

0 Kudos
SBier
Beginner
745 Views

Thank you, that was helpful.

However, tab completion seems to be broken: rosservice call /euclid/run_scenario Cam[TAB] results in it printing rosservice call /euclid/run_scenario "scenarioName: ''"

In practice, I do this to start and stop scenarios:

rosservice call /euclid/run_scenario Cameras

rosservice call /euclid/stop_running_scenario

To list all rosservice calls you run the following command. (This is what I had to do to figure out how to stop a scenario after starting it)

rosservice list

0 Kudos
DXie1
Beginner
745 Views

Thanks for the answer. It is really helpful. I would like to run the command automatically after boot. Can you please tell me how to do it?

0 Kudos
Reply