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

teensy 4.1 parameter server limits to 5 parameters #1596

Open
adityakamath opened this issue Dec 2, 2023 · 0 comments
Open

teensy 4.1 parameter server limits to 5 parameters #1596

adityakamath opened this issue Dec 2, 2023 · 0 comments

Comments

@adityakamath
Copy link
Contributor

I have a working implementation of the parameter server with 4 parameters, and I was trying to add two more. However, when I try with 6 parameters, the client goes into the RCCHECK error loop. I removed one of them and tried with 5 parameters, and it works as expected.

This is my parameter server config:

rclc_parameter_options_t param_options = {
        .notify_changed_over_dds = true,
        .max_params = 6,
        .allow_undeclared_parameters = false,
        .low_mem_mode = true};

I tried increasing max_params to 10 (while only adding 6 parameters), tried with low_mem_mode = false, but none of these combinations work for more than 5 parameters. Works as expected with 5 or fewer than 5.

Is this limit of 5 hardcoded anywhere? How do I work with more than 5 parameters? Eventually I want to add a few more, up to 10 parameters.

  • Hardware description: Teensy 4.1
  • RTOS: -
  • Installation type: micro_ros_agent (using micro_ros_setup)
  • Version or commit hash:humble

Steps to reproduce the issue

Expected behavior

micro-ros-agent connects to the device, all entities are successfully created, and I can set/get all the parameters

Actual behavior

micro-ros-agent tries to connect to the device, the client goes into the RCCHECK error loop while trying to create the parameter server, while adding parameters to the server or while setting the default values. This is only observed when number of parameters is > 5.

Additional information

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

1 participant