Is there an already built-in method to change crazyflie parameters using rosrun on terminal?

Have searched through crazyflie_tools and there doesn't seem to be executable that can do it (the closest one is listParams), so I tried to write my own executable for it (I do not know C++ at all, was just playing around and trying it out, am taking online courses right now.), which compiled but doesn't work.

I was hoping to use this command line to control the parameters for the crazyflies because I'm using more than one, it would be so much faster to change all of their parameters by a using a single line of code.

I've tried using the python way of connecting at first. It works well, but the issue is that using crazyflie.open_link(uri) takes a considerable amount of time (>2s) and it establishes a blocking connection, whereas using the crazyflie ros tools, multiple crazyfliess can be targeted at once (not sure why that is so, might be because packets are sent instead of a establishing a stable link). I might as well do it via cfclient if I'm using this method.

Here is what I did, if anyone is interested. I'm ashamed because I really don't know what I'm doing, not sure if what I'm passing into the method even makes sense.

This is based of listParams.cpp by whoenig's crazyflie ros
setParam.cpp

All crazyflie_tools use a point-to-point communication right now, so changing parameters in parallel won't be possible; In the crazyswarm project we have python scripts that run crazyflie_tools in a loop for each CF. It would be possible to change parameters using broadcasts, but that is not implemented yet.

As for the difference between crazyflie_cpp and the python client: crazyflie_cpp does not have the notion of a connection like the python client, but individual commands might fail if a timeout is reached. Additionally, the communication is optimized to hide firmware latency of the asynchronous communication. You can establish a connection with crazyflie_cpp in <1s.

I guess CFClient is built for stability, steady flights, statistics, and configuration/maintenance, whereas crazyflie_cpp is made more for controlling multiple drones, faster communication, each has their pros and cons.