Closed rchiossi closed 7 years ago
Sorry for this mess. I tried to rush it and it didn't work out. =(
After several tests to see why it wasn't working with jmavsim anymore, I got my old test bin from prior coav-control and realized that I was using a custom upd port. So I made #79 to add support to set this port on coav-control and coav-sim should set the port depending on the autopilot in use. I think that in the case of coav-sim.sh we should overwrite the -p option if it happens to be present on $@, so just append something like "$@ -p PORT" should fix it.
Actually, if you are having port conflicts if may be just that you are using an older version of gazebo-sitl, since we changed the port there to avoid conflicts.
hhmm let me check that.
Ninjando :-)
AUTOPILOT=AP_APM ./coav-sim.sh -d DI_OBSTACLE -a QC_SHIFT_AVOIDANCE -s ST_GAZEBO_REALSENSE
It's almost there. But log messages it may be something between arducopter-sitl and gazebo now.
Merged with basic logging to files meanwhile.
Simple script to automate the testing of coav-control.