I successfully connected my Pixracer to mavros over the wifi module on the pixracer, since the connection through wifi wasn’t good (kept disconnecting and connecting) I now use telemetry radios (serial). But I now can’t use "roslaunch mavros px4.launch fcu_url:=“udp://:14540@192.168.1.36:14557"” to connect to mavros. What can I do and How?
Have you tried:
roslaunch mavros px4.launch flu_url:/dev/ttyUSB0:57600
Substitute /dev/ttyUSB) for whatever /dev/tty your serial radios appear as.
Also speed should match your own setting
Previous post had typos, should be:
roslaunch mavros px4.launch fcu_url:=/dev/ttyUSB0:57600
More info here:
Hi. I have the same problem, I haver a telemetry (no wifi) but I can’t run the mavros node. Do you find the solution?
Regards!
When I want to run mavros: roslaunch mavros px4.launch fcu_url: = / dev / ttyUSB0: 57600.
I get the following error:
Roslaunch mavros px4.launch fcu_url: = / dev / ttyUSB0: 57600
… logging in to /home/mario1577/.ros/log/6f5f9370-31cc-11e7-b9d4-b88198a5c17f/roslaunch-MarioPC-12903.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: // MarioPC: 39842 /
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: / dev / ttyUSB0: 57600
- / Mavros / gcs_url:
- / 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: kinetic
- / Rosversion: 1.12.7
DO NOT GIVE
/
Mavros (mavros / mavros_node)
ROS_MASTER_URI = http: // localhost: 11311
Found
Process [mavros-1]: started with pid [12922]
[INFO] [1494020361.947121989]: FCU URL: / dev / ttyUSB0: 57600
[WARN] [1494020361.947656957]: init: message from ASLUAV, MSG-ID 201 ignored! Table has different entry.
[WARN] [1494020361.947788995]: init: message from autoquad, MSG-ID 150 ignored! Table has different entry.
[WARN] [1494020361.947803149]: init: message from autoquad, MSG-ID 152 ignored! Table has different entry.
[WARN] [1494020361.947956119]: init: message