GithubHelp home page GithubHelp logo

juliarobotics / botcorelcmtypes.jl Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 2.0 35 KB

LCM type definitions for compatibility with openhumanoids/bot_core_lcmtypes in Julia

License: Other

Julia 98.43% Shell 1.57%
julia lcm message-passing robotics

botcorelcmtypes.jl's Introduction

BotCoreLCMTypes

Build Status codecov.io

This package implements the LCM type definitions from openhumanoids/bot_core_lcmtypes in Julia using LCMCore.jl. Each lcmtype has a matching native Julia type with associated encode() and decode() methods.

Examples

using BotCoreLCMTypes, LCMCore

msg = vector_3d_t()
msg.x = 1
msg.y = 2
msg.z = 3
bytes = encode(msg)

decoded = decode(bytes, vector_3d_t)
@assert decoded.x == msg.x
@assert decoded.y == msg.y
@assert decoded.z == msg.z

Exported Types

atlas_command_t
force_torque_t
gps_data_t
gps_satellite_info_list_t
gps_satellite_info_t
image_metadata_t
image_sync_t
image_t
images_t
ins_t
joint_angles_t
joint_state_t
kvh_raw_imu_batch_t
kvh_raw_imu_t
planar_lidar_t
pointcloud2_t
pointcloud_t
pointfield_t
pose_t
position_3d_t
quaternion_t
raw_t
rigid_transform_t
robot_state_t
robot_urdf_t
sensor_status_t
six_axis_force_torque_array_t
six_axis_force_torque_t
system_status_t
twist_t
utime_t
vector_3d_t
viewer_command_t
viewer_draw_t
viewer_geometry_data_t
viewer_link_data_t
viewer_load_robot_t

botcorelcmtypes.jl's People

Contributors

juliatagbot avatar rdeits avatar tkoolen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

botcorelcmtypes.jl's Issues

How to include const image types into image_t?

Hi,

There's a bit of metadata that should be in image_t.jl:

    // these values are to be kept in sync with the CamPixelFormat enumeration
    // in the Camunits library.  See camunits/pixels.h in Camunits
    const int32_t PIXEL_FORMAT_UYVY             = 1498831189;
    const int32_t PIXEL_FORMAT_YUYV             = 1448695129;
    const int32_t PIXEL_FORMAT_IYU1             = 827677001;
    const int32_t PIXEL_FORMAT_IYU2             = 844454217;
    const int32_t PIXEL_FORMAT_YUV420           = 842093913;
    const int32_t PIXEL_FORMAT_YUV411P          = 1345401140;
...

This is from Libbot. How best to include this into src/image_t.jl? Alternatively, we just hack in the specific Int value without reference.

cc @tkoolen , @dehann

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.