Description
I am curently working to get multiple ardrones flying at the same time from a single desktop. I've built a simple launch file to create an instance of ardrone_autonomy in a namespace called "quad1". I also pass in ip arguments and a statement to handle which controller each drone is to be commanded from. My question is this: Even with compiling a second copy of ardrone_driver and attempting to run it along side the first instance of ardrone_autonomy, the second ardrone_driver fails. Does anyone know a way to resolve this error?
I see this error message:
[quad1/ARdrone-1] restarting process
process[quad1/ARdrone-1]: started with pid [17386]
Using custom ip address 192.168.1.10
Wait authentification
Wait authentification
Wait authentification
===================+> 192.168.1.10
[ INFO] [1360280789.946051099]: Root Frame is: 0
[ INFO] [1360280789.947098353]: ~cov/imu_la set to [0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1]
[ INFO] [1360280789.948039719]: ~cov/imu_av set to [1, 0, 0, 0, 1, 0, 0, 0, 1]
[ INFO] [1360280789.949083298]: ~cov/imu_or set to [1, 0, 0, 0, 1, 0, 0, 0, 100000]
[ WARN] [1360280789.949989201]: Automatic IMU Caliberation is active.
[ INFO] [1360280789.950096522]: using default calibration URL
[ INFO] [1360280789.950166558]: camera calibration URL: file:///home/parcon/.ros/camera_info/ardrone_front.yaml
[ INFO] [1360280789.953101752]: using default calibration URL
[ INFO] [1360280789.953193572]: camera calibration URL: file:///home/parcon/.ros/camera_info/ardrone_bottom.yaml
Deleting Profile -cea48d22
Deleting Application -e182b69b
Input device Teleop added
Starting thread video_stage
Starting thread update_ros
video stage thread initialisation
Video multisocket : init 2 sockets
Video multisocket : connecting socket 0 on port 5555 UDP
Thread update_ros
started
- Connection failed
Video multisocket : connecting socket 1 on port 5555 TCP
Failed to open AT
Starting thread navdata_update
Starting thread ardrone_control
VP_Com : Failed to open socket for navdata
PA : Start thread thread_academy_download
Academy download stage resumed
MEMORY SPACE ALLOWED : 40 MB
Start thread thread_academy
Start thread thread_academy_upload- Connection failed
video stage thread ended
Academy download stage paused
[ INFO] [1360280795.015007096]: SEND: CAT_COMMON/altitude_max = 2500.000000 (DEFAULT = 3000.000000)
[ INFO] [1360280795.015084296]: SEND: CAT_COMMON/enemy_colors = 2.000000 (DEFAULT = 1.000000)
[ INFO] [1360280795.015169021]: SEND: CAT_APPLI/navdata_options = 268435456.000000 (DEFAULT = 65537.000000)
[ INFO] [1360280795.015248827]: SEND: CAT_USER/euler_angle_max = 0.087000 (DEFAULT = 0.209440)
[ INFO] [1360280795.015302954]: SEND: CAT_USER/control_yaw = 1.750000 (DEFAULT = 1.745329)
[ INFO] [1360280795.015363624]: SEND: CAT_APPLI/bitrate = 4000.000000 (DEFAULT = 1000.000000)
[ INFO] [1360280795.015419406]: SEND: CAT_SESSION/max_bitrate = 4000.000000 (DEFAULT = 1000.000000)
[ INFO] [1360280795.015475310]: SEND: CAT_SESSION/detections_select_h = 32.000000 (DEFAULT = 0.000000)
[quad1/ARdrone-1] process has died [pid 17386, exit code -11].
log files: /home/parcon/.ros/log/7240ab1e-717e-11e2-a955-1c6f65c6b0bc/quad1-ARdrone-1*.log
respawning...
[quad1/ARdrone-1] restarting process
process[quad1/ARdrone-1]: started with pid [17607]
Using custom ip address 192.168.1.10