Open GoogleCodeExporter opened 9 years ago
Ok, its not a bug probably but feature. After some testing I found out, that
parameters sent by MAV_COMP_ID_SYSTEM_CONTROL are not displayed, and that
parameter index starts from zero. False alert, sorry about that.
Original comment by andrus.k...@gmail.com
on 7 Sep 2011 at 5:57
Can you post a data file with the parameter read so I can step through and see
what's missing? I assume you can assign any values you want to these
parameters, right? If so, I can add your description, min and max values in an
area APM/ACM isn't using them. Does that make sense? MAVlink's parameters are
actually text values, so you tell me what they are and I can add them to the
internal table.
Original comment by paulbmather@gmail.com
on 7 Sep 2011 at 6:04
Once I made parameter index to start from zero and set component_id to
MAV_COMP_ID_IMU, my 5 parameters are all displayed. Now I need to figure out,
how to change them, as "write" button is grayed out and will not become active
even if I change my parameters..
What these parameters are is not so important at this stage, as I'm just
testing parameter interface and plan to add much more parameters once I've
figured out how to interface to HK GCS.
Having min/max and description for my parameters in HK GCS sounds tempting:-) I
will get back to you once I've finalized the parameter list I will send to GCS.
They are stored in svn/trunk/TextFiles/MAVlinkSetConfig.txt in your code,
aren't they?
Original comment by andrus.k...@gmail.com
on 7 Sep 2011 at 7:15
Yes.
Original comment by paulbmather@gmail.com
on 7 Sep 2011 at 7:18
I cannot get parameter save to work. What I did: I renamed my parameters to the
ones that exist in MAVlinkSetConfig.txt file, and now they appear together with
min/default values and comments. However, I cannot save parameters, as save
button is grayed out and pressing it does nothing. Can you please advise, what
I need in order to get parameter save to work, and/or point me to the source
file in your code where the relevant logic is?
Original comment by andrus.k...@gmail.com
on 8 Sep 2011 at 4:20
Attachments:
Ok, I got it working. I found out, that HK GCS wants variables to be
zero-padded in order to rezognize, that they are altered, and actiwate write
button. When I set them space-padded, then HK GCS did show variables, but did
not activate write button on alter.
I found that some variables are used internally by HK GCS and some variables
are simply not shown. This is what misleaded me at first, as when I set
variables to be zero-padded, then they did not show up and I thought that they
need to be space-padded.
Original comment by andrus.k...@gmail.com
on 13 Sep 2011 at 5:15
Original issue reported on code.google.com by
andrus.k...@gmail.com
on 7 Sep 2011 at 6:56Attachments: