Closed soheil2017 closed 6 years ago
Hi @soheil2017 ,
Did you start Aerostack after connecting the PC to the AR-Drone 2.0?
The steps to initiate Aerostack correctly are:
If you follow these steps and still doesn't work, verify that the launcher is using the correct IP address of the ARDrone.
dear @albertcp I am exactly doing these steps and I also verified IP address of the ARDrone but it doesn't work yet. I am sure the connection of AR Drone is correct because I tested it with other packages such as ardrone_autonoumy and ORB_SLAM and PTAM. please see the following screenshot.
Hi every one I have the same problem
Can you check if the drone_id value is the same for all Aerostack processes?
You can do that by typing rosnode list
and also rostopic list
and paste the results here.
my rostopic list :
**my rosnode list:
soheil@soheil-X555LNB:~$ rosnode list /drone1/ardrone/front/image_proc /drone1/ardrone_driver /drone1/aruco_eye_ros_display_node /drone1/behavior_coordinator_process /drone1/behavior_follow_object_image /drone1/behavior_go_to_point /drone1/behavior_keep_hovering /drone1/behavior_keep_moving /drone1/behavior_land /drone1/behavior_pay_attention_to_visual_markers /drone1/behavior_rotate /drone1/behavior_self_localize_by_odometry /drone1/behavior_specialist_process /drone1/behavior_take_off /drone1/behavior_wait /drone1/belief_manager_process /drone1/belief_updater_process /drone1/bottomCameraARDroneROSModule /drone1/droneAltitude /drone1/droneArucoEyeROSModule /drone1/droneBattery /drone1/droneCommand /drone1/droneCommunicationManager /drone1/droneGroundSpeed /drone1/droneInterface /drone1/droneLocalizer /drone1/droneObstacleDistanceCalculator /drone1/droneObstacleProcessor /drone1/droneOdometryStateEstimator /drone1/droneRotationAngles /drone1/droneStatusARDroneROSModule /drone1/droneTrajectoryController /drone1/droneTrajectoryPlanner /drone1/droneYawPlanner /drone1/frontCameraARDroneROSModule /drone1/graphical_user_interface_process /drone1/imuARDroneROSModule /drone1/magnetometerARDroneROSModule /drone1/pressureARDroneROSModule /drone1/process_monitor_process_main /drone1/python_based_mission_interpreter_process /drone1/resource_manager_process /drone1/self_localization_selector_process /drone1/task_based_mission_planner_process /drone1/temperatureARDroneROSModule /rosout**
and also when I run rostopic echo /drone1/battery , I see nothing.
It seems every process is launched correctly and it should connect correctly. Can you check the terminals and see if there are processes that crashed or give some error?
[drone1/imuARDroneROSModule-1] process has died [pid 7674, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/imuARDroneROSModule name:=imuARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-imuARDroneROSModule-1.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-imuARDroneROSModule-1.log [drone1/temperatureARDroneROSModule-2] process has died [pid 7687, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/temperatureARDroneROSModule name:=temperatureARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-temperatureARDroneROSModule-2.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-temperatureARDroneROSModule-2.log [drone1/magnetometerARDroneROSModule-3] process has died [pid 7713, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/magnetometerARDroneROSModule name:=magnetometerARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-magnetometerARDroneROSModule-3.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-magnetometerARDroneROSModule-3.log [drone1/droneBattery-4] process has died [pid 7729, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/batteryARDroneROSModule name:=droneBattery log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneBattery-4.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneBattery-4.log [drone1/droneAltitude-5] process has died [pid 7747, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/altitudeARDroneROSModule name:=droneAltitude log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneAltitude-5.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneAltitude-5.log [drone1/droneRotationAngles-6] process has died [pid 7763, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/rotationAnglesARDroneROSModule name:=droneRotationAngles log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneRotationAngles-6.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneRotationAngles-6.log [drone1/droneGroundSpeed-7] process has died [pid 7787, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/groundSpeedARDroneROSModule name:=droneGroundSpeed log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneGroundSpeed-7.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneGroundSpeed-7.log [drone1/pressureARDroneROSModule-8] process has died [pid 7804, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/pressureARDroneROSModule name:=pressureARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-pressureARDroneROSModule-8.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-pressureARDroneROSModule-8.log [drone1/frontCameraARDroneROSModule-11] process has died [pid 7849, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/frontCameraARDroneROSModule name:=frontCameraARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-frontCameraARDroneROSModule-11.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-frontCameraARDroneROSModule-11.log [drone1/droneCommand-12] process has died [pid 7855, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/droneCommandARDroneROSModule name:=droneCommand log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneCommand-12.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneCommand-12.log [drone1/droneStatusARDroneROSModule-9] process has died [pid 7827, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/droneStatusARDroneROSModule name:=droneStatusARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneStatusARDroneROSModule-9.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-droneStatusARDroneROSModule-9.log [drone1/bottomCameraARDroneROSModule-10] process has died [pid 7834, exit code -6, cmd /home/lowyi/workspace/ros/aerostack_catkin_ws/devel/lib/driverParrotARDroneROSModule/bottomCameraARDroneROSModule name:=bottomCameraARDroneROSModule log:=/home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-bottomCameraARDroneROSModule-10.log]. log file: /home/lowyi/.ros/log/99aafe02-0d96-11e8-b4ab-6817298b2a6d/drone1-bottomCameraARDroneROSModule-10.log
@albertcp thanks for releasing the new version of AeroStack. in new version, the problem of my battery is solved.
Hi every one
for the first time I got following problem that i couldn't find any solution for it. my AR-Drone 2.0 is connected to AeroStack with ubuntu 16.04 (ROS-kinetic) but the battery is showing 0%. but indeed the battery is full charge. also I don't have camera image. in addition I separately tested it by ardron-autonoumy package and it works perfectly. I re-started the Ar Drone but Aerostack doesn't work yet. do you know the problem?