iq_sim icon indicating copy to clipboard operation
iq_sim copied to clipboard

Update startsitl.sh

Open shubham-shahh opened this issue 3 years ago • 2 comments

Updated sim_vehicle.py path

shubham-shahh avatar May 25 '21 07:05 shubham-shahh

I'm not sure this is the best way to do it now. Thank you for pushing me to get this updated, but I think the desired way to use sitl now is to make a folder for each vehicle you are simulating and run the command from there. something like

mkdir drone1 
sim_vehicle.py -v ArduCopter -f gazebo-iris --console

it shouldn't be required to cd to a specific directory anymore since 4.0 now puts sim_vehicle.py on the path. This is added to the path when running the new install pre_reqs script https://ardupilot.org/dev/docs/building-setup-linux.html#install-some-required-packages

I need to sit down and think about this some more since this kinda breaks my tutorials.

ericjohnson97 avatar May 27 '21 00:05 ericjohnson97

I'm not sure this is the best way to do it now. Thank you for pushing me to get this updated, but I think the desired way to use sitl now is to make a folder for each vehicle you are simulating and run the command from there. something like

mkdir drone1 
sim_vehicle.py -v ArduCopter -f gazebo-iris --console

it shouldn't be required to cd to a specific directory anymore since 4.0 now puts sim_vehicle.py on the path. This is added to the path when running the new install pre_reqs script https://ardupilot.org/dev/docs/building-setup-linux.html#install-some-required-packages

I need to sit down and think about this some more since this kinda breaks my tutorials.

Hi, I have been to the page you mentioned but the sim_vehile.py wasn't added to the path, nor mavproxy.py was installed with that script. I think it is still under maintenance. For the time being, we should update the path in the .sh file for the people who are just getting started.

Thanks for making these awesome tutorials, I'll be more than happy to contribute to this project. Do let me know if I can help with something.

shubham-shahh avatar May 27 '21 04:05 shubham-shahh