Skip to content
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

Error while: Running FlightGoggles Simulation Framework on Local Machine #163

Open
myarmatov opened this issue Apr 30, 2021 · 1 comment

Comments

@myarmatov
Copy link

I am using Unity 2020.3.5f1 with driver. I have followed all the steps to run the FlightGoggles simulation on my Ubuntu 18.04. After running "./FlightGoggles.x86_64" binary in terminal 1, I run "roslaunch flightgoggles teleopExample.launch use_external_renderer:=1" in terminal 2. However, errors (bold ones) shown below appear in terminal 2:


setting /run_id to d9a11186-a96f-11eb-8ccf-dca2664079cf
process[rosout-1]: started with pid [9642]
started core service [/rosout]
process[control_nodes/joy-2]: started with pid [9649]
process[control_nodes/keyboard-3]: started with pid [9650]
[ERROR] [1619758343.032942192]: Couldn't open joystick /dev/input/js0. Will retry every second.
process[control_nodes/universal_teleop-4]: started with pid [9656]
process[uav/flightgoggles_uav_dynamics-5]: started with pid [9657]
process[uav/flightgoggles_ros_bridge-6]: started with pid [9667]
process[uav/flightgoggles_marker_visualizer-7]: started with pid [9673]
ERROR: cannot launch node of type [rviz/rviz]: rviz
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/yarmatov/catkin_ws/src/flightgoggles/flightgoggles
ROS path [2]=/home/yarmatov/catkin_ws/src/flightgoggles/flightgoggles_environment_creator
ROS path [3]=/home/yarmatov/catkin_ws/src/flightgoggles/flightgoggles_reporter
ROS path [4]=/home/yarmatov/catkin_ws/src/flightgoggles/flightgoggles_uav_dynamics
ROS path [5]=/home/yarmatov/catkin_ws/src/keyboard
ROS path [6]=/home/yarmatov/catkin_ws/src/rosbaglive
ROS path [7]=/home/yarmatov/catkin_ws/src/flightgoggles/flightgoggles_marker_visualizer
ROS path [8]=/home/yarmatov/catkin_ws/src/flightgoggles/flightgoggles_ros_bridge
ROS path [9]=/home/yarmatov/catkin_ws/src/universal_teleop
ROS path [10]=/opt/ros/melodic/share

process[uav/camera_left_link-9]: started with pid [9675]
process[uav/camera_left_link_internal_hotfix-10]: started with pid [9676]
Ignore collisions: 0
Initial position: 0, 0, 1
Initial attitude: 0, 0, 0, 1
process[uav/camera_left_link_internal_nwu-11]: started with pid [9681]
process[uav/world_ned_link-12]: started with pid [9687]
Initializing ZMQ connections...
Done!


At the same time, in Unity console, this error appears non-stop (999+ times):


UnityException: Tag: IR_Markers is not defined.
CameraController.instantiateObjects() (at Assets/FlightGogglesRenderer-master/FlightGoggles/Scripts/CameraController.cs:857)


Any suggestions or any help would be greatly appreciated!
Feel free to ask any questions that might help.

@varunmurali1
Copy link
Contributor

The errors from ROS suggest that you do not have a joystick plugged in (if you don't that's fine and the error doesn't really matter if you wish to use the keyboard). It also suggests you do not have rviz installed. Can you run rviz separately?

The unity editor and the prebuilt binary are not meant to be used simultaneously. You should use either the unity editor (if you wish to make changes to the assets) or just the prebuilt binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants