Closed yti1993 closed 7 years ago
Remote host 0.0.0.0 - wrong! You cannot send unicast to ANY.
You may use udp-b://
schema, which use broadcast for few first messages.
Regarding cfbridge, i cant say anything. Do not have any CF. Also as i know, there exist ROS stack for CrazyFlie, why mavros?
... logging to /home/taein/.ros/log/35f507cc-dc7d-11e6-af8b-c808e92e4e66/roslaunch-taein-15U560-KA70K-9827.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://taein-15U560-KA70K:38543/
SUMMARY
========
CLEAR PARAMETERS
* /mavros/
PARAMETERS
* /mavros/cmd/use_comp_id_system_control: False
* /mavros/conn/heartbeat_rate: 1.0
* /mavros/conn/system_time_rate: 1.0
* /mavros/conn/timeout: 10.0
* /mavros/conn/timesync_rate: 10.0
* /mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0
* /mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar
* /mavros/distance_sensor/hrlv_ez4_pub/id: 0
* /mavros/distance_sensor/hrlv_ez4_pub/orientation: ROLL_180
* /mavros/distance_sensor/hrlv_ez4_pub/send_tf: True
* /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0
* /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0
* /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1
* /mavros/distance_sensor/laser_1_sub/id: 3
* /mavros/distance_sensor/laser_1_sub/orientation: ROLL_180
* /mavros/distance_sensor/laser_1_sub/subscriber: True
* /mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0
* /mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser
* /mavros/distance_sensor/lidarlite_pub/id: 1
* /mavros/distance_sensor/lidarlite_pub/orientation: ROLL_180
* /mavros/distance_sensor/lidarlite_pub/send_tf: True
* /mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0
* /mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0
* /mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1
* /mavros/distance_sensor/sonar_1_sub/id: 2
* /mavros/distance_sensor/sonar_1_sub/orientation: ROLL_180
* /mavros/distance_sensor/sonar_1_sub/subscriber: True
* /mavros/fcu_url: udp-b://127.0.0.1...
* /mavros/gcs_url: udp://127.0.0.1:1...
* /mavros/global_position/frame_id: fcu
* /mavros/global_position/rot_covariance: 99999.0
* /mavros/global_position/tf/child_frame_id: fcu_utm
* /mavros/global_position/tf/frame_id: local_origin
* /mavros/global_position/tf/send: False
* /mavros/image/frame_id: px4flow
* /mavros/imu/angular_velocity_stdev: 0.000349065850399
* /mavros/imu/frame_id: fcu
* /mavros/imu/linear_acceleration_stdev: 0.0003
* /mavros/imu/magnetic_stdev: 0.0
* /mavros/imu/orientation_stdev: 1.0
* /mavros/local_position/frame_id: fcu
* /mavros/local_position/tf/child_frame_id: fcu
* /mavros/local_position/tf/frame_id: local_origin
* /mavros/local_position/tf/send: False
* /mavros/local_position/tf/send_fcu: False
* /mavros/mission/pull_after_gcs: True
* /mavros/mocap/use_pose: True
* /mavros/mocap/use_tf: False
* /mavros/plugin_blacklist: ['safety_area', '...
* /mavros/plugin_whitelist: []
* /mavros/px4flow/frame_id: px4flow
* /mavros/px4flow/ranger_fov: 0.0
* /mavros/px4flow/ranger_max_range: 5.0
* /mavros/px4flow/ranger_min_range: 0.3
* /mavros/safety_area/p1/x: 1.0
* /mavros/safety_area/p1/y: 1.0
* /mavros/safety_area/p1/z: 1.0
* /mavros/safety_area/p2/x: -1.0
* /mavros/safety_area/p2/y: -1.0
* /mavros/safety_area/p2/z: -1.0
* /mavros/setpoint_accel/send_force: False
* /mavros/setpoint_attitude/reverse_throttle: False
* /mavros/setpoint_attitude/tf/child_frame_id: attitude
* /mavros/setpoint_attitude/tf/frame_id: local_origin
* /mavros/setpoint_attitude/tf/listen: False
* /mavros/setpoint_attitude/tf/rate_limit: 10.0
* /mavros/setpoint_position/tf/child_frame_id: setpoint
* /mavros/setpoint_position/tf/frame_id: local_origin
* /mavros/setpoint_position/tf/listen: False
* /mavros/setpoint_position/tf/rate_limit: 50.0
* /mavros/startup_px4_usb_quirk: True
* /mavros/sys/disable_diag: False
* /mavros/sys/min_voltage: 10.0
* /mavros/target_component_id: 1
* /mavros/target_system_id: 1
* /mavros/tdr_radio/low_rssi: 40
* /mavros/time/time_ref_source: fcu
* /mavros/time/timesync_avg_alpha: 0.6
* /mavros/vibration/frame_id: vibration
* /mavros/vision_pose/tf/child_frame_id: vision
* /mavros/vision_pose/tf/frame_id: local_origin
* /mavros/vision_pose/tf/listen: False
* /mavros/vision_pose/tf/rate_limit: 10.0
* /mavros/vision_speed/listen_twist: False
* /rosdistro: indigo
* /rosversion: 1.11.20
NODES
/
mavros (mavros/mavros_node)
auto-starting new master
process[master]: started with pid [9839]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 35f507cc-dc7d-11e6-af8b-c808e92e4e66
process[rosout-1]: started with pid [9852]
started core service [/rosout]
process[mavros-2]: started with pid [9870]
[ INFO] [1484634101.929880242]: FCU URL: udp-b://127.0.0.1:14580@:14560
[FATAL] [1484634101.930061256]: FCU: DeviceError:url:Unknown URL type
================================================================================REQUIRED process [mavros-2] has died!
process has finished cleanly
log file: /home/taein/.ros/log/35f507cc-dc7d-11e6-af8b-c808e92e4e66/mavros-2*.log
Initiating shutdown!
================================================================================
[mavros-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
thanks your Reply , @vooon .
I change udp form : udp-b://127.0.0.1:14580@:14560
but make error.. like that log
The reason why I use mavros is I try to apply motion capture supported by mavros to CF2.
This issue is resolved here: http://discuss.px4.io/t/cfbridge-transform-to-communicate-with-mavros/2192
Issue details
I think that the original purpose of cfbridge is connecting 'CrazyRadio PA' and 'GCS (like Qgroundcontrol)'. But, I want to that cfbridge connects CrazyRadio PA and mavros. [ like that serial connect CF 2.0 (Crazyflie 2.0 using px4 firmware) with mavros by using USB connection ("/dev/ttyACM0") ]. So I think, Source code of cfbridge should be revised.
Analyzing Source code of cfbridge is so hard... (I am second year collage student ) In my opinion, cfbridge should be added source code that have a similar function px4 connect to mavros.
Ultimately, what I want is to connect CF2 to mavros using cfbridge and receive CF2 data from mavros by using ubuntu terminal command
"rostopic echo"
.I don't get data about topic "/mavros/imu/data_raw" ...
and, I change my think .I am trying to fix mavros.
Issue details 2
Diagnostics
MAVROS version and platform
Mavros: 0.18.4 ROS: indigo Ubuntu: 14.04
Autopilot type and version
[ ] ArduPilot [ v ] PX4
Version: ?3.7.1?
CF2.launch