Skip to content

Releases: ibmtjbot/node-tjbotlib

TJBotLib 1.2.0

27 Mar 21:57
Compare
Choose a tag to compare

Hot on the heels of the 1.1.0 release, we present TJBotLib 1.2.0!

Scope of Changes

  • added new methods for the language_translation service: tj.translate(), tj.identifyLanguage(), tj.isTranslatable()
  • added new tj.configuration.speak.voice option to force TTS to use a specific voice. this is useful when there are multiple options for voices given a gender and a language.
  • revamped console logging, including removing tj.configuration.verboseLogging, adding tj.configuration.log.level, and converting all console calls to use the Winston library

TJBotLib v1.1.0

23 Mar 23:09
Compare
Choose a tag to compare

Scope of Changes

TJBotLib

  • lazy loading of watson APIs
  • added back configuration defaults which can be overridden in the TJBot constructor
  • added ability to specify a gender for TJBot (which is used when selecting a TTS voice)
  • added ability to give TJBot a name (which can be used in listen() to determine if you are addressing your robot)
  • removed pin argument to _setupLED since it wasn't being used (and doesn't look like it can be specified)
  • added new method tj.armBack() to put TJBot's arm in a backward position
  • updated servo stop positions to correspond to back/raised/lowered (based on setting up a new TJBot with a new servo; if these values are not working for your TJBot, you can override them via TJBot.prototype._SERVO_ARM_{BACK,UP,DOWN}
  • using Raspistill package for camera functions
  • added analyze_tone, converse, and translate as explicit capabilities
  • added explicit list of languages that TJBot can listen in and speak in
  • renamed config to configuration for clarity
  • cleaned up how error messages are being reported on the console

README

  • huge revamp of README to document the new tjbotlib API

General cleanup

  • removed stray files that aren't a core part of this library
  • went through tjbot.js with a fine-toothed comb to make sure the code is clean and organized