Replies: 1 comment
-
Please note that, following #173, if you want to use YARP 2.3.70 on a physical iCub mounting a pc104 board, you will need to update the OS running on the pc104 to the 6.0 image based on Debian Jessie. Please refer to http://wiki.icub.org/wiki/The_Linux_on_the_pc104 for more information . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
YARP 2.3.70 was released today and is now available for download at: https://github.com/robotology/yarp/releases/. This release is a feature release and introduces several new features and important changes since YARP 2.3.68.
A (partial) list of bug fixed and issues resolved in this release can be found
here.
Important Changes
System Configuration
YARP_CONF
environment variable has been deprecated for a long time(since April 2013) and it is no longer used. Since there was not a proper
warning, the warning is printed now at runtime when the variable is set. See
ResourceFinder::getConfigHome()
documentationfor informations about paths used by YARP to detect the configuration files.
If you still need to use the
YARP_CONF
for some reason, you can use theYARP_CONFIG_HOME
environment variable instead.Build System
1.2.0 is now an optional dependency.
CMake Modules
YarpPlugin
BEGIN_PLUGIN_LIBRARY
ADD_PLUGIN_NORMALIZED
PREPARE_PLUGIN
PREPARE_DEVICE
PREPARE_CARRIER
END_PLUGIN_LIBRARY
ADD_PLUGIN_LIBRARY_EXECUTABLE
YARP_ADD_PLUGIN_LIBRARY_EXECUTABLE
YARP_HAS_NAME_LIB
variable has been removed sinceYARP_name
is alwaysavailable, and is considered a private library.
that library. Using
include_directories(${YARP_INCLUDE_DIRS})
should nolonger be required.
YarpPlugin.cmake
andYarpInstallationHelpers.cmake
are now automaticallyincluded from
YARPConfig.cmake
, therefore all commands defined in thesefiles are available after
find_package(YARP)
. Including them explicitly isnow considered deprecated. For the same reason, adding
YARP_MODULE_PATH
tothe
CMAKE_MODULE_PATH
variable is considered deprecated. If you need somemodules not available in CMake, please consider using YCM.
Libraries
simplify porting to other platforms without ACE
YARP_conf
YARP_conf
header only library target. Formerly these filesexisted but they did not belong to any target.
YARP_OS
i
command is now enabled only inDebug
andDebugFull
builds.future version of YARP:
yarp::os::exit()
yarp::os::abort()
yarp::os::signal()
yarp::os::ResourceFinder::setContext(const char* contextName)
YARP_dev
(device (device (foo bar)))
is now deprecated, use
(device (foo bar))
instead.i.e:
setPositionDirectMode()
,setPositionMode()
,setVelocityMode()
,setOpenLoopMode(),
setTorqueMode()`, etc.Position Control. (#499)
They accept a new parameter PidControlTypeEnum which defines the PID id
on which the method will operate.
For example
setPid(const PidControlTypeEnum& pidtype, int j, const Pid &pid)
.Currently, pidtype can be one of the following types:
VOCAB_PIDTYPE_POSITION
,VOCAB_PIDTYPE_VELOCITY
,VOCAB_PIDTYPE_TORQUE
,VOCAB_PIDTYPE_CURRENT
.deprecated.
To provide backward-compatibility, old methods automatically call the new
methods (e.g.
setTorquePid(int j, const Pid &pid)
callssetPid(VOCAB_PIDTYPE_TORQUE,int j,const PID &pid)
)IControlMode2::setControlMode(int, VOCAB_CM_XXX)
instead:IControlMode::setPositionMode(int)
IControlMode::setVelocityMode(int)
IControlMode::setTorqueMode(int)
IControlMode::setImpedancePositionMode(int)
IControlMode::setImpedanceVelocityMode(int)
IControlModeRaw
counterpartsYARP_math
YARP_math
can no longer be built using GSL. TheCREATE_LIB_MATH_USING_GSL
option was removed. Only Eigen is supported.
FindGSL.cmake
is no longerinstalled.
New Features
CMake Modules
YarpPlugin
YarpInstallationHelpers
yarp_configure_plugins_installation
has been introduced tosimplify installation of YARP plugins when
yarp_configure_external_installation
is not invoked.Libraries
libYARP_rtf
to simplify the creation of unit tests using theRobot Testing Framework (RTF)
and YARP. This is a slightly modified version of the RTF_YARP_utilities
library in RTF 1.0.
It can be enabled with the option
YARP_COMPILE_RTF_ADDONS
.YARP_OS
yarp::os
namespace:char* yarp::os::getcwd(char *buf, size_t size)
int yarp::os::fork(void)
yarp::os::Publisher
class:virtual void onRead(T &datum)
void useCallback(TypedReaderCallback< T > &callback)
void useCallback()
void disableCallback()
yarp::os::Subscriber
class:void setStrict(bool strict = true)
yarp::os::ResourceFinder
class:
bool setDefaultContext(const yarp::os::ConstString& contextName)
clear()
method to PID class.yarp::os::Route
was refactored:addFromName()
addToName()
addCarrierName()
addToContact()
setFromName()
setToName()
setCarrierName()
setToContact()
swapNames()
YARP_dev
getRgbResolution
andgetRgbSupportedConfigurations
to theIRgbVisualParams
interface.yarp::dev::IJoypadController
interface and the newJoypadControlClient
andJoypadControlServer
devices.The implemented commands are:
get_transform
: print the transform from src to dstlist_frames
: print all the available refence frameslist_ports
: print all the opened ports for tranform broadcastingpublish_transform
: opens a port to publish transform from src to dstunpublish_transform
: closes a previously opened port to publish atransform
unpublish_all
: closes a all previously opened ports to publish a transformput in separated files. Reimplemented without templates.
for reply.
related helpers for units conversions.
IMap2D
interface.yarp::dev::MapGrid2D
data type.IHapticDevice
interface.YARP_math
yarp::sig::Vector dcm2ypr(const yarp::sig::Matrix&)
yarp::sig::Matrix ypr2dcm(const yarp::sig::Vector&)
Vec2d<>
. can be only instantiated as int or double.Tools
yarpidl_rosmsg
clear()
method.GUIs
yarplaserscannergui
yarpview
--autosize
and checkbox to force yarpview to resize whenever a frameof a different size is received.
left button pressed: yarpview starts to draw a line.
When the left button is released, the coordinates of the initial and the final
point are sent to the 'out' yarp port.
yarpmotorgui
:RobotDescriptionClient
to automatically get the namesof robot parts.
yarpmotorgui
now enforces the correct "go to home" behaviour:apply the robot home position as specified by the
Calibrator
, seethis comment in QA#108
These positions can be executed by newly introduced "Custom positions"
submenus. Syntax is described in the
yarpmotorgui
documentation.#1160
yarpmanager
(#1051).
Carriers
zfp
portmonitor for compressing floating point arrays using the ZFPlibrary (see http://computation.llnl.gov/projects/floating-point-compression).
Devices
RobotDescriptionServer
device to store devices info.RobotDescriptionClient
device. User module can ask a list ofregistered devices using the iRobotDescription interface.
Map2DServer
to store navigation maps.Map2DClient
. User module can perform operations on thestored maps using the
iMap2D
interface.SDLJoypad
device.rpLidar2
device.fakeDepthCamera
device.ServerGrabber
to handle one or two camera devices infunction of the configuration.
AnalogWrapper
joint_names
tojointNames
like thecontrolBoardWrapper
. The old name is deprecated.controlboardwrapper
TestFrameGrabber
TestFrameGrabber
was removed from libYARP_dev and it is now an optionalplugin.
ovrheadset
Supporting both the old and the new SDK is really not worth the effort.
Therefore, since Linux and macOS are not supported by the latest SDK, only
Windows is currently supported. If you need support on Linux or macOS you can
checkout commit
a05fec65e7bc67cceba5c59f26881e98590fccf7
from git history.--multisample
,--no-overdrive
,--no-hqdistortion
, and--no-timewarp
) and the relative toggles were removed, since they can nolonger be enabled/disabled from the SDK .
--no-logo
from command line or toggle with[T]
while running). This isuseful to ensure that the device is working while waiting for the connection.
--no-crosshairs
from command line or toggle with[C]
while running).at the top-right corner (disable with
--no-battery
from command line ortoggle with
[B]
while running)RemoteControlBoard
ControlBoardWrapper2
devices that does not havethe
stateExt:o
port.The
state:o
port in the wrapper is still available for encoder reading.was dropped.
ServerFrameGrabber
ServerFrameGrabber
now implements the interface yarp::dev::IRgbVisualParamsfor parsing rgb camera parameters.
TestFrameGrabber
'mode = size
option to broadcast a simple video with variableframe size.
TestFrameGrabber
now implements the interface yarp::dev::IRgbVisualParamsfor parsing rgb camera parameters.
RTF Plugins
yarpmanager
RTF Fixture Managers was imported fromrobotology/robot-testing, and allows one to start a fixture using yarpmanager.
It can be enabled with the option
YARP_COMPILE_RTF_ADDONS
.yarpplugin
RTF Fixture Managers was imported from robotology/icub-tests(Originally YarpPluginFixture), and allows one to check if a yarp plugin is
available.
It can be enabled with the option
YARP_COMPILE_RTF_ADDONS
.Bindings
yarp/os/Log.h
andyarp/os/LogStream.h
.It allows the following:
Bug Fixes
Libraries
YARP_OS
YARP_dev
FrameTransformClient::getTransform()
(#1184)FrameTransformClient
(if running without theFrameTransformServer
)FrameTransformClient
.Beware: we are currently using yarp time, not ros timestamps
Tools
yarprobotinterface
against syntax errors (#832).
all
to attach to all yarprobotinterface devices (used byRobotDescriptionServer
).yarpidl_rosmsg
GUIs
QT_DEVICE_PIXEL_RATIO
withQt::AA_EnableHighDpiScaling
whensupported by the installed Qt5 version. (#837, #1122, #1038, #1267)
yarpmotorgui
yarpmanager
Devices
laserFromDepth
RGBDSensorWrapper
imuBosch_BNO055
run()
andread()
methods.Contributors
This is a list of people that contributed to this release (generated from the
git history using
git shortlog -ens --no-merges v2.3.68..v2.3.70
):Beta Was this translation helpful? Give feedback.
All reactions