-
Notifications
You must be signed in to change notification settings - Fork 127
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
Problem With Installation of Color Feature #123
Comments
If anyone runs into that issue too, you need to switch example_color.ctg contents with this: #!/usr/bin/env python gen = ParameterGenerator() add parameters here, for example:gen.add("vmodule", str_t, 0, "The vmodule parameter", "--vmodule=data_provider_online_render=0,camera_simulator=0") ... add the rest of your parameters here ...gen.add("contrast_threshold_pos", double_t, 0, "The contrast threshold pos", 0.15) gen.add("exposure_time_ms", double_t, 0, "The exposure time in ms", 20.0) gen.add("calib_filename", str_t, 0, "The calibration filename", "/home/user/sim_ws/src/rpg_esim/event_camera_simulator/esim_ros/cfg/calib/pinhole_mono_nodistort.yaml") gen.add("renderer_type", int_t, 0, "The renderer type", 0) gen.add("trajectory_type", int_t, 0, "The trajectory type", 0) gen.add("simulation_minimum_framerate", double_t, 0, "The simulation minimum framerate", 20.0) gen.add("ros_publisher_frame_rate", double_t, 0, "The ros publisher frame rate", 10000000000000000) exit(gen.generate(PACKAGE, "esim_ros", "ExampleColor")) |
Hello,
I'm working on installing the color feature.
everything builds well except for the esim_ros. The issue it gives is the following:
Errors << esim_ros:make /home/ezrag/sim_ws/logs/esim_ros/build.make.009.log
File "/home/ezrag/sim_ws/src/rpg_esim/event_camera_simulator/esim_ros/cfg/example_color.cfg", line 4
--path_to_output_bag=/tmp/out.bag
^
SyntaxError: invalid syntax
make[2]: *** [CMakeFiles/esim_ros_gencfg.dir/build.make:76: /home/ezrag/sim_ws/devel/.private/esim_ros/include/esim_ros/example_colorConfig.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:2838: CMakeFiles/esim_ros_gencfg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:146: all] Error 2
I tried renaming the cfg file to conf or moving it, but that just causes this issue:
Errors << esim_ros:make /home/ezrag/sim_ws/logs/esim_ros/build.make.008.log
make[2]: *** No rule to make target '/home/ezrag/sim_ws/src/rpg_esim/event_camera_simulator/esim_ros/cfg/example_color.cfg', needed by '/home/ezrag/sim_ws/devel/.private/esim_ros/include/esim_ros/example_colorConfig.h'. Stop.
make[1]: *** [CMakeFiles/Makefile2:2838: CMakeFiles/esim_ros_gencfg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:146: all] Error 2
any ideas why this is happening? It seems to me that the build is trying to refer to it as pythonic code, even though it's just a configuration file that doesn't fit the python language standards.
The text was updated successfully, but these errors were encountered: