Comments (1)
Thank you for the report! It looks like a resize function is missing. There's a resize_assignn
test, but it doesn't resize an existing string. I'll leave this open as a help wanted. Fixing it means doing the following:
Make a declaration similar to this one, but using char
instead of uint16_t
and put it in string_functions.h
rosidl/rosidl_runtime_c/include/rosidl_runtime_c/u16string_functions.h
Lines 156 to 167 in d66b6db
Implement it similar to this function, but using char
instead of uint16_t
and put it in string_functions.c
rosidl/rosidl_runtime_c/src/u16string_functions.c
Lines 167 to 188 in d66b6db
Take the expectations on U16String_resize from the test below, and put them into into test_string_functions.cpp
for the new function.
rosidl/rosidl_runtime_c/test/test_u16string_functions.cpp
Lines 73 to 147 in d66b6db
from rosidl.
Related Issues (20)
- rosidl generator cpp depreceation warning failing builds when using const values in msg definitions HOT 4
- Provide documented CMake exported namespace targets for consuming generated packages without ament_target_dependencies HOT 1
- Add non-default constructors to avoid initializing messages with dummy data HOT 7
- Different return types for resize_function in C/C++ introspection type support? HOT 2
- colcon build issue HOT 1
- ROSIDL - Support generating files for fastddsgen without multiple definition errors HOT 6
- Remove deprecated (and to be removed) std::allocator<void> HOT 1
- Can we have an extra field "priority" for every idl conversion with actions? HOT 1
- Binary deb message packages include many unecessary runtime dependencies HOT 2
- Colcon build fails with parsing errors in Humble but successful in Foxy HOT 3
- `char` type in Python messages is of type uint8_t not str. HOT 2
- Humble branch of rosidl does not contain the path rosidl_pycommon HOT 1
- Incompatibility with EmPy 4.0 HOT 2
- :farmer: `test_multi_nested_message_introspection` flaky test in windows repeated
- rosidl_adapter HOT 3
- Add [[nodiscard]] attribute to C++ headers that return values, such as operators [Jazzy] HOT 1
- Support min/max attribute on primitive types HOT 2
- :farmer: `rosidl_generator_cpp.cpplint_rosidl_generated_cpp` test timeout after parallel executor HOT 1
- BoundedVector::data() is unusable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosidl.