jMAVSim does nothing
zshn25 opened this issue · 3 comments
zshn25 commented
This is my first time using any of these. Please tell me if I did anything wrong.
I started jMAVSim using
sudo java -cp lib/*:out/production/jmavsim.jar me.drton.jmavsim.Simulator
Then, I connected the quad. I run
roslaunch mavros px4.launch
Then I armed it by
rosrun mavros mavsafety arm
I pressed the safety switch and armed it. Then I run the ./setpoint_position_demo.py from https://pixhawk.org/dev/offboard_control/testing
Then, I change it to Offboard mode using
rosrun mavros mavsys mode -c OFFBOARD
There was no change in the simulator window. The output of the jMAVSim Terminal is
3D [dev] 1.6.0-pre12-daily-experimental daily
libEGL warning: DRI2: failed to authenticate
Init MAVLink
MSG: Switched to ON hil state
MSG: [inav] GPS signal found
MSG: [inav] init ref: 55.7533950, 37.6254270, 0.0000
MSG: home: 55.7533950, 37.6254270, -0.03
MSG: Waypoint too far: 5858770 m,[MIS_DIST_1WP=900]
MSG: Not switching off HIL (safety)
MSG: command temporarily rejected: 176
MSG: Flight mode: OFFBOARD
MSG: [mpc] reset pos sp: 0, 0
MSG: [mpc] reset alt sp: 11
MSG: [cmd] ARMED by arm/disarm component command
MSG: [sdlog2] log dir: /fs/microsd/log/2015-11-02
MSG: [sdlog2] starting: 12_39_19.px4log
MSG: TAKEOFF DETECTED
MSG: LANDING DETECTED
MSG: Not switching off HIL (safety)
MSG: [cmd] DISARMED by set mode command
MSG: command temporarily rejected: 176
MSG: [sdlog2] logging stopped
MSG: [cmd] ARMED by arm/disarm component command
MSG: [sdlog2] log dir: /fs/microsd/log/2015-11-02
MSG: [sdlog2] starting: 12_40_10.px4log
MSG: TAKEOFF DETECTED
MSG: LANDING DETECTED
MSG: failsafe mode on
MSG: [mpc] reset pos sp: 0, 0
MSG: [mpc] reset alt sp: 4
MSG: TAKEOFF DETECTED
MSG: failsafe mode off
MSG: Flight mode: OFFBOARD
MSG: LANDING DETECTED
I suspect something fishy at
libEGL warning: DRI2: failed to authenticate
Please help!!
killerlayup commented
hi
I have the same issue now!
zshn25 commented
Why is there this Warning?
libEGL warning: DRI2: failed to authenticate
DrTon commented
Sorry, I'm not using ROS, ask this in PX4 fork: https://github.com/PX4/jMAVSim