-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"docker run" generated "invalid partner ip 'fdc4:f303:9324::254' " error #54
Comments
Could you try to get into the container with something like:
And from there show me the output of:
and
I expect the latter to output |
Thank you for your prompt response. I don't think I'm using IPv6, though
it does look like an IPv6 address with some missing numbers. Here's the
output you requested.
Yings-iMac:~ ytl$ docker run --rm -it --entrypoint /bin/bash
jonasvautherin/px4-gazebo-headless
***@***.***:/# ip route
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
***@***.***:/# ip route | awk '/default/ { print $3 }'
172.17.0.1
***@***.***:/#
…On Mon, Jan 13, 2025 at 8:42 AM Jonas Vautherin ***@***.***> wrote:
fdc4:f303:9324::254 looks like an IPv6, right? It seems like my script
detects an IPv6 for the host and tries to pass it to MAVLink, which doesn't
support it 🤔.
Could you try to get into the container with something like:
docker run --rm -it --entrypoint /bin/bash jonasvautherin/px4-gazebo-headless
And from there show me the output of:
ip route
and
ip route | awk '/default/ { print $3 }'
I expect the latter to output fdc4:f303:9324::254.
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIR43GHUUGHMIBK3R56SGD2KPUGXAVCNFSM6AAAAABU5KPFT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBXGYZDSNRQGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
And can you try running:
Does that work better? |
Yes, the ip error went away when px4 came up.
QGroundControl is still not connecting though. Do I need to set something
in QGroundControl? I started it before running the docker command and it
kept showing "Disconnected". Or did I misunderstand how QGroundControl
works with the simulator?
Thank you very much for your help!
…On Mon, Jan 13, 2025 at 2:53 PM Jonas Vautherin ***@***.***> wrote:
And can you try running:
docker run --rm -it jonasvautherin/px4-gazebo-headless 172.17.0.1 172.17.0.1
Does that work better?
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIR43GSW2JSYGF673DJIYL2KQ7YFAVCNFSM6AAAAABU5KPFT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBYGM4TMOBUG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is QGC running on the host? It should receive MAVLink on 14550 🤔 |
QGC is running on the host. But it was spawned in a different process than
the shell performing docker run. This should be ok, right?
I'm going to be out of town for the next couple of weeks. I will work on
it more when I get back.
Thank you so much.
…On Tue, Jan 14, 2025 at 4:05 AM Jonas Vautherin ***@***.***> wrote:
Is QGC running on the host? It should receive MAVLink on 14550 🤔
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIR43HHRIMYBBZWHZ4JM3D2KT4QVAVCNFSM6AAAAABU5KPFT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBZG4ZTSNZZGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes that is fine. One thing is that I don't know if it still works on macOS. I made it work 7 years ago and haven't tried it since, chances are that something may have changed with docker 🙈. |
This looks similar to #34, but that error seemed to have disappeared mysteriously without any specific action.
px4 did come up at the end, but a running instance of QGroundControl (on the host machine) did not connect. I should be running QGroundControl outside docker, correct?
MacOS Ventura 13.7.2
docker:
Desktop 4.37.1
Engine 27.4.0
Compose v2.31.0-desktop.2
Kubernetes: v1.30.5
Credential Helper: v0.8.2
Yings-iMac:~ ytl$ docker run --rm -it jonasvautherin/px4-gazebo-headless
Scanning dependencies of target gazebo_iris__empty
WARNING gazebo_iris__empty target DEPRECATED, please use gazebo-classic_iris__empty
make[5]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
[ 0%] Built target parameters_xml
[ 0%] Built target ver_gen
[ 1%] Built target events_header
[ 1%] Built target uorb_headers
[ 1%] Built target flighttasks_generated
[ 1%] Built target events_json
[ 1%] Built target actuators_json
[ 1%] Built target component_general_json
[ 1%] Built target romfs_gen_files_target
[ 22%] Built target uorb_msgs
[ 22%] Built target geo
[ 22%] Built target perf
[ 22%] Built target tinybson
[ 25%] Built target work_queue
[ 26%] Built target drivers_board
[ 26%] Built target parameters
[ 26%] Built target px4_work_queue
[ 28%] Built target px4_platform
[ 28%] Built target lockstep_scheduler
[ 28%] Built target px4_daemon
[ 29%] Built target px4_layer
[ 29%] Built target adsb
[ 30%] Built target airspeed
[ 30%] Built target atmosphere
[ 31%] Built target bezier
[ 31%] Built target hysteresis
[ 31%] Built target avoidance
[ 31%] Built target battery
[ 31%] Built target cdev
[ 31%] Built target heatshrink
[ 32%] Built target systemlib
[ 32%] Built target uORB
[ 32%] Built target events
[ 32%] Built target lib__cdev__test__cdev_test
[ 32%] Built target circuit_breaker
[ 33%] Built target CollisionPrevention
[ 34%] Built target controllib
[ 34%] Built target lib__controllib__controllib_test
[ 35%] Built target conversion
[ 35%] Built target dataman_client
[ 35%] Built target drivers_accelerometer
[ 35%] Built target drivers_gyroscope
[ 35%] Built target drivers_magnetometer
[ 35%] Built target l1
[ 35%] Built target mathlib
[ 36%] Built target output_functions_header
[ 38%] Built target mixer_module
[ 38%] Built target motion_planning
[ 38%] Built target npfg
[ 38%] Built target performance_model
[ 38%] Built target pid
[ 38%] Built target RateControl
[ 39%] Built target rc
[ 39%] Built target lib__rc__rc_tests
[ 39%] Built target ringbuffer
[ 40%] Built target rtl_time_estimator
[ 40%] Built target sensor_calibration
[ 41%] Built target SlewRate
[ 41%] Built target SystemIdentification
[ 41%] Built target tecs
[ 41%] Built target timesync
[ 42%] Built target tunes
[ 42%] Built target variable_length_ringbuffer
[ 42%] Built target version
[ 42%] Built target WeatherVane
[ 42%] Built target wind_estimator
[ 42%] Built target world_magnetic_model
[ 42%] Built target arch_tone_alarm
[ 43%] Built target modules__uORB__uORB_tests
[ 44%] Built target lib__work_queue__test__wqueue_test
[ 45%] Built target drivers__camera_trigger
[ 45%] Built target git_gps_devices
[ 46%] Built target drivers__gps
[ 46%] Built target message_display
[ 47%] Built target drivers__osd__msp_osd
[ 47%] Built target drivers__tone_alarm
[ 47%] Built target modules__airship_att_control
[ 47%] Built target modules__airspeed_selector
[ 48%] Built target modules__attitude_estimator_q
[ 48%] Built target modules__camera_feedback
[ 48%] Built target ArmAuthorization
[ 50%] Built target failsafe
[ 50%] Built target failure_detector
[ 50%] Built target mode_util
[ 53%] Built target health_and_arming_checks
[ 53%] Built target MulticopterThrowLaunch
[ 54%] Built target modules__commander
[ 55%] Built target ActuatorEffectiveness
[ 55%] Built target ControlAllocation
[ 56%] Built target modules__control_allocator
[ 56%] Built target modules__dataman
[ 56%] Built target DifferentialDriveControl
[ 56%] Built target DifferentialDriveGuidance
[ 56%] Built target DifferentialDriveKinematics
[ 56%] Built target modules__differential_drive
[ 57%] Built target EKF2Utility
[ 57%] Built target yaw_estimator
[ 61%] Built target modules__ekf2
[ 63%] Built target modules__events
[ 63%] Built target FlightTask
[ 64%] Built target FlightTaskUtility
[ 64%] Built target FlightTaskAuto
[ 64%] Built target FlightTaskDescend
[ 65%] Built target FlightTaskFailsafe
[ 65%] Built target FlightTaskManualAltitude
[ 65%] Built target FlightTaskManualAltitudeSmoothVel
[ 65%] Built target FlightTaskManualAcceleration
[ 65%] Built target FlightTaskManualAccelerationSlow
[ 66%] Built target FlightTaskManualPosition
[ 66%] Built target FlightTaskManualPositionSmoothVel
[ 66%] Built target FlightTaskTransition
[ 67%] Built target follow_target_estimator
[ 67%] Built target FlightTaskAutoFollowTarget
[ 67%] Built target FlightTaskOrbit
[ 67%] Built target modules__flight_mode_manager
[ 68%] Built target modules__fw_att_control
[ 68%] Built target fw_autotune_attitude_control
[ 68%] Built target launchdetection
[ 68%] Built target runway_takeoff
[ 68%] Built target figure_eight
[ 68%] Built target modules__fw_pos_control
[ 68%] Built target modules__fw_rate_control
[ 69%] Built target drivers__gimbal
[ 70%] Built target modules__gyro_calibration
[ 71%] Built target modules__gyro_fft
[ 71%] Built target modules__land_detector
[ 72%] Built target modules__landing_target_estimator
[ 72%] Built target modules__load_mon
[ 73%] Built target modules__local_position_estimator
[ 75%] Built target modules__logger
[ 75%] Built target modules__mag_bias_estimator
[ 75%] Built target modules__manual_control
[ 75%] Built target git_mavlink_v2
[ 75%] Built target mavlink_c_generate_uavionix
[ 77%] Built target modules__mavlink
[ 78%] Built target mavlink_c_generate
[ 79%] Built target modules__mavlink__mavlink_tests
[ 79%] Built target AttitudeControl
[ 79%] Built target modules__mc_att_control
[ 80%] Built target mc_autotune_attitude_control
[ 81%] Built target zero_order_hover_thrust_ekf
[ 81%] Built target modules__mc_hover_thrust_estimator
[ 81%] Built target GotoControl
[ 81%] Built target PositionControl
[ 81%] Built target Takeoff
[ 81%] Built target modules__mc_pos_control
[ 81%] Built target modules__mc_rate_control
[ 81%] Built target geofence_breach_avoidance
[ 81%] Built target mission_feasibility_checker
[ 83%] Built target modules__navigator
[ 83%] Built target modules__payload_deliverer
[ 83%] Built target modules__rc_update
[ 84%] Built target modules__replay
[ 84%] Built target modules__rover_pos_control
[ 84%] Built target data_validator
[ 85%] Built target vehicle_acceleration
[ 85%] Built target vehicle_imu
[ 85%] Built target vehicle_air_data
[ 85%] Built target vehicle_angular_velocity
[ 85%] Built target vehicle_gps_position
[ 86%] Built target vehicle_magnetometer
[ 86%] Built target vehicle_optical_flow
[ 86%] Built target modules__sensors
[ 86%] Built target modules__simulation__battery_simulator
[ 88%] Built target modules__simulation__pwm_out_sim
[ 88%] Built target modules__simulation__sensor_airspeed_sim
[ 88%] Built target modules__simulation__sensor_baro_sim
[ 88%] Built target modules__simulation__sensor_gps_sim
[ 88%] Built target modules__simulation__senosr_mag_sim
[ 89%] Built target modules__simulation__simulator_mavlink
[ 89%] Built target modules__simulation__simulator_sih
[ 89%] Built target modules__temperature_compensation
[ 89%] Built target modules__uuv_att_control
[ 89%] Built target modules__uuv_pos_control
[ 90%] Built target modules__vtol_att_control
[ 90%] Built target systemcmds__actuator_test
[ 91%] Built target systemcmds__bsondump
[ 91%] Built target systemcmds__dyn
[ 91%] Built target systemcmds__failure
[ 91%] Built target systemcmds__led_control
[ 91%] Built target systemcmds__param
[ 91%] Built target systemcmds__perf
[ 92%] Built target systemcmds__sd_bench
[ 92%] Built target systemcmds__shutdown
[ 92%] Built target systemcmds__system_time
[ 95%] Built target systemcmds__tests
[ 95%] Built target systemcmds__tests__hrt_test
[ 96%] Built target systemcmds__topic_listener
[ 96%] Built target systemcmds__tune_control
[ 96%] Built target systemcmds__uorb
[ 96%] Built target systemcmds__ver
[ 96%] Built target systemcmds__work_queue
[ 96%] Built target modules__fake_gps
[ 96%] Built target modules__fake_imu
[ 96%] Built target examples__fake_magnetometer
[ 97%] Built target examples__hello
[ 97%] Built target examples__px4_mavlink_debug
[ 97%] Built target examples__px4_simple_app
[ 97%] Built target examples__work_item
[ 98%] Built target px4
[ 98%] Built target git_sitl_gazebo-classic
[ 98%] Performing build step for 'sitl_gazebo-classic'
[ 11%] Built target mav_msgs
[ 11%] Built target physics_msgs
[ 11%] Built target std_msgs
[ 11%] Built target nav_msgs
[ 13%] Built target klt_feature_tracker
[ 29%] Built target models_gen
[ 45%] Built target sensor_msgs
[ 48%] Built target OpticalFlow
[ 49%] Built target ForceVisual
[ 51%] Built target LiftDragPlugin
[ 52%] Built target AdvancedLiftDragPlugin
[ 55%] Built target gazebo_user_camera_plugin
[ 56%] Built target gazebo_lidar_plugin
[ 58%] Built target gazebo_groundtruth_plugin
[ 60%] Built target gazebo_sonar_plugin
[ 61%] Built target gazebo_camera_manager_plugin
[ 62%] Built target gazebo_random_velocity_plugin
[ 63%] Built target gazebo_opticalflow_plugin
[ 65%] Built target gazebo_opticalflow_mockup_plugin
[ 67%] Built target gazebo_airship_dynamics_plugin
[ 70%] Built target gazebo_uuv_plugin
[ 70%] Built target gazebo_airspeed_plugin
[ 72%] Built target gazebo_vision_plugin
[ 74%] Built target gazebo_imu_plugin
[ 75%] Built target gazebo_wind_plugin
[ 76%] Built target gazebo_gimbal_controller_plugin
[ 79%] Built target gazebo_mavlink_interface
[ 81%] Built target gazebo_catapult_plugin
[ 82%] Built target gazebo_motor_model
[ 83%] Built target gazebo_multirotor_base_plugin
[ 85%] Built target gazebo_magnetometer_plugin
[ 86%] Built target gazebo_usv_dynamics_plugin
[ 88%] Built target gazebo_parachute_plugin
[ 90%] Built target gazebo_barometer_plugin
[ 91%] Built target gazebo_pose_sniffer_plugin
[ 92%] Built target gazebo_controller_interface
[ 94%] Built target gazebo_aruco_plugin
[ 95%] Built target gazebo_drop_plugin
[ 96%] Built target gazebo_gst_camera_plugin
[ 97%] Built target gazebo_irlock_plugin
[ 98%] Built target gazebo_gps_plugin
[100%] Built target gazebo_video_stream_widget
[100%] No install step for 'sitl_gazebo-classic'
[100%] Completed 'sitl_gazebo-classic'
[100%] Built target sitl_gazebo-classic
Scanning dependencies of target gazebo-classic_iris__empty
SITL ARGS
sitl_bin: /root/Firmware/build/px4_sitl_default/bin/px4
debugger: none
model: iris
world: empty
src_path: /root/Firmware
build_path: /root/Firmware/build/px4_sitl_default
GAZEBO_PLUGIN_PATH :/root/Firmware/build/px4_sitl_default/build_gazebo-classic
GAZEBO_MODEL_PATH :/root/Firmware/Tools/simulation/gazebo-classic/sitl_gazebo-classic/models
LD_LIBRARY_PATH :/root/Firmware/build/px4_sitl_default/build_gazebo-classic
Using: /root/Firmware/Tools/simulation/gazebo-classic/sitl_gazebo-classic/models/iris/iris.sdf
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
not running gazebo gui
SITL COMMAND: "/root/Firmware/build/px4_sitl_default/bin/px4" "/root/Firmware/build/px4_sitl_default"/etc
| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /| |
| | / /^\ \ ___ |
_| / / |_/
px4 starting.
INFO [px4] startup script: /bin/sh etc/init.d-posix/rcS 0
INFO [init] found model autostart file as SYS_AUTOSTART=10015
INFO [param] selected parameter default file parameters.bson
INFO [param] selected parameter backup file parameters_backup.bson
SYS_AUTOCONFIG: curr: 0 -> new: 1
ERROR [param] Parameter UXRCE_DDS_KEY not found.
SYS_AUTOSTART: curr: 0 -> new: 10015
CAL_ACC0_ID: curr: 0 -> new: 1310988
CAL_GYRO0_ID: curr: 0 -> new: 1310988
CAL_ACC1_ID: curr: 0 -> new: 1310996
CAL_GYRO1_ID: curr: 0 -> new: 1310996
CAL_ACC2_ID: curr: 0 -> new: 1311004
CAL_GYRO2_ID: curr: 0 -> new: 1311004
CAL_MAG0_ID: curr: 0 -> new: 197388
CAL_MAG0_PRIO: curr: -1 -> new: 50
CAL_MAG1_ID: curr: 0 -> new: 197644
CAL_MAG1_PRIO: curr: -1 -> new: 50
SENS_BOARD_X_OFF: curr: 0.0000 -> new: 0.0000
SENS_DPRES_OFF: curr: 0.0000 -> new: 0.0010
INFO [dataman] data manager file './dataman' size is 7872608 bytes
INFO [init] PX4_SIM_HOSTNAME: localhost
INFO [simulator_mavlink] Waiting for simulator to accept connection on TCP port 4560
INFO [simulator_mavlink] Simulator connected on TCP port 4560.
INFO [lockstep_scheduler] setting initial absolute time to 436000 us
WARN [vehicle_angular_velocity] no gyro selected, using sensor_gyro_fifo:0 1310988
INFO [commander] LED: open /dev/led0 failed (22)
ERROR [param] Parameter UXRCE_DDS_DOM_ID not found.
etc/init.d-posix/rcS: 310: etc/init.d-posix/rcS: uxrce_dds_client: not found
ERROR [mavlink] invalid partner ip 'fdc4:f303:9324::254'
Description
This module implements the MAVLink protocol, which can be used on a Serial link or UDP network connect
Usage: mavlink [arguments...]
Commands:
start Start a new instance
[-d ] Select Serial Device
values: file:dev, default: /dev/ttyS1
[-b ] Baudrate (can also be p:<param_name>)
default: 57600
[-r ] Maximum sending data rate in B/s (if 0, use baudrate / 20)
default: 0
[-p] Enable Broadcast
[-u ] Select UDP Network Port (local)
default: 14556
[-o ] Select UDP Network Port (remote)
default: 14550
[-t ] Partner IP (broadcasting can be enabled via -p flag)
default: 127.0.0.1
[-m ] Mode: sets default streams and rates
values: custom|camera|onboard|osd|magic|config|iridium|minimal|extvision|extvisionmin|gimbal|uavionix,
[-n ] wifi/ethernet interface name
values: <interface_name>
[-f] Enable message forwarding to other Mavlink instances
[-w] Wait to send, until first message received
[-x] Enable FTP
[-z] Force hardware flow control always on
[-Z] Force hardware flow control always off
stop-all Stop all instances
stop Stop a running instance
[-u ] Select Mavlink instance via local Network Port
[-d ] Select Mavlink instance via Serial Device
values: file:dev
status Print status for all instances
[streams ] Print all enabled streams
stream Configure the sending rate of a stream for a running instance
[-u ] Select Mavlink instance via local Network Port
[-d ] Select Mavlink instance via Serial Device
values: file:dev
-s Mavlink stream to configure
-r Rate in Hz (0 = turn off, -1 = set to default)
boot_complete Enable sending of messages. (Must be) called as last step in startup script.
INFO [tone_alarm] home set
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
WARN [mavlink] mavlink for network on port 18570 is not running
ERROR [mavlink] invalid partner ip 'fdc4:f303:9324::254'
Description
This module implements the MAVLink protocol, which can be used on a Serial link or UDP network connect
Usage: mavlink [arguments...]
Commands:
start Start a new instance
[-d ] Select Serial Device
values: file:dev, default: /dev/ttyS1
[-b ] Baudrate (can also be p:<param_name>)
default: 57600
[-r ] Maximum sending data rate in B/s (if 0, use baudrate / 20)
default: 0
[-p] Enable Broadcast
[-u ] Select UDP Network Port (local)
default: 14556
[-o ] Select UDP Network Port (remote)
default: 14550
[-t ] Partner IP (broadcasting can be enabled via -p flag)
default: 127.0.0.1
[-m ] Mode: sets default streams and rates
values: custom|camera|onboard|osd|magic|config|iridium|minimal|extvision|extvisionmin|gimbal|uavionix,
[-n ] wifi/ethernet interface name
values: <interface_name>
[-f] Enable message forwarding to other Mavlink instances
[-w] Wait to send, until first message received
[-x] Enable FTP
[-z] Force hardware flow control always on
[-Z] Force hardware flow control always off
stop-all Stop all instances
stop Stop a running instance
[-u ] Select Mavlink instance via local Network Port
[-d ] Select Mavlink instance via Serial Device
values: file:dev
status Print status for all instances
[streams ] Print all enabled streams
stream Configure the sending rate of a stream for a running instance
[-u ] Select Mavlink instance via local Network Port
[-d ] Select Mavlink instance via Serial Device
values: file:dev
-s Mavlink stream to configure
-r Rate in Hz (0 = turn off, -1 = set to default)
boot_complete Enable sending of messages. (Must be) called as last step in startup script.
INFO [mavlink] mode: Onboard, data rate: 4000 B/s on udp port 14280 remote port 14030
INFO [mavlink] mode: Gimbal, data rate: 400000 B/s on udp port 13030 remote port 13280
INFO [logger] logger started (mode=all)
INFO [logger] Start file log (type: full)
INFO [logger] [logger] ./log/2025-01-10/00_39_32.ulg
INFO [logger] Opened full log file: ./log/2025-01-10/00_39_32.ulg
INFO [mavlink] MAVLink only on localhost (set param MAV_{i}_BROADCAST = 1 to enable network)
INFO [px4] Startup script returned successfully
pxh> INFO [commander] Ready for takeoff!
WARN [health_and_arming_checks] Preflight Fail: height estimate not stable
pxh>
The text was updated successfully, but these errors were encountered: