State of the official SDK

Please add feature and function requests for PM3 firmware, DLL/API's, and documentation here.
Post Reply
monsdar
Paddler
Posts: 12
Joined: January 25th, 2015, 11:27 am

State of the official SDK

Post by monsdar » March 11th, 2015, 6:55 am

Sorry for ranting, but I need to let it go:

I played around with the official C++ SDK since yesterday and I must admit that it is a horrible experience:
  • The documentation is hardly usable for someone who's new to the SDK. It is more like a reference than something which gets the user up and running
  • It seems outdated, the website states that it supports PM3, PM4 and PM5. It took me some hours of hacking and various Google findings to get it running with my PM5. Not to mention that everything is named 'PM3' - How should a new user know that it also works with a PM4 and PM5?
  • The tools do not work: The PMSDKDemo.exe does not recognize my PM5, though my own application does (though it took some time).
  • There are no examples. The only thing I could find was a short source-code in the documentation. It did not help a lot, though I was able to verify that I wasn't completely wrong. Why aren't there simple tools showing various use cases? Good examples do not substitute a written documentation, but they're worth a lot when it comes to understanding the SDK.
  • There are no tests at all... How do I know that everything runs as expected on my system?
One of the main reasons I choose to buy a Concept 2 ergometer was the ability to use the SDK and write my own software. I do not understand why the SDK is that bad. With a good interface it would be easy for a lot of users to create thirdparty applications. Granted, there's software available - but it could be a lot more. The available software is also often based on thirdparty interfaces developed by external users.

Another thing I do not understand is why the SDK is not made available as Open Source. Most problems I mentioned above could have been solved by a community. There are many companies hosting their code on GitHub and similar platforms. The CSAFE interface spec is available anyways, there wouldn't be a problem with someone stealing your intellectual property or something similar.

My request to Concept2 is to redesign and refactor the official C++ SDK. The current version is hardy usable. Developers, Users and Concept2 would profit from an easy to use programming interface.

scone
Paddler
Posts: 2
Joined: March 31st, 2015, 11:56 pm

Re: State of the official SDK

Post by scone » April 1st, 2015, 12:07 am

It would be lovely (and unlikely, by my guess) if they could release the source for the underlying DLLs so we could build our own versions, but at the very least, we the community could start our own github repo with a more up-to-date SDK. I found it very confusing that none of the examples work with the PM5, though it isn't exactly brand new.

I found this repo to be supremely helpful.

monsdar
Paddler
Posts: 12
Joined: January 25th, 2015, 11:27 am

Re: State of the official SDK

Post by monsdar » April 6th, 2015, 2:26 am

Thanks for the reply! Good to know that I'm not the only one having issues... The linked project is very easy to understand, thanks for that!

I too think that creating our own API implementation is probably our best bet. It's a bummer, I thought I could start right away, instead there's a lot of ground work to do to even get going :/

User avatar
kdahlhaus
500m Poster
Posts: 95
Joined: September 17th, 2006, 2:13 pm
Contact:

Re: State of the official SDK

Post by kdahlhaus » April 8th, 2015, 12:14 am

Have you seen my higher-level wrapper for the API in C++?
http://www.c2forum.com/viewtopic.php?f=18&t=17446
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://powertwenty.com
'Do' or 'Do not', there is no 'Try' -Yoda

monsdar
Paddler
Posts: 12
Joined: January 25th, 2015, 11:27 am

Re: State of the official SDK

Post by monsdar » April 20th, 2015, 1:59 pm

Looks very promising, I'll take a deeper look if I find any time. Thanks a lot!

Post Reply