Code Monkey home page Code Monkey logo

yp-spur's People

Contributors

a-matsumoto avatar at-wat avatar daikimaekawa avatar github-actions[bot] avatar rty2357 avatar tobias-fischer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

yp-spur's Issues

Socket IPC between 32bit machine and 64bit machine failed.

原因と思われる箇所
sh_bando@robobnd-l:~/lab/researches/programs/platform$ find ./open-spur/ -name ".h" | xargs grep -n 'long'

./open-spur/include/command.h:63:void message_return( struct ipcmd_t *ipcmd, long retpid, YPSpur_msg * res_msg );
./open-spur/include/ypparam.h:266: long msg_type;
./open-spur/include/ypparam.h:267: long pid;
./open-spur/include/ypparam.h:300:#define YPSPUR_MSG_SIZE (sizeof(YPSpur_msg) -sizeof(long))

(Transferred from readmine ticket. Originally by S. Bando.)

Fix decelerate logic on over speed

if (fabs(spur->vref_smooth) > fabs(spur->v))
{
// 直前の速度が最大速度より大きかったら、ハードウェア最大加速度で減速
dv = p(YP_PARAM_MAX_ACC_V, 0) * p(YP_PARAM_CONTROL_CYCLE, 0);
}
if (fabs(spur->wref_smooth) > fabs(spur->w))
{
// 直前の角速度が最大角速度より大きかったら、ハードウェア最大角加速度で減速
dw = p(YP_PARAM_MAX_ACC_W, 0) * p(YP_PARAM_CONTROL_CYCLE, 0);
}

Decelerate by YP_PARAM_MAX_ACC_V only if exceeding YP_PARAM_MAX_VEL.

Return value of get_pos is invalid on windows.

The (built in) emulation of system V message queue for Windows has a bug.
Last sizeof(long) bytes of the returned data from coordinator lost.
Socket version might have the same problem.

(Transferred from readmine ticket.)

Release 1.16.0

TODO

bug fixes

  • Fix decelerate logic on over speed #87
  • Stricten param err check #88
  • Fix serial communication error handling #107

new features

  • Receive error status of connected device #89
    • Update motor error ID #93
  • Support inverted hall sensor signal #85
  • Add encoder denominator parameter #86
    • Fix ENCODER_DENOMINATOR handling to make param units corresponding to hardware #104

Error occured when compiling ypspur_ros with release version

I installed the software according to https://github.com/openspur/yp-spur/wiki so that I would like to use ypspur_ros in the indigo environment.
But it seems that ypspur-config.cmake will not be installed on release version.

I compiled ypspur-ros instaled yp-spur (commit ver. de084f3).

$catkin build ypspur_ros
Errors     << ypspur_ros:cmake /home/USER/hoge-project/catkin_ws/logs/ypspur_ros/build.cmake.005.log
CMake Error at /home/USER/hoge-project/catkin_ws/src/ypspur_ros/CMakeLists.txt:41 (find_package):
  By not providing "Findypspur.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ypspur", but
  CMake did not find one.

  Could not find a package configuration file provided by "ypspur" with any
  of the following names:

    ypspurConfig.cmake
    ypspur-config.cmake

  Add the installation prefix of "ypspur" to CMAKE_PREFIX_PATH or set
  "ypspur_DIR" to a directory containing one of the above files.  If "ypspur"
  provides a separate development package or SDK, be sure it has been
  installed.

I tried build the latest yp-spur.
It requires cmake3, but we use cmake as 2.8.6 in our environment.
Could you change CMakeLists.txt of yp-spur so that it can be executed with cmake2 ?

thanks.

世界座標系の定義について

https://github.com/openspur/yp-spur/blob/master/doc/files/libypspur_cheatsheet.pdf
上記pdfに定義されているSpur_line_GL(double x, double y, double th)を使用したところ、Y座標の向きが正負逆になっているようです。
例えば、

Spur_set_pos_GL(0, 0, 0);
Spur_line_GL(0.3, 0.3, 0);
...

としたところ、想定される経由点は添付画像の◎部分ですが、実際のロボットが経由する点は図中の✕部分となってしまいました。
私の理解では経由点は◎と想定しているのですが、この理解で正しいでしょうか。
よろしくお願い致します。

KM
fig

Spur_freeze breaks serial communication

Command: freeze
Mode: freeze
Command: get 0.000000 0.000000 0.000000
Error: Select timed out
Connection to /dev/ttyACM0 was closed.
Trajectory control loop stopped.
Command analyzer stopped.

--without-ssm option is not working.

  • OpenSpurからcloneした最新版のSSM(ver1.0.6)を先にPCにインストール
  • その後最新版のYP-Spur(ver1.14.0,最終コミット6/17)をインストール
  • ssm-coordinatorを起動後ypspur-coordinatorを起動しても、「With SSM」(あるいは「Without SSM」)の表示が出ず、SSMにもデータが流れない

(Transferred from readmine ticket. Originally by A. MATSUMOTO.)

Typos in ypspur-coordinator stdout text.

ypspur-coordinator起動時に流れる英文メッセージ、よくみたら英語のスペルミスがたくさん含まれています。
次回のアップデートの際には、コンソールに出力する文字(通常は画面に出ないようなエラーメッセージも)を確認してください。

一部抜粋:

  • undifined -> undefined
  • infometion -> information
  • analyser -> analyzer

(Transferred from readmine ticket. Originally by A. MATSUMOTO.)

Fix deployment of windows binary

Skipping a deployment with the releases provider because this is not a tagged commit
branches:
  only:

should have version tag?

ypspur-coordinator error depending on OS kernel difference

In these environment (Ubuntu16.04, kernel version 4.8), when running ypspur-coordinator, the follows error is occured.

$ypspur-coordinator -d
/dev/serial/by-id/usb-T-frog_project_T-frog_Driver-if00 -p beego.param

++++++++++++++++++++++++++++++++++++++++++++++++++
YamabicoProject-Spur
Ver. 1.14.0
++++++++++++++++++++++++++++++++++++++++++++++++++
with SSM

SSM is not available.
Device Information
Port : /dev/serial/by-id/usb-T-frog_project_T-frog_Driver-if00
Warn: Baudrate setting is not supported on this device.
Applying parameters.
YP-Spur coordinator started.
Warn: Illegal packet 'SS038400' received.
Warn: Illegal packet '04T' received.
Warn: Illegal packet '' received.
Warn: Illegal packet 'SS038400' received.
Warn: Illegal packet '04T' received.
Warn: Illegal packet '' received.
Warn: Illegal packet 'AP@@@@@i' received.
:
:
:

  • Solution
    Please try 1 or 2.
  1. downgrade to kernel version 4.6

  2. correct the source code 'serial.c'. please rewrite newtio.c_oflag from 0 to 1

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.