mit-spark / config_utilities Goto Github PK
View Code? Open in Web Editor NEWAutomatic C++ config structs and tools.
License: BSD 3-Clause "New" or "Revised" License
Automatic C++ config structs and tools.
License: BSD 3-Clause "New" or "Revised" License
Hello, maintainers!
I just tested a roslaunch version of config_utilities
, but the error message comes as follows:
RLException: error loading <rosparam> tag:
file does not exist [/home/shapelim/config_ws/src/config_utilities/config_utilities/demos/resources/demo_params.yaml]
XML is <rosparam file="$(find config_utilities)/demos/resources/demo_params.yaml"/>
The traceback for the exception was written to the log file
since in demo_ros.launch
, it requires $(find config_utilities)/demos/resources/demo_params.yaml
, but it does not exist.
I guess it should be params.yaml
, right?
If I tested it by using params.yaml
, then it output as follows:
SUMMARY
========
PARAMETERS
* /demo_ros/b: False
* /demo_ros/distance: -0.9876
* /demo_ros/i: 123
* /demo_ros/map/b: 2
* /demo_ros/map/c: 3
* /demo_ros/map/d: 4
* /demo_ros/map/e: 5
* /demo_ros/mat: [[1, 2, 3], [4, 5...
* /demo_ros/my_enum: B
* /demo_ros/s: a string in a file
* /demo_ros/sub_ns/color: [255, 255, 255]
* /demo_ros/sub_ns/f: 55555.55555
* /demo_ros/sub_ns/size: 101010101
* /demo_ros/vec: [5, 4, 3, 2, 1]
* /rosdistro: noetic
* /rosversion: 1.16.0
NODES
/
demo_ros (config_utilities/demo_ros)
ROS_MASTER_URI=http://localhost:11311
process[demo_ros-1]: started with pid [4049935]
[ INFO] [1703653451.855092553]:
=================================== MyConfig ===================================
i: 123
distance [m]: -0.9876
b: false
vec: [5, 4, 3, 2, 1]
map: {b: 2, c: 3, d: 4, e: 5}
mat: [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
my_enum: B
sub_config [SubConfig] (default):
f: 0.123 (default)
s: test (default)
================================================================================
[ INFO] [1703653451.862168879]: I'm a DerivedA with config.f='0.123'.
[ WARN] [1703653451.867913264]: Errors parsing config 'MyConfig':
=================================== MyConfig ===================================
Warning: Failed to parse param 'vec': Data is not a sequence.
================================================================================
[ WARN] [1703653451.868092917]: Invalid config 'MyConfig':
=================================== MyConfig ===================================
Warning: Check [1/2] failed for 'i': param > 0 (is: '-1').
================================================================================
[ERROR] [1703653451.872575964]: No module of type 'A random type' registered to the factory for BaseT='demo::Base' and ConstructorArguments={}. Registered are: 'DerivedB', 'DerivedA'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.