text:
Open Two CartesianControllerClient at the same time

@samialperen commented on Wed Sep 12 2018
Hello,
I have created a client, server and trigger like in the assignment_motor_control to move both arms of iCub simultaneously. However, instead of using IPositionControl, I am using ICartesianControl for this purpose. It works quite fine and there is no problem with it. In another source file "frame_number_listener.cpp" I want to subscribe a ROS topic and when this ROS topic is available, I want to write pose and orientation information of all joints of right and left arms to a text file.
The problem is that when I try to open  cartesiancontrollerclient device again (which is already opened in trigger.cpp for left_arm and client.cpp for right_arm) in my frame_number_listener.cpp, it could not be opened. However, what I want is to use getPose function to obtain pose information on joints. To make sure that the problem is caused because of this, I moved only left arm in my trigger.cpp (i did not open cartesiancontrollerclient for right_arm in client.cpp and I recorded right_arm's joints using frame_number_listener.cpp and it worked quite fine.
Could anyone give me any advice to solve this issue? I do not want to make ROS subscription in one of the client, server or trigger because the topic's frequency that I want to subscribe is high and I lost information while waiting for motions to be done.
Is there an easy way to get all joint's pose?
Here are my frame_number_listener.cpp:
class MyModule:public yarp::os::RFModule
{
private:
    .............
public:
    ...

    bool updateModule()
    {
        yarp::rosmsg::std_msgs::UInt32* input_from_ros =subscriber.read();
        if( input_from_ros->data > 0 )
        {
            yInfo() << "I heard: " << input_from_ros->data;
            yarp::sig::Vector x,o;
            textfile << input_from_ros->data << std::endl;
            for (int i=0; i<=9; i++)
            {
                armL->getPose(i,x,o);
                textfile << x.toString();
                textfile << "\t\t";
                textfile << o.toString() << std::endl;
            }
        }
        else
        {
            yError() << "There is no useful data to read!";
        }
        return true;
    }

    bool LArm_config()
    {
        yarp::os::Property optLarm;
        optLarm.put("device", "cartesiancontrollerclient");
        optLarm.put("remote", "/icubSim/cartesianController/left_arm");
        optLarm.put("local", "/cartesian_server/left_arm");

        bool ok_L = false;
        double t0_L = yarp::os::Time::now();
        while (yarp::os::Time::now() - t0_L < 10.0)
        {
            if (drvLArm.open(optLarm))
            {
                ok_L = true;
                break;
            }

            yarp::os::Time::delay(1.0);
        }

        if (!ok_L)
        {
            yError() << "Unable to open the Cartesian Controller for Left Arm";
            return false;
        }

        drvLArm.view(armL);

        armL->storeContext(&startup_context_idL);

        yInfo() << "Left Arm Config is Successfull";
        return true;
    }

    bool configure(yarp::os::ResourceFinder &rf)
    {
        bool LArm_bool = false;
        LArm_bool = LArm_config();
        subscriber.topic("/saved_frame_number");

        return LArm_bool;
    }

   ....
};

int main(int argc, char * argv[])
{
    yarp::os::Network yarp;

    std::string save_dir = "~/my_save_dir/";
    MyModule module(save_dir);
    yarp::os::ResourceFinder rf;
    rf.configure(argc, argv);

    module.configure(rf);
    module.runModule();
    return 0;
}

Hi @samialperen
Most likely, the problem originates from the fact that the two programs are trying to open up a client whose ports do share the same local stem-name /cartesian_server/left_arm causing address conflicts when running the second program in a row.
Opting for different local stem-names should sort it out.

👉 A couple of ending notes:

Please use Q&A issue tracking system for general purpose questions, not specifically related to a given repository.
Instead of writing up very long issues due to the presence of code snippets, post your code on Gist.

All these heads-up are also summarized in our policies.


text:
Box Auto Layout not working

Hi there,
I am having trouble getting Box to work with Auto Layout.
Given the "Box" sample code:
from vanilla import Window, Box, TextBox
class BoxDemo:
    def __init__(self):
        self.w = Window((150, 70))
        self.w.box = Box((10, 10, -10, -10))
        self.w.box.text = TextBox((10, 10, -10, -10), "This is a box")
        self.w.open()
BoxDemo()

When converted to Auto Layout, it doesn't show correctly:
from vanilla import Window, Box, TextBox
class BoxDemoAutoLayout:
    def __init__(self):
        self.w = Window((150, 70))
        self.w.box = Box("auto")
        self.w.box.text = TextBox((10, 10, -10, -10), "This is a box")
        rules = [
            # Horizontal
            "H:|-border-[box]-border-|",
            # Vertical
            "V:|-border-[box]-border-|"
        ]
        metrics = {
            "border" : 10,
        }
        self.w.addAutoPosSizeRules(rules, metrics)
        self.w.open()
BoxDemoAutoLayout()

Replacing "Box" with "Group" works, so it leads me to believe the issue is in "Box":
from vanilla import Window, Group, TextBox
class BoxDemoAutoLayout:
    def __init__(self):
        self.w = Window((150, 70))
        self.w.box = Group("auto")
        self.w.box.text = TextBox((10, 10, -10, -10), "This is a box")
        rules = [
            # Horizontal
            "H:|-border-[box]-border-|",
            # Vertical
            "V:|-border-[box]-border-|"
        ]
        metrics = {
            "border" : 10,
        }
        self.w.addAutoPosSizeRules(rules, metrics)
        self.w.open()
BoxDemoAutoLayout()

Looking at the Box code, nothing jumps out at me that inherently would prevent Auto Layout from working, but it seems to be broken.

It does work when the contentView of a Box returns the default from VanillaBaseObject, which is the _nsObject, instead of the content view of the box...
This was an edit 12 years ago... @tal: I dont remember why, and it probably has to change...

I remember... the content view is also used to add other views and this must be the content view of the box... not the box itself

@tal: an option could be to add extra callback in VanillaBaseObject._getLayoutContentView() which basically returns the _getContentView() but allows Box to over write it and return a different "contentView"
will make a PR

FYI, I'm not tal. 😄

oh that would have been so easy, otherwise!!

Thanks, All!

source: gharchive/issue

authors: colinmford typemytype typesupply

repo: robotools/vanilla

license: MIT

license_type: permissive

license_source: github-api


text:
Erro com type da variavel offset

/** @var int / protected ?string $limit = null;
/* @var int */ protected ?int $offset = null;
existe um erro na tipagem da variavel offset do datalayer 2.0.1
se por engano o erro for meu peço aqui minhas desculpas,
porem se puderem me ajudar pois nao consigo usar o paginator por esta questão

Obrigado por reportar @DesignerDigital

Obrigado por reportar @DesignerDigital
Robson estamos com outro poblema em nosso desenvolvimento, no momento em que aplicamos o save() ele persiste no banco porem gera um erro na linha 280 do Datalayer dizendo que o data() é nullo,  fico no aguardo caso nao for um erro gostaria de saber se po nos ajudar a resolver esse problema

authors: DesignerDigital robsonvleite

repo: robsonvleite/datalayer


text:
wrong "when does not cover all the possibilities"

app "helloWorld"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.8.1/x8URkvfyi9I0QhmVG98roKBUs_AZRkLFwFJVJ3942YA.tar.br" }
    imports [pf.Stdout]
    provides [main] to pf

main =
    Stdout.line "Hello, World!"

testWhen = \lstA, lstB ->
    when (lstA, lstB) is
        ([], _) -> 5
        (_, []) -> 6
        (_, [_]) -> 7
        (_, [_, .. as tail]) -> List.sum(tail)

expect (testWhen [1] [1] == 7)

── UNSAFE PATTERN in examples/helloWorld.roc ───────────────────────────────────

This when does not cover all the possibilities:

10│>      when (lstA, lstB) is
11│>          ([], _) -> 5
12│>          (_, []) -> 6
13│>          (_, [_]) -> 7
14│>          (_, [_, .. as tail]) -> List.sum(tail)

Other possibilities include:

    ( [_, ..], _ )

I would have to crash if I saw one of those! Add branches for them!

────────────────────────────────────────────────────────────────────────────────

This similar version does work:
testWhen = \lst ->
    when lst is
        [] -> 5
        [_] -> 6
        [_, .. as tail] -> List.sum(tail)

expect (testWhen [1] == 6)

Possibly related to #6154

I've linked to this example from #6154. Closing this one as a duplicate of that one to keep everything all in one place.

repo: roc-lang/roc


text:
roc test should accept .md files

Very similar to #6980, but this one should run tests (expects) in all roc code blocks that have them.
Example code block:
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.12.0/Lb8EgiejTUzbggO2HVVuPJFkwvvsfW6LojkLR20kTVE.tar.br" }

import pf.Stdout
import pf.Task

main =
    List.range { start: At 1, end: At 100 }
    |> List.map fizzBuzz
    |> Str.joinWith ","
    |> Stdout.line

fizzBuzz : I32 -> Str
fizzBuzz = \n ->
    fizz = n % 3 == 0
    buzz = n % 5 == 0

    if fizz && buzz then
        "FizzBuzz"
    else if fizz then
        "Fizz"
    else if buzz then
        "Buzz"
    else
        Num.toStr n

## Test Case 1: not a multiple of 3 or 5
expect fizzBuzz 1 == "1"
expect fizzBuzz 7 == "7"

## Test Case 2: multiple of 3
expect fizzBuzz 3 == "Fizz"
expect fizzBuzz 9 == "Fizz"

Since @DavidEdwards1  PR was merged I'll start working on this one, I hope @Anton-4  can assign it to me :+1:


text:
Serialize maps as json when passed to jsonify to allow API based frontend

map objects should be jsonificable

Can you explain more?

from flask import jsonify
from flask_googlemaps import Map

@app.route('/')
    map = Map(......)
    return jsonify(map=map)

When accessed that url should return a json with map values
{map : {
  identifier:...
  markers: ...
  ...
  ...
}}

I think the flask jsonify code is well documented, related to this issue. I want to take this one if you guys are ok with it. Or are you already on this @vmesel ?

No problem @chicao ! Go on!

Hey @rochacbruno,
I did some stuff regarding the Markup setup of javascript and html  that I'm not sure if is acceptable. I passed the .js and .html through the json.dumps function so if somebody wants to load the map using AJAX, it might be possible.
However, I tried to create a view this dynamically to load the GMaps through JQuery AJAX function, referencing the jsonify routes of polygons and polylines maps, but everytime I tried to load dynamically it returned a JS Reference error of the google lib.  IDK if it's even a requirement, so let me know if there is anything I should fix.

authors: chicao rochacbruno vmesel

repo: rochacbruno/Flask-GoogleMaps


text:
Emit errors if there are errors in autoStartServer mode

The code argument was ignored if autoStartServer was set to true, but it should be emitted as an "error" event.

Many thanks for your contribution
I try to deploy ASAP
Regards

Thank you! :)

source: gharchive/pull-request

authors: rochejul zbjornson

repo: rochejul/gulp-angular-protractor

license: mit

license_source: bigquery


text:
Angularify panel scroll

Had to create various sub directives (rb-panel-scroll-top, rb-panel-scroll-scrollable & rb-panel-scroll-bottom) due to the transclusive nature of the component.
Also includes overlay-panel demo update.
TP https://rockabox.tpondemand.com/entity/10057

LGTM @ohskylab you happy with the markup etc.

@chrisvxd can we delete this redundant demo mark-up in /src/rb-panel-scroll/demo/demo.tpl.html, please?
<rb-section heading="Demo">
    <rb-panel-scroll></rb-panel-scroll>
</rb-section>

Other than one comment above, LGTM2.

authors: chrisvxd nwhite89 ohskylab


text:
phantomjs 2.0.0 not supported

Please note that I'm not requesting any kind of real support (it's a headless browser after all), I'm just wondering why it happened all of a sudden.
Long story short, browserInfo.browser is missing.
phantomjs -v
2.0.0

userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1
name: PhantomJS
phantom: true
version: 2
webkit: true
x: true
browser:
osversion: NaN
prefix inline: Webkit
prefix CSS: -webkit-

Your userAgent seems to be not supported by inline-style-prefixer. Feel free to open an issue.

Hey @bbenezech,
First of all inline-style-prefixer uses bowser to detect browser information. bowser supports phantomjs detection which is why there is phantom: true, name: PhantomJS, etc.
But as inline-style-prefixer uses caniuse.com data to detect browser features which also includes prefix information it only supports browsers listed on caniuse.com which are listed in the README.
So while the bowser information is ready, inline-style-prefixer can't map the browser to one of the caniuse browsers which is why it actually is left out.
If you got any proposal on how to do this better, or what to return instead of nothing, feel free to tell me :p. But as I don't know phantom by detail I can not support it.

NOTE: Soon I will replace bowser with a self-made more recent browser detection tool that will throw if e.g. a phantom userAgent was used.

Thanks @rofrischmann.
Is there a solution to get rid of the warning? Nobody needs prefixes on PhantomJS, but the warnings are cluttering my tests a bit. :mega:

@bbenezech It is possible to just add some valid global.userAgent? or would this crush your tests. Or perhaps you might tell me which context you're into. If it's e.g. Radium they provide some information about getting rid of the errors in their FAQ.

I guess you are refering to https://github.com/FormidableLabs/radium/tree/master/docs/faq#how-can-i-get-rid-of-useragent-warnings-in-tests
This is a different issue (no userAgent at all server-side)
Here I have a userAgent Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.0.0 Safari/538.1, but since caniuse doesn't care (normal), I get a warning Your userAgent seems to be not supported by inline-style-prefixer. Feel free to open an issue.
Not really necessary.
Maybe you can add a whitelist of headless userAgent that should not be considered? By grepping PhantomJS for example?

Oh woops, forgot about that :/ Well yeah I could at least at a whitelist or sth, but it should be as small and easy as possible. Would be nice to have some frequently used headless listed. As I know there's also often a problem using JSdom, so I might add that as well.

Should be fixed after releasing latest commit (see #37 )

+1 for a whitelisted JSDom useragent, preferably something really simple like "JSDom". For now, I'm just going to copy that whitelisted string to pretend JSDom is PhantomJS, sort of like how PJS pretends to be Firefox.

authors: bbenezech d4goxn rofrischmann

repo: rofrischmann/inline-style-prefixer


text:
User registered at 15:00 and was still fetching news index at 18:00

Happened in Sint-Truiden app
user: 213d41c81bd7de7c94b542136aae8c1f

Issue migrated to our-city-app/mobicage-backend#84

authors: bart-at-mobicage lucasvanhalst

repo: rogerthat-platform/rogerthat-backend


text:
Removal of Classification Metrics

updating Regression metrics
In project which involves Stock Price Prediction which is a regression tasks, the objective is to predict continuous values, making these metrics irrelevant and potentially misleading when evaluating model performance.
Since metrics like Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE) are already implemented and are appropriate for this regression task, I suggest removing the classification metrics. This will help maintain clarity and focus on relevant performance indicators.

Following https://github.com/rohitinu6/Stock-Price-Prediction/issues/35 is solved

@AnujSaha0111 please resolve the conflict

facing issues in resolving the conflicts


text:
Test strategy to get default values via place file saved from Studio

Measuring default values via scripts is finnicky and limited.
A better approach would be to trick Studio into writing all of the default values for every instance into a single file that we can read!

I'm going to rework this to be on top of #86 so that we only have one outstanding PR that rewrites this crate...

This is merged into the other work now.

repo: rojo-rbx/rbx-dom


text:
Calling :Clone() on a DataModel instance will produce a corrupted result

This can be replicated with this simple code snippet if input.rbxl is a default Baseplate template. As far as I'm aware, I don't think it's possible to successfully clone any DataModel without getting a corrupted file as a result.
local inputGame = remodel.readPlaceFile("input.rbxl")
local outputGame = inputGame:Clone()

remodel.writePlaceFile(outputGame, "output.rbxl")

When opening the output.rbxl file, I get this error from Roblox Studio:
Could not open the place "PATH/output.rbxl" with exception: "readIntVector offset is out of bounds while reading 4 bytes, offset=20, datasize=20 << refs vector, size=1 << property values, name=Attachment0, type=Attachment0 << chunk#110[PROP], property with typeIndex=104, type=AlignOrientation".

Very interesting! It seems that our Clone implementation might've gained some bugs when we ported to rbx-dom v2.

authors: LPGhatguy fredgig

repo: rojo-rbx/remodel


text:
[BUG] Multiple admins in the Contribution admins field not getting displayed and saved properly

Describe the bug
If there are multiple admins in the Contribution admins field, it's not getting saved properly during multiple edits.
To Reproduce
Steps to reproduce the behavior:

Create a Contribution with more than one admin in the list
Click the Edit Contribution button
See that commas are not present in the Contribution admins field.
Make some changes other than the Contribution admins field.
Check the Contribution data from Postman
See that there are blank spaces in the list.

Expected behavior
Commas should appear in the submission form as the comma separated list of admins GitHub usernames should get saved without the extra spaces in the database.
Screenshots
Catalog screesht showing missing commas in the admin users list:

Postman response screenshot showing blank space in the list

Desktop (please complete the following information):

OS: macOS
Browser: Chrome
Version: current develop

Additional context
Add any other context about the problem here.

merged to release1.17.0 branch.Closing this issue.

authors: minump sandeep-ps

repo: rokwire/rokwire-building-blocks-api


text:
Nach dem Heutigen Update 1.6.3.1 geht gar nichts mehr

Seit dem heutigen Update funktioniert Zattoo noch nicht mal mehr für zahlenden Kunden.
Es kommt nur NO ZAPPI RESULT
Bitte um Losung des Problems.

Hatte dasselbe @Karkdall.
Lösch bitte mal im Kodi-Unterordner userdata/addon_data/plugin.video.ZattoHiQ/ alles außer settings.xml und den ...keymap.xml-Dateien.
Dadurch wird beim nächsten Start die DB komplett neu angelegt; danach müssten die Streams wieder funktionieren.

@Kr1ss-XD habe ich eben gemacht und die Datenbank wurde neu angelegt. Aber die Streams im EPG spielen immer noch nicht ab.  Auch die Aufnahmen kann ich nicht einsehen.

@Kr1ss-XD Bei Zattoo als Provider funktionieren derzeit nur einzelne Streams wie Sport1, Viva oder QVC Style auch nach kompletter Neuinstallation des Plugins, Neuanlegen der Datenbank oder löschen der Dateien bis auf settings.xml und die ...keymap.xml Dataien. Fehlermeldung "NO ZAPI RESULT", keine Fehlermeldung in kodi.log. Zattoo HiQ Version ist 1.6.3.1.

authors: Karkdall Kr1ss-XD Proper-Job kolimbo


text:
Issue with only high stream in alt rtsp server

Seems rtsp doesn't work when using only high stream in alternate rtsp server.
I see two processes in ps:
h264grabber -m y20ga -r high -f
rtsp_server_yi -m y20ga -r high -a no -p 554
with only low stream it works.
y20ga 0.2.9

What about both streams?

I tested now your config:

only high res
no audio
It seems working, maybe it depends on other settings.

Please share your config (without personal data).

I switched between live555 and alternate rtsp server on camera several times in gui and seems after that high stream stopped working

Also I have these lags on vlc with live rtsp server. I don't know whether it is related or not. Video in zip. Wifi strength 90 percent in gui
2022-05-05 14.35.38.mp4.zip

Your configs are ok.

I switched between live555 and alternate rtsp server on camera several times in gui and seems after that high stream stopped working

It stopped working for both rtsp daemons?
About the mp4, you have a lot of lost frames. It's not a normal behavior.
Is your network ok?
I have no other ideas.

It stopped working only with alternate server. In that time I see recordings on microsd.
I tested again today. When I try to connect to camera with vlc to rtsp stream without audio, I got only error there. If I turn on audio, I hear sounds on vlc but without video. I attached last config
config.tar.bz2.zip

I noticed rmm process not exist and rRTSPserver process has high cpu usage (70-90 percent in top)
It is on live555 rtsp server..
I have several mstar cameras with the same config and they work without any issues

The config is ok.

I noticed rmm process not exist and rRTSPserver process has high cpu usage (70-90 percent in top)

If rmm doesn't exist it's a big problem.
The cam can't work if rmm is not running.
Probably rRTSPServer increases the cpu usage because the the video buffer is not filled by rmm.
Maybe an error in the whatchdog?
Try to comment the line with wd_rtsp.sh and reboot.
https://github.com/roleoroleo/yi-hack-Allwinner/blob/4f14f09e940bb4a62eaf00752656bd747da22f9a/src/static/static/home/yi-hack/script/system.sh#L282

authors: bonuzzz roleoroleo

repo: roleoroleo/yi-hack-Allwinner


text:
Email errors in ActionMailer::DeliveryJob are not reported

The docs recommend to add this to your ActiveJob jobs:
include Rollbar::ActiveJob

However, rails has a built-in job called ActionMailer::DeliveryJob which is used when you call deliver_later on your action mailer emails. Currently errors in that job are not being reported.
I think it makes sense for this gem to automatically hook into that job as part of Rails integration.

@maxim yes, we will need to add our module to ActionMailer::DeliveryJob class. You can do this now for yourself until we do it
ActionMailer::DeliveryJob.class_eval do
  include Rollbar::ActiveJob
end

Thanks,

@jondeandres just wondering why this was closed? It looks like this still needs to be manually included?

@sandlerr you are right, reopening. Thanks!

this can also written even shorter:
ActionMailer::DeliveryJob.include Rollbar::ActiveJob

I see this was fixed a while ago but I suspect this is no longer working for Rails v6.0+ because of Rails switching from ActionMailer::DeliveryJob to ActionMailer::MailDeliveryJob?

authors: defkode grzuy jondeandres maxim sandlerr

repo: rollbar/rollbar-gem


text:
Pino with rollup

I am using rollup-plugin-commonjs in my rollup config but still Pino https://github.com/pinojs/pino is not working. Could someone please show me rollup-plugin-commonjs config for using pino.

@ansarizafar Could you tell what exactly doesn't work? Try to reproduce the problem.

I am trying to use pino with sapper. Here is my code from sapper-template (rollup branch)
const Pino = require('pino');
const logger =  Pino({
        name: appName,
        level: "info",
       prettyPrint:  true,
        enabled: process.env.NODE_ENV === "production" ? false : true
      });

I am getting this error
Unexpected token
1: {
2:   "_from": "pino",
            ^
3:   "_id": "pino@5.3.0",
4:   "_inBundle": false,

Could you show error stack trace too?

I can only see the above mentioned error in terminal, no stack trace. Unfortunately, Sapper is under heavy development so error reporting is not good at the moment.

The unexpected token is coming from inside a JSON file. Do you have rollup-plugin-json installed?
The browser build of pino doesn't require a JSON file so I assume this is the server build you're talking about, in which case you probably don't need to bundle it anyway.

I am using  sapper-template (rollup branch) and rollup-plugin-json is not installed. Yes I am trying to use pino on the server. It seems that the json is from node_module/pino/package.json. No idea why this file is included or How it can be removed from bundle.

You have complete control over the Rollup config; that's why it's exposed to you instead of buried inside the framework. By default, items in dependencies are external; perhaps you have pino in devDependencies?
Either way, it's trivial to add rollup-plugin-json.

pino is not directly installed in sapper template, it is installed in another package under dependencies and that package is installed in sapper-template. I have never used rollup before so no idea how to solve this problem. Do I need to install rollup-plugin-json in sapper-template?

Whatever package depends on pino should be listed in pkg.dependencies in your project. Do npm ls pino if you're not sure which it is.

Do I need to install rollup-plugin-json in sapper-template?

Only if you're bundling pino.

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer:

authors: Rich-Harris TrySound ansarizafar shellscape

repo: rollup/rollup-plugin-commonjs


text:
Treeshake issue / generates dead code

import DebugMenu from 'DebugMenu.html'

if(false){
   const debugMenu = new DebugMenu({})
}

The expected result would be an empty file due to Rollup removing the entire if(false).. block, and consequently also removing the import of the Debug module. But Rollup-plugin-svelte generates code regardless of the module being ever used.
Even this would not be a problem because Rollup should be able to treeshake that generated code away as well. It cant however, because of one single line generated by the plugin, which causes Rollup to assume side-effects.
assign(DebugMenu.prototype, proto)

I tested this by manually removing the assign with another plugin in the plugin chain, and the resulting code is completely removed, as expected.
Could this be avoided by having rollup-plugin-svelte check whether the module is actually used?
(Yes, this case should never exist and pre-compilers such as jscc would solve it, but I still wanted to ask about this)

With the new /* @__PURE__ /* function call annotations that were just added to Rollup yesterday, I think the best way to handle this would probably be to have the compiler itself add these in certain places. I don't think this is the sort of thing that the Svelte plugin wants to get involved in.
That said, I'm pretty sure this assign() to the prototype doesn't even exist in the output of Svelte v3 (which is just around the corner). Svelte v3 uses a regular class ... extends ... {}. If compiled components are already becoming completely treeshakable in v3, I don't think this warrants much (if any) time spent on it.

Sounds great, looking forward to Svelte v3. Thanks!

authors: Conduitry dekdevy

repo: rollup/rollup-plugin-svelte


text:
Laion5B knn-service indice name

I've followed the instructions here for running clip-retrieval back with laion5B index.
However, whenever I run the service and create a client as
client = ClipClient(url="http://127.0.0.1:1234/knn-service", indice_name="laion5B-L-14"), I get a POST 500 error KeyError: 'laion5B-L-14'
What is the right indice_name is?

the one you put in the .json file for indices

the one you put in the .json file for indices


text:
Cti e2e

Describe your changes
Implemented end-to-end test for the trap calibration.  The outputs exactly match those of the TVAC outputs on the same dataset.  The simulated data (since we didn't have complete TVAC data for this) was made more realistic as well for the e2e test.
It turns out that for full-size frames, some of the "tricky" simulated traps are not found by the code.  I have added an optional input to the function to allow the user to specify the bin size for the illumination_correction() function.  Setting this to 10 allows the e2e test to find all the traps that were simulated, but this option was not available to the II&T code, so this optional input is not used in the e2e test.  I will document all these details on the Confluence page.
Type of change

New feature (non-breaking change which adds functionality)

Reference any relevant issues (don't forget the #)
#148
Checklist before requesting a review

[X ] I have linted my code
[X ] I have verified that all unit tests pass in a clean environment and added new unit tests, as needed
[X ] I have verified that all docstrings are properly formatted and added new documentation, as needed

Just pushed that change you wanted (relative error of < 1e-4).  Should all be good to go.

repo: roman-corgi/corgidrp


text:
Swift 5 transition fixes

I have just renamed all methods & attributes that have been renamed in Swift 5

Can someone please review this!

authors: StephanWalters mitakosp

repo: romansorochak/ParallaxHeader


text:
Added GUI based calculator

It is GUI based calculator made using python inbuilt library Tkinter. For the time, it performs essential functions but new operations can be added easily, if required.

Pls add a project description

Inside python script?

Merging, Star the repo if you like it.


text:
求解下安装脚本的问题

安装脚本貌似自己会去下代码，但是release 里默认是包含src的。
使用了1.6.0 beta 2.0的版本。但是装了恢复，恢复了再装（用了1-release 和 9 master），网页标题还显示alpha。
有尝试重启transmission，关闭transmission再装.
手动把下载的release 里的src替换相应目录后正常标题显示beta (未关闭transmission的情况下用sudo cp -rf做的)

抱歉，没看明白你想要表达什么？

抱歉，没看明白你想要表达什么？

release那里下的包，解压有个安装脚本，无论怎么跑貌似都没能成功升级

又跑了遍，变回 alpha了
......

xx@xx-ThinkPad-X260:~$ sudo bash 1.sh
[sudo] xx 的密码：

        欢迎使用 Transmission Web Control 中文安装脚本。
        官方帮助文档：https://github.com/ronggang/transmission-web-control/wiki
        安装脚本版本：1.2.2-beta

        1. 安装最新的发布版本（release）；
        2. 安装指定版本，可用于降级；
        3. 恢复到官方UI；
        4. 重新下载安装脚本（1.sh）；
        5. 检测 Transmission 是否已启动；
        6. 指定安装目录；
        9. 安装最新代码库中的内容（master）；
        ===================
        0. 退出安装；

        请输入对应的数字：1

1.sh: 行 425: curl：未找到命令

<< 2019-09-30 00:26:17 >> == 开始 ==
<< 2019-09-30 00:26:17 >>
<< 2019-09-30 00:26:17 >> 当前 Transmission Web 目录为:  /usr/share/transmission/web
<< 2019-09-30 00:26:17 >> 正在下载 Transmission Web Control...

Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/home/xx/.wget-hsts'. HSTS will be disabled.
--2019-09-30 00:26:17--  https://github.com/ronggang/twc-release/raw/master/src.tar.gz
正在解析主机 github.com (github.com)... 13.229.188.59
正在连接 github.com (github.com)|13.229.188.59|:443... 已连接。
已发出 HTTP 请求，正在等待回应... 302 Found
位置：https://raw.githubusercontent.com/ronggang/twc-release/master/src.tar.gz [跟随至新的 URL]
--2019-09-30 00:26:19--  https://raw.githubusercontent.com/ronggang/twc-release/master/src.tar.gz
正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.108.133
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|151.101.108.133|:443... 已连接。
已发出 HTTP 请求，正在等待回应... 200 OK
长度： 1068346 (1.0M) [application/octet-stream]
正在保存至: “src.tar.gz”

src.tar.gz                 100%[=======================================>]   1.02M   175KB/s    用时 5.4s

2019-09-30 00:26:25 (192 KB/s) - 已保存 “src.tar.gz” [1068346/1068346])

<< 2019-09-30 00:26:25 >> 下载完成，正在准备安装...
<< 2019-09-30 00:26:25 >> 正在解压安装包...
<< 2019-09-30 00:26:25 >> 正在复制安装包...
<< 2019-09-30 00:26:25 >> 正在设置权限，大约需要一分钟 ...
<< 2019-09-30 00:26:26 >> Transmission Web Control 安装完成!
<< 2019-09-30 00:26:26 >> 正在清理安装包...
<< 2019-09-30 00:26:26 >> 安装脚本执行完成。如遇到问题请查看：https://github.com/ronggang/transmission-web-control/wiki
<< 2019-09-30 00:26:26 >> == 结束 ==

@ted423 通过脚本安装，不要在 release 里下载压缩包，请参考：https://github.com/ronggang/transmission-web-control/wiki/Linux-Installation-CN
9 表示最新的内容，包含未发布的内容，所以想安装最新的内容直接用 9 即可。

@ted423 通过脚本安装，不要在 release 里下载压缩包，请参考：https://github.com/ronggang/transmission-web-control/wiki/Linux-Installation-CN
9 表示最新的内容，包含未发布的内容，所以想安装最新的内容直接用 9 即可。

当时试了9也不行

近期试了下9，更新到1.6.0没有任何后缀的版本了

repo: ronggang/transmission-web-control


text:
Update jquery.easyui.js

Please update this file with new version ( more nice for the switch system )
* In this new version the menu is modify ( when I try with the old file, the menu is very bad ... )*

Please check #46.


text:
update screenshots containing vectors

I like the way the vector accent over the capital A looks with this change.

The screenshots look good in Safari.  Thanks for fixing this.

repo: ronkok/KaTeX


text:
Updated from 0.9.10 to 0.9.11 and Reflections doesn't continue past constructor

Got this piece of code that worked fine in 0.9.10:
Reflections reflections = new Reflections("com.myname.myproject");
System.out.println("reflections ok");
Set<Class<? extends MyAbstractClass>> classes = reflections.getSubTypesOf(MyAbstractClass.class);
System.out.println("classes size:" + classes.size());

Which gave me this nice output:

[listenerPool0-thread158] INFO org.reflections.Reflections - Reflections took 154 ms to scan 1 urls, producing 8 keys and 51 values
reflections ok
classes size:23

When I try the same with 0.9.11, it just doesn't display any of the verbose output, although it does seem to produce the same number of keys and values:

[listenerPool0-thread255] INFO org.reflections.Reflections - Reflections took 138 ms to scan 1 urls, producing 8 keys and 51 values

I think I´m not following you what is exactly the issue? I see that both lines are the same. Maybe I´m missing something :)

The 0.9.11 version isn't writing "reflections ok" nor my classes size. The code just doesn't continue after the initial constructor, and no errors are popping up.

I just tried to reproduce your issue with a toy project, but couldn't find anything wrong, in fact in my case the I was able to complete the execution of the code you provided. Maybe there is something special about the Abstract class you are using.
Maybe (this is just a guess from a bug I solved this week) you are using java-8 features in that class and you have an outdated version of javassist. But I´m just guessing. If you can share more details I'll be happy to help.

Well this sounds promising. My abstract class is pretty basic and doesn't use any java8. But my extending classes do.
So I started checking my outdated components and I upgrade my gradle wrapper from 3.0 to 4.0.2 and behold, it works. Thanks for the hint!

authors: Cypherke xiumeteo

repo: ronmamo/reflections

license: WTFPL


text:
License clarification

The LICENSE of the repository seems to be the Apache License 2.0. However, the website seems to have a different license at https://www.learnpython.org/tos
What does this mean?

I'll solve the licensing issue in the next few weeks.

I'll solve the licensing issue in the next few weeks.

This has been fixed, so the issue can be closed @ronreiter!

authors: mathstrains ronreiter stefanhaustein

repo: ronreiter/interactive-tutorials


text:
🛑 XRAY 🇩🇪 Germany DEH 1 is down

In 85f3799, XRAY 🇩🇪 Germany DEH 1 (https://dex-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇩🇪 Germany DEH 1 is back up in 76d2d9f.

repo: roosterkid/opentunnel-status-server


text:
🛑 TROJAN 🇺🇸 United States USO 1 is down

In 3aecc42, TROJAN 🇺🇸 United States USO 1 (https://ust-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇺🇸 United States USO 1 is back up in 3f43b9e.


text:
🛑 XRAY 🇺🇸 United States USF 1 is down

In 818ad46, XRAY 🇺🇸 United States USF 1 (https://usx-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇺🇸 United States USF 1 is back up in bd489bc.


text:
🛑 XRAY 🇩🇪 Germany DEH 1 is down

In bed1b16, XRAY 🇩🇪 Germany DEH 1 (https://dex-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇩🇪 Germany DEH 1 is back up in e9f316b.


text:
🛑 TROJAN 🇨🇦 Canada CAO 1 is down

In 92b1b27, TROJAN 🇨🇦 Canada CAO 1 (https://cat-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇨🇦 Canada CAO 1 is back up in 6df8d75.


text:
🛑 XRAY 🇨🇦 Canada CAO 1 is down

In efeaead, XRAY 🇨🇦 Canada CAO 1 (https://cax-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇨🇦 Canada CAO 1 is back up in b369a24.


text:
🛑 TROJAN 🇺🇸 United States USO 1 is down

In 28f9e16, TROJAN 🇺🇸 United States USO 1 (https://ust-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇺🇸 United States USO 1 is back up in 3c6e4e3.


text:
🛑 V2RAY 🇺🇸 United States USO 1 is down

In ada837c, V2RAY 🇺🇸 United States USO 1 (https://usv-4.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇺🇸 United States USO 1 is back up in b236c03.


text:
🛑 TROJAN 🇬🇧 United Kingdom UKO 2 is down

In 3cb7aa3, TROJAN 🇬🇧 United Kingdom UKO 2 (https://ukt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇬🇧 United Kingdom UKO 2 is back up in 166546b.


text:
🛑 V2RAY 🇮🇩 Indonesia IDA 2 is down

In 9cab519, V2RAY 🇮🇩 Indonesia IDA 2 (https://idv-3.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇮🇩 Indonesia IDA 2 is back up in b45c2f2.


text:
🛑 V2RAY 🇺🇸 United States USO 1 is down

In 4af4382, V2RAY 🇺🇸 United States USO 1 (https://usv-4.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇺🇸 United States USO 1 is back up in 818314a.


text:
🛑 SSH 🇺🇸 United States USF 1 is down

In d393c71, SSH 🇺🇸 United States USF 1 (http://uss-1.optnl.com:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇺🇸 United States USF 1 is back up in 76d435a.


text:
🛑 TROJAN 🇮🇩 Indonesia IDJ 1 is down

In 17b5d2d, TROJAN 🇮🇩 Indonesia IDJ 1 (https://idt-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇮🇩 Indonesia IDJ 1 is back up in 6629f53.


text:
🛑 XRAY 🇺🇸 United States USF 1 is down

In a96223a, XRAY 🇺🇸 United States USF 1 (https://usx-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇺🇸 United States USF 1 is back up in 03824a0.


text:
🛑 SSH 🇧🇬 Bulgaria BGI 1 is down

In 2f849e4, SSH 🇧🇬 Bulgaria BGI 1 (http://bgs-1.opensvr.net:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇧🇬 Bulgaria BGI 1 is back up in 2e1c934.


text:
🛑 V2RAY 🇸🇬 Singapore SGO 4 is down

In 2965d94, V2RAY 🇸🇬 Singapore SGO 4 (https://sgv-5.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇸🇬 Singapore SGO 4 is back up in 9d567dd.


text:
Add optional containerProps, mainProps and drawerProps props

This would be helpful to allow a great amount of customization. Would also help a lot in making the components accessible (the user can decide which component to have which accessibility prop etc).

@rt2zz Hi, would you be able to look into this PR? This is a non-breaking change.

@mmazzarolo Would you be able to look at this?

@SuhairZain did you ping me by mistake? 🤔

@mmazzarolo My bad. Didn't mean to tag you. Sorry. 😄

authors: SuhairZain mmazzarolo

repo: root-two/react-native-drawer


text:
Duplikate info fields when setting "No Value"

When setting one of the "Info Items" to "No Value", it will duplicate any of the other fields.

Sure, sorry, my initial message was kinda useless.
I created a configuration with iMazing and set one filed to "No Value". When applying the configuration profile, SupportApp will show one of the detail information fields twice: So.if I configure the bottom right field to "No Value" it contains the Wireless connection details, which are already contained in second row on the right side.

@jordywitteman (forgot to ping...)

@xdemiansmithx sorry for the delay. Perhaps you already figured out, but all info items have defaults. Also, if the fifth info item is configured to be shown, then also the sixth item will be shown with its default value. It depends on how many rows you want to show and if needed, explicitly change the info item values to match your needs. Here's more info: https://github.com/root3nl/SupportApp?tab=readme-ov-file#info-items

authors: jordywitteman xdemiansmithx


text:
raspiblitz 1.6.2 - NO HDD FOUND

Last login: Mon Jan 11 20:16:47 2021 from 192.168.0.20
Starting the main menu ...

WARNING: NO HDD FOUND -> Shutdown, connect HDD and restart.

If HDD is connected - please report the result of the following command:
sudo /home/admin/config.scripts/blitz.datadrive.sh status

admin@raspberrypi:~ $ sudo /home/admin/config.scripts/blitz.datadrive.sh status
RASPIBLITZ DATA DRIVE Status
BASICS
isMounted=0
isBTRFS=0
SETUP INFO
isSSD=0
hddCandidate=''
hddBytes=0
hddGigaBytes=0
hddPartitionCandidate=''
RAID
isRaid=0
raidCandidates=0
SWAP
isSwapExternal=1
SwapExternalPath='/mnt/hdd/swapfile'

What  parts are you using?
The recommendations are in the shopping list, ignore at your own peril.

What  parts are you using?
The recommendations are in the shopping list, ignore at your own peril.

This one here with 4 GB ram:
https://shop.fulmo.org/product/raspiblitz-1-6-metalcase-edition/
After a reboot and a longer sync overnight, it seems to work again now!
It happened so suddenly without any changes.

This one here with 4 GB ram:
https://shop.fulmo.org/product/raspiblitz-1-6-metalcase-edition/
After a reboot and a longer sync overnight, it seems to work again now!
It happened so suddenly without any changes.

This Option"usb-storage.quirks=152d:1561:u" in file "/boot/cmdline.txt" it helps me. The "idVendor=152d, idProduct=1561" is the id of my controller ;-)
You can read this both article to the SSD problems.

https://www.raspberrypi.org/forums/viewtopic.php?t=270410
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931

This Option"usb-storage.quirks=152d:1561:u" in file "/boot/cmdline.txt" it helps me. The "idVendor=152d, idProduct=1561" is the id of my controller ;-)
You can read this both article to the SSD problems.

https://www.raspberrypi.org/forums/viewtopic.php?t=270410
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931

I had similair issues when I set up a Rpi 3b+ and 1TB. Turns out upping the power supply to 5V 3A was only a partial solution, had to increase cable diameter to reduce loses to the pi. Now gear is running.
My 2 bobs worth, ensure pwr supply can pump out 3A and the cable diameter is in the 3~4mm region at least. A small signal wire of 1~3mm has to many losses.

I had similair issues when I set up a Rpi 3b+ and 1TB. Turns out upping the power supply to 5V 3A was only a partial solution, had to increase cable diameter to reduce loses to the pi. Now gear is running.
My 2 bobs worth, ensure pwr supply can pump out 3A and the cable diameter is in the 3~4mm region at least. A small signal wire of 1~3mm has to many losses.

@DocBrown101 Please close this as it was solved.

repo: rootzoll/raspiblitz


text:
Testing ackermann steering controller

So I'm trying to test the Ackermann Steering Controller that is currently being worked on to get merged.
I built a repo with the hardware_interface and the urdf description of an Ackermann robot (f1tenth).
Everything is set up but I am running into an issue. This is my first time setting up ros2_control for a robot, so I feel lost as to how I could resolve the problem.
In this repo there is info regarding how to reproduce my docker environment.
I believe the issue is that the "front wheel joints" (continuous) which are connected to the "steering hinges" (revolute) are not registered to the Ackermann controller so their transformations aren't published. Not sure that's the issue though. Nonetheless, the front wheels aren't showing up in the rviz.

Any suggestions as to what I need to do?

Just to provide more info, this is the output I'm getting from running sim.launch.py:
root@reza:/ros2_ws# ros2 launch f1tenth_hardware_interface sim.launch.py
[INFO] [launch]: All log files can be found below /root/.ros/log/2023-05-15-15-14-49-066357-reza-opti-112
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [ros2_control_node-1]: process started with pid [117]
[INFO] [robot_state_publisher-2]: process started with pid [119]
[INFO] [spawner-3]: process started with pid [121]
[robot_state_publisher-2] [INFO] [1684163689.499421405] [robot_state_publisher]: got segment base_link
[robot_state_publisher-2] [INFO] [1684163689.499491414] [robot_state_publisher]: got segment chassis
[robot_state_publisher-2] [INFO] [1684163689.499497134] [robot_state_publisher]: got segment chassis_inertia
[robot_state_publisher-2] [INFO] [1684163689.499499763] [robot_state_publisher]: got segment left_front_wheel
[robot_state_publisher-2] [INFO] [1684163689.499501965] [robot_state_publisher]: got segment left_rear_wheel
[robot_state_publisher-2] [INFO] [1684163689.499504116] [robot_state_publisher]: got segment left_steering_hinge
[robot_state_publisher-2] [INFO] [1684163689.499506286] [robot_state_publisher]: got segment right_front_wheel
[robot_state_publisher-2] [INFO] [1684163689.499508589] [robot_state_publisher]: got segment right_rear_wheel
[robot_state_publisher-2] [INFO] [1684163689.499510678] [robot_state_publisher]: got segment right_steering_hinge
[ros2_control_node-1] [INFO] [1684163689.533249734] [resource_manager]: Loading hardware 'f1tenth'
[ros2_control_node-1] [INFO] [1684163689.534569860] [resource_manager]: Initialize hardware 'f1tenth'
[ros2_control_node-1] [INFO] [1684163689.534701765] [F1TENTHSystemHardware]: F1TENTHSystemHardware interface has 4 joints
[ros2_control_node-1] [INFO] [1684163689.534736785] [F1TENTHSystemHardware]: Joint 'left_rear_wheel_joint' has 1 command interfaces and 2 state interfaces and they are as follows:
[ros2_control_node-1] [INFO] [1684163689.534740521] [F1TENTHSystemHardware]: Command interface 0: velocity
[ros2_control_node-1] [INFO] [1684163689.534742742] [F1TENTHSystemHardware]: State interface 0: position
[ros2_control_node-1] [INFO] [1684163689.534744478] [F1TENTHSystemHardware]: State interface 1: velocity
[ros2_control_node-1] [INFO] [1684163689.534746663] [F1TENTHSystemHardware]: Joint 'right_rear_wheel_joint' has 1 command interfaces and 2 state interfaces and they are as follows:
[ros2_control_node-1] [INFO] [1684163689.534748505] [F1TENTHSystemHardware]: Command interface 0: velocity
[ros2_control_node-1] [INFO] [1684163689.534750061] [F1TENTHSystemHardware]: State interface 0: position
[ros2_control_node-1] [INFO] [1684163689.534751534] [F1TENTHSystemHardware]: State interface 1: velocity
[ros2_control_node-1] [INFO] [1684163689.534752992] [F1TENTHSystemHardware]: Joint 'left_steering_hinge_joint' has 1 command interfaces and 1 state interfaces and they are as follows:
[ros2_control_node-1] [INFO] [1684163689.534754621] [F1TENTHSystemHardware]: Command interface 0: position
[ros2_control_node-1] [INFO] [1684163689.534756080] [F1TENTHSystemHardware]: State interface 0: position
[ros2_control_node-1] [INFO] [1684163689.534757554] [F1TENTHSystemHardware]: Joint 'right_steering_hinge_joint' has 1 command interfaces and 1 state interfaces and they are as follows:
[ros2_control_node-1] [INFO] [1684163689.534759127] [F1TENTHSystemHardware]: Command interface 0: position
[ros2_control_node-1] [INFO] [1684163689.534760579] [F1TENTHSystemHardware]: State interface 0: position
[ros2_control_node-1] [INFO] [1684163689.534766290] [resource_manager]: Successful initialization of hardware 'f1tenth'
[ros2_control_node-1] [WARN] [1684163689.535000006] [controller_manager]: [Deprecated]: Automatic activation of all hardware components will not be supported in the future anymore. Use hardware_spawner instead.
[ros2_control_node-1] [INFO] [1684163689.535088243] [resource_manager]: 'configure' hardware 'f1tenth'
[ros2_control_node-1] [INFO] [1684163689.535097174] [resource_manager]: Successful 'configure' of hardware 'f1tenth'
[ros2_control_node-1] [INFO] [1684163689.535105776] [resource_manager]: 'activate' hardware 'f1tenth'
[ros2_control_node-1] [INFO] [1684163689.535108944] [F1TENTHSystemHardware]: Activating ...please wait...
[ros2_control_node-1] [INFO] [1684163689.535110942] [F1TENTHSystemHardware]: Activated.
[ros2_control_node-1] [INFO] [1684163689.535113250] [resource_manager]: Successful 'activate' of hardware 'f1tenth'
[ros2_control_node-1] [INFO] [1684163689.540076751] [controller_manager]: update rate is 10 Hz
[ros2_control_node-1] [INFO] [1684163689.540196844] [controller_manager]: RT kernel is recommended for better performance
[ros2_control_node-1] [INFO] [1684163689.968315617] [controller_manager]: Loading controller 'joint_state_broadcaster'
[spawner-3] [INFO] [1684163690.041090154] [spawner_joint_state_broadcaster]: Loaded joint_state_broadcaster
[ros2_control_node-1] [INFO] [1684163690.041877790] [controller_manager]: Configuring controller 'joint_state_broadcaster'
[ros2_control_node-1] [INFO] [1684163690.042104101] [joint_state_broadcaster]: 'joints' or 'interfaces' parameter is empty. All available state interfaces will be published
[spawner-3] [INFO] [1684163690.241211594] [spawner_joint_state_broadcaster]: Configured and activated joint_state_broadcaster
[INFO] [spawner-3]: process has finished cleanly [pid 121]
[INFO] [spawner-4]: process started with pid [211]
[INFO] [rviz2-5]: process started with pid [213]
[rviz2-5] QStandardPaths: wrong permissions on runtime directory /tmp, 0777 instead of 0700
[rviz2-5] [INFO] [1684163690.731170276] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-5] [INFO] [1684163690.731350366] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[rviz2-5] [INFO] [1684163690.836750694] [rviz2]: Stereo is NOT SUPPORTED
[ros2_control_node-1] [INFO] [1684163690.870720685] [controller_manager]: Loading controller 'ackermann_steering_controller'
[spawner-4] [INFO] [1684163690.941259380] [spawner_ackermann_steering_controller]: Loaded ackermann_steering_controller
[ros2_control_node-1] [INFO] [1684163690.942066500] [controller_manager]: Configuring controller 'ackermann_steering_controller'
[ros2_control_node-1] [INFO] [1684163690.942206850] [ackermann_steering_controller]: ackermann odom configure successful
[ros2_control_node-1] [INFO] [1684163690.946449346] [ackermann_steering_controller]: configure successful
[spawner-4] [INFO] [1684163691.141320540] [spawner_ackermann_steering_controller]: Configured and activated ackermann_steering_controller
[INFO] [spawner-4]: process has finished cleanly [pid 211]

and this is what rviz looks like:


text:
Added visualised detection results to README.md and corrected python virtual environment name to non-stamped variant.

This pull request includes the following patches:

Added 2 .gif animated files showing the training dataset and the detection results using Precision Level 3 custom-trained Maskrcnn model.

Changed python virtual environment name from m2_epd_gui  to epd_gui_env to avoid time-stamping the conda environment.

The second change above is a minor breaking change that will be easily rectified upon program bootup by user.

Codecov Report

Merging #18 (fb48cc6) into master (cf1bc34) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   89.19%   89.19%
=======================================
  Files          12       12
  Lines        1249     1249
=======================================
  Hits         1114     1114
  Misses        135      135

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf1bc34...fb48cc6. Read the comment docs.

authors: cardboardcode codecov-commenter


text:
Ignore _CATKIN_SETUP_DIR in devel_isolated setup scripts

Due to the chaining of the setup scripts, the _CATKIN_SETUP_DIR variable doesn't act the same in devel_isolated as it does in install_isolated or non-isolated devel space.
We could feasibly make it act in the same way, but since devel_isolated isn't relocatable to begin with, it would have no benefit.
Needed by https://github.com/ros-infrastructure/ros_buildfarm/pull/607

Can you please add more information about the exact steps when you run into this problem (preferably without involving the buildfarm)?
The setup.sh is explicitly unsetting the variable after use: https://github.com/ros/catkin/blob/f20b365e421bbbcd17af5b48859382b4cca138c8/cmake/templates/setup.sh.in#L16
I am not sure how the builder.py handles it when adding it to the environment: https://github.com/ros/catkin/blob/f20b365e421bbbcd17af5b48859382b4cca138c8/python/catkin/builder.py#L472

Normally, I would expect that setting the _CATKIN_SETUP_DIR variable prior to sourcing a setup.sh would tell the setup.sh where it lives. If I set the _CATKIN_SETUP_DIR to the root of the devel_isolated space and source the setup.sh, it chains to the setup.sh in one of the sub-directories without modifying the value. The sub-directory's setup.sh then tries to use the unmodified setup.sh and looks for the _setup_util.py in the root of the devel_isolated space, at which point the script fails.
This is only a problem when explicitly setting the _CATKIN_SETUP_DIR prior to sourcing, as is necessary to relocate the workspace.
Alternatively, we could make the chaining setup.sh handle relocation by making the path to the chained setup.sh by combining the relative path with the given-or-defaulted _CATKIN_SETUP_DIR value.

we could make the chaining setup.sh handle relocation by making the path to the chained setup.sh by combining the relative path with the given-or-defaulted _CATKIN_SETUP_DIR value.

Since that would be desired anyway I would rather lean towards that approach.

Superseded by #996

authors: cottsay dirk-thomas

repo: ros/catkin


text:
vision_opencv: 1.11.16-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository vision_opencv to 1.11.16-0:

upstream repository: https://github.com/ros-perception/vision_opencv.git
release repository: https://github.com/ros-gbp/vision_opencv-release.git
distro file: indigo/distribution.yaml
bloom version: 0.6.1
previous version for package: 1.11.15-0

cv_bridge
* Silence warnings about un-used variables
* Fixes #177 <https://github.com/ros-perception/vision_opencv/issues/177>
  The Python bridge was wrong on OpenCV2 with mono8 (and any Mat
  with only two dimensions btw). Took the official Python bridge
  from OpenCV.
* Add missing test file
  This fixes #171 <https://github.com/ros-perception/vision_opencv/issues/171>
* export OpenCV variables
* Properly deal with alpha in image compression.
  That fixes #169 <https://github.com/ros-perception/vision_opencv/issues/169>
* Contributors: Kei Okada, Victor Lamoine, Vincent Rabaud

image_geometry
* Fix compilation issues.
  Fix suggested by #173 <https://github.com/ros-perception/vision_opencv/issues/173> comment
* Make sure to initialize the distorted_image Mat.
  Otherwise, valgrind throws errors about accessing uninitialized
  memory.
  Signed-off-by: Chris Lalancette <mailto:clalancette@osrfoundation.org>
* Contributors: Chris Lalancette, Vincent Rabaud

vision_opencv

No changes

Holding...

authors: dirk-thomas vrabaud

repo: ros/rosdistro


text:
Update boost keys for Debian and Ubuntu.

boost

Use libboost-dev-all package for all Debian distributions.
Use libboost-dev-all package for all Ubuntu distributions.

libboost-atomic

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-chrono

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-date-time

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-filesystem

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-iostreams

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-math

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-program-options

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Drop Debian Jessie definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.
Drop Ubuntu Trusty definition.

libboost-python

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Drop Debian Jessie definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.
Drop Ubuntu Trusty definition.

libboost-random

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Drop Debian Jessie definition.
Drop Debian Wheezy definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.
Drop Ubuntu Trusty definition.
Drop Ubuntu Precise definition.

libboost-regex

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-serialization

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

libboost-system

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.
Drop Ubuntu Trusty definition.

libboost-thread

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.
Drop Ubuntu Trusty definition.

libboost-timer

Add Debian Bullseye definition.
Drop Debian Stretch definition.
Add Ubuntu Jammy definition.
Drop Ubuntu Xenial definition.

Same comment here about removing the xenial keys; I think we agreed to keep them for now.

Re xenial: We talked about it in #31569 and have guidance for how to use older tags. I'd suggest that we go ahead and remove them.

I've added a commit which temporarily restores the Xenial definitions to be removed once the Xenial discussion issue closes.


text:
Revert "realtime_tools: 2.3.0-1 in 'galactic/distribution.yaml' [bloom]"

I believe that this update was released into Galactic by mistake. In any case, the update is broken and has regressed several downstream packages. Until the maintainer can resolve the problem, it should be reverted to a working version.
This reverts #34258.

@bmagyar FYI


text:
Revert "ros2_controllers: 3.0.0-1 in 'humble/distribution.yaml' [bloom]"

Reverts ros/rosdistro#35892
It seems that this release has a missing source file so it fails to build. FYI @bmagyar. Here's the build job:
https://build.ros2.org/view/Hbin_uJ64/job/Hbin_uJ64__diff_drive_controller__ubuntu_jammy_amd64__binary/47/

Thanks. I don't think this was supposed to go to humble...

authors: audrow bmagyar


text:
PyBind11 Error: Use of deleted function std:hash

When I build try to build this package as part of ros2 jazzy, I get the following errors:
--- stderr: python_orocos_kdl_vendor
In file included from /home/user/ros/jazzy/build/python_orocos_kdl_vendor/deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/PyKDL.h:28,
from /home/user/ros/jazzy/build/python_orocos_kdl_vendor/deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:28:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘struct pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Vector, KDL::Vector, pybind11::detail::undefined_t>’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:24:   required from ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Vector; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                ^~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op_<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type_ = KDL::Vector; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:80:15:   required from here
80 |     vector.def(py::hash(py::self));
|     ^~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: error: use of deleted function ‘std::hashKDL::Vector::hash()’
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14.2.1/string_view:50,
from /usr/include/c++/14.2.1/bits/basic_string.h:47,
from /usr/include/c++/14.2.1/string:54,
from /usr/include/c++/14.2.1/bits/locale_classes.h:40,
from /usr/include/c++/14.2.1/bits/ios_base.h:41,
from /usr/include/c++/14.2.1/ios:44,
from /usr/include/c++/14.2.1/ostream:40,
from /usr/include/c++/14.2.1/iostream:41,
from /usr/include/kdl/utilities/utility_io.h:27,
from /usr/include/kdl/frames_io.hpp:79,
from /home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:27:
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: note: ‘std::hashKDL::Vector::hash()’ is implicitly deleted because the default definition would be ill-formed:
102 |     struct hash : __hash_enum<_Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum<KDL::Vector, false>::__hash_enum()’
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp,  >::__hash_enum(std::__hash_enum<_Tp,  >&&) [with _Tp = KDL::Vector; bool  = false]’
83 |       hash_enum(hash_enum&&);
|       ^~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: ‘std::hash_enum<Tp,  >::~hash_enum() [with Tp = KDL::Vector; bool  = false]’ is private within this context
102 |     struct hash : hash_enum<Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:84:7: note: declared private here
84 |       ~hash_enum();
|       ^
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Vector; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Vector; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:80:15:   required from here
80 |     vector.def(py::hash(py::self));
|     ^~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:28: error: ‘execute’ is not a member of ‘op’ {aka ‘pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Vector, KDL::Vector, pybind11::detail::undefined_t>’}
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                            ^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘struct pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Wrench, KDL::Wrench, pybind11::detail::undefined_t>’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:24:   required from ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Wrench; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                ~~~~~~~~^~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Wrench; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:167:15:   required from here
167 |     wrench.def(py::hash(py::self));
|     ^~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: error: use of deleted function ‘std::hashKDL::Wrench::hash()’
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: note: ‘std::hashKDL::Wrench::hash()’ is implicitly deleted because the default definition would be ill-formed:
102 |     struct hash : __hash_enum<_Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum<KDL::Wrench, false>::__hash_enum()’
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp,  >::__hash_enum(std::__hash_enum<_Tp,  >&&) [with _Tp = KDL::Wrench; bool  = false]’
83 |       hash_enum(hash_enum&&);
|       ^~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: ‘std::hash_enum<Tp,  >::~hash_enum() [with Tp = KDL::Wrench; bool  = false]’ is private within this context
102 |     struct hash : hash_enum<Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:84:7: note: declared private here
84 |       ~hash_enum();
|       ^
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Wrench; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Wrench; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:167:15:   required from here
167 |     wrench.def(py::hash(py::self));
|     ^~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:28: error: ‘execute’ is not a member of ‘op’ {aka ‘pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Wrench, KDL::Wrench, pybind11::detail::undefined_t>’}
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                            ^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘struct pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Twist, KDL::Twist, pybind11::detail::undefined_t>’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:24:   required from ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Twist; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                ~~~~~~~~^~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Twist; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:242:14:   required from here
242 |     twist.def(py::hash(py::self));
|     ~^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: error: use of deleted function ‘std::hashKDL::Twist::hash()’
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: note: ‘std::hashKDL::Twist::hash()’ is implicitly deleted because the default definition would be ill-formed:
102 |     struct hash : __hash_enum<_Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum<KDL::Twist, false>::__hash_enum()’
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp,  >::__hash_enum(std::__hash_enum<_Tp,  >&&) [with _Tp = KDL::Twist; bool  = false]’
83 |       hash_enum(hash_enum&&);
|       ^~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: ‘std::hash_enum<Tp,  >::~hash_enum() [with Tp = KDL::Twist; bool  = false]’ is private within this context
102 |     struct hash : hash_enum<Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:84:7: note: declared private here
84 |       ~hash_enum();
|       ^
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Twist; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Twist; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:242:14:   required from here
242 |     twist.def(py::hash(py::self));
|     ~^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:28: error: ‘execute’ is not a member of ‘op’ {aka ‘pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Twist, KDL::Twist, pybind11::detail::undefined_t>’}
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                            ^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘struct pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Rotation, KDL::Rotation, pybind11::detail::undefined_t>’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:24:   required from ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Rotation; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                ~~~~~~~~^~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Rotation; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:375:17:   required from here
375 |     rotation.def(py::hash(py::self));
|     ^~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: error: use of deleted function ‘std::hashKDL::Rotation::hash()’
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: note: ‘std::hashKDL::Rotation::hash()’ is implicitly deleted because the default definition would be ill-formed:
102 |     struct hash : __hash_enum<_Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum<KDL::Rotation, false>::__hash_enum()’
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp,  >::__hash_enum(std::__hash_enum<_Tp,  >&&) [with _Tp = KDL::Rotation; bool  = false]’
83 |       hash_enum(hash_enum&&);
|       ^~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: ‘std::hash_enum<Tp,  >::~hash_enum() [with Tp = KDL::Rotation; bool  = false]’ is private within this context
102 |     struct hash : hash_enum<Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:84:7: note: declared private here
84 |       ~hash_enum();
|       ^
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Rotation; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Rotation; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:375:17:   required from here
375 |     rotation.def(py::hash(py::self));
|     ^~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:28: error: ‘execute’ is not a member of ‘op’ {aka ‘pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Rotation, KDL::Rotation, pybind11::detail::undefined_t>’}
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                            ^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘struct pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Frame, KDL::Frame, pybind11::detail::undefined_t>’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:24:   required from ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Frame; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                ~~~~~~~~^~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Frame; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:457:14:   required from here
457 |     frame.def(py::hash(py::self));
|     ~^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: error: use of deleted function ‘std::hashKDL::Frame::hash()’
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: note: ‘std::hashKDL::Frame::hash()’ is implicitly deleted because the default definition would be ill-formed:
102 |     struct hash : __hash_enum<_Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: no matching function for call to ‘std::__hash_enum<KDL::Frame, false>::__hash_enum()’
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note: candidate: ‘std::__hash_enum<_Tp,  >::__hash_enum(std::__hash_enum<_Tp,  >&&) [with _Tp = KDL::Frame; bool  = false]’
83 |       __hash_enum(__hash_enum&&);
|       ^~~~~~~~~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:83:7: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/14.2.1/bits/functional_hash.h:102:12: error: ‘std::__hash_enum<_Tp,  >::~hash_enum() [with Tp = KDL::Frame; bool  = false]’ is private within this context
102 |     struct hash : hash_enum<Tp>
|            ^~~~
/usr/include/c++/14.2.1/bits/functional_hash.h:84:7: note: declared private here
84 |       ~hash_enum();
|       ^
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:187:1: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
187 | PYBIND11_UNARY_OPERATOR(hash, hash, std::hash()(l))
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h: In instantiation of ‘void pybind11::detail::op<id, ot, L, R>::execute(Class&, const Extra& ...) const [with Class = pybind11::classKDL::Frame; Extra = {}; pybind11::detail::op_id id = pybind11::detail::op_hash; pybind11::detail::op_type ot = pybind11::detail::op_u; L = pybind11::detail::self_t; R = pybind11::detail::undefined_t]’:
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/pybind11.h:1600:19:   required from ‘pybind11::class<type, options>& pybind11::class<type, options>::def(const T&, const Extra& ...) [with T = pybind11::detail::op<pybind11::detail::op_hash, pybind11::detail::op_u, pybind11::detail::self_t, pybind11::detail::undefined_t>; Extra = {}; typename std::enable_if<T::op_enable_if_hook, int>::type  = 0; type = KDL::Frame; options = {}]’
1600 |         op.execute(*this, extra...);
|         ^~~~~~~
/home/user/ros/jazzy/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/frames.cpp:457:14:   required from here
457 |     frame.def(py::hash(py::self));
|     ~^~~~~~~~~~~~
/home/user/ros/jazzy/install/pybind11_vendor/opt/pybind11_vendor/include/pybind11/operators.h:94:28: error: ‘execute’ is not a member of ‘op’ {aka ‘pybind11::detail::op_impl<pybind11::detail::op_hash, pybind11::detail::op_u, KDL::Frame, KDL::Frame, pybind11::detail::undefined_t>’}
94 |         cl.def(op::name(), &op::execute, is_operator(), extra...);
|                            ^~~~~~~~~~~~
make[2]: *** [_deps/python_orocos_kdl-build/CMakeFiles/PyKDL.dir/build.make:90: _deps/python_orocos_kdl-build/CMakeFiles/PyKDL.dir/PyKDL/frames.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:152: _deps/python_orocos_kdl-build/CMakeFiles/PyKDL.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
I have made sure to use the pybind11_vendor ros package, not the system install of pybind11 as mentioned in a previous issue, but still get this issue.

I have made sure to use the pybind11_vendor ros package, not the system install of pybind11 as mentioned in a previous issue, but still get this issue.

This is almost always the cause of this particular problem.  Can you give more information on what platform you are compiling on, and the exact commands you used to pull down Jazzy and compile it?

Currently, I am building on archlinux.  I install  the ros2-arch-deps package, then call rosdep init, rosdep update, then vcs import --input https://raw.githubusercontent.com/ros2/ros2/jazzy/ros2.repos src finally, I call colcon build.  The build goes normally until it gets to this package.  I checked that it did build the pybind11_vendor package first, and I made sure the the system version of pybind11 is not installed.  The files that the error reference are the pybind11_vendor packages that colcon previously built.  I also tried in a clean docker container and get the same errors.

I have met the same issue in Fedora 39 Linux with GCC 14

Revert orocos_kinematics_dynamics  back to version 1.5.1 can fix such issue.
Because std::hash was not added to PyKDL in version 1.5.1

Ah yeah, that actually triggers my memory of what the actual problem is.
And that is that the version of orocos_kinematics_dynamics and python_orocos_kinematics_dynamics have to match (either they both have to be from the system, or they both have to be built from the vendor package).  My advice is to remove any packages related to orocos_kinematics_dynamics from the system, then try again.  It should vendor build orocos_kinematics_dynamics first, then python_orocos_kinematics_dynamics should successfully build.

Turns out I had orocos-kdl from the AUR installed.  I uninstalled it and it seems to be working now!  Thanks!

authors: LikeSmith changyp6 clalancette


text:
How to include poco in package.xml

I have been checking how we include poco in the package.xml across the official ros2 packages.
In same of them:

poco_vendor and rmw_implementation

 <depend>libpoco-dev</depend>
 <depend>poco_vendor</depend>

class_loader, rosidl_typesupport_c and rosidl_typesupport_cpp

  <build_depend>libpoco-dev</build_depend>
  <exec_depend>libpoco-dev</exec_depend>

I think libpoco-dev shouldn't be a <exec_depend> or <depend> because it's just something that we use for building.
the right approach should be something like:
  <build_depend>libpoco-dev</build_depend>
  <exec_depend>poco_vendor</exec_depend>

@wjwwood and @dirk-thomas which are your thoughts?

Closing this issue because poco will be removed from ros2 dependencies https://github.com/ros2/rcutils/issues/216


text:
Tutorial on the use of timers and publisher callbacks

Hello,
I recently had to migrate a motor driver node in ROS2, where the node:

subscribes to Twist messages from a teleop node
publishes a Odometry message at a higher frequency than the Twist messages

After searching extensively, I found out that there were not a lot of online examples that had this kind of publish-subscribe with different frequencies, as most examples have subscriber callback functions that publish messages in the body of the function.
My colleagues and I finally found out that we could use a publish method as a timer callback, and I think it could be great to add a tutorial on the use of timers for that, as it is a problem that is fairly common. Here is an example node that I made in order to find solutions to our problem.
Thanks

https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Py-Publisher-And-Subscriber.html#write-the-publisher-node has an example of using publish in a timer callback.  Is that enough of an example?

IMO, I would like to keep examples and demos as simple as possible to how to call or demonstrate ROS 2 APIs or Features, not so much related to how to write the application.

authors: IamPhytan clalancette fujitatomoya


text:
Low FPS in PointCloud2 visualization

Bug report
Required Info:

Operating System:

Ubuntu 20.04

Installation type:

binary

Version or commit hash:

Foxy
rviz2: 8.2.1-1focal.20210226.004041

DDS implementation:

Fast-RTPS

Client library (if applicable):

rclcpp

Steps to reproduce the issue

Clone my test repository
a. git clone git@github.com:k0suke-murakami/send_lots_of_points_node_ros2.git
Clone pcl_perception
a. git@github.com:ros-perception/perception_pcl.git
b. git checkout foxy-devel
Build
Run
a. rviz2 @Terminal1
b. ros2 run send_lots_of_points_node_ros2 send_lots_of_points_node_ros2 1 200 1000 @Terminal2

Expected behavior
Tested in ROS1(melodic) with similar code (https://github.com/k0suke-murakami/send_lots_of_points_node_ros1)
rosrun send_lots_of_points_node send_lots_of_points_node 1 200 1000
FPS is not low for visualizing 200*1000 points in ROS1. It is around 21FPS.
https://user-images.githubusercontent.com/10920881/110898827-50686b00-8343-11eb-9b17-e864342b4173.mp4
Actual behavior
FPS is almost 0.
https://user-images.githubusercontent.com/10920881/110898799-3fb7f500-8343-11eb-864e-97af48bdae08.mp4
Additional information

We are investigating this at the moment and have some idea why this might be happening


text:
Does VSCode make the colors look more vibrant?

I have just bought a new LG 4K monitor, and notice an issue about the colors. At first I thought that Hyper canvas was making color washed out, then I opened the official website, turned out the palette in VSCode was warmer.
I have no idea how to fix this because when inspecting in VSCode Developer Tool, the colors have the same value :(

The left is VSCode Terminal, the right is Hyper

Seems like VSCode issue, the GitHub workspace has same theme settings but looking different.

Let's close the issue, I will find the answer and report back, in case someone get into this.

It was my monitor problem, sorry for false alert :|

repo: rose-pine/vscode


text:
Use isort to enforce import order

Style guide enforcement is important in OSS projects. isort is a de facto standard tool. The following errors should be fixed and isort should be added to linting and CI.
ERROR: /home/nicholas/git/ross/setup.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/results.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/api_report.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/shaft_element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/materials.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/utils.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/bearing_seal_element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/__init__.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/point_mass.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/disk_element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/rotor_assembly.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/units.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_materials.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_disk_element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_examples.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_fluid_flow.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_api_report.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_bearing_seal_element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_shaft_element.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_units.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_point_mass.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/tests/test_rotor_assembly.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/fluid_flow/fluid_flow.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/fluid_flow/fluid_flow_coefficients.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/ross/fluid_flow/fluid_flow_graphics.py Imports are incorrectly sorted.
ERROR: /home/nicholas/git/ross/docs/conf.py Imports are incorrectly sorted.

cc https://github.com/openjournals/joss-reviews/issues/2120

Hello @nnadeau. Thanks for your reviews!
We have added black and isort modules as dep on our CI's. Now, every time someone do a contribution the CI's will check for inconsistencies based on black and isort.

repo: ross-rotordynamics/ross


text:
polyglot text schema looks wrong

if I in-line define a param name like this:
"button": {
            "type":"INT32",
            "name": {"display_strings": {"en": "Button", "es": "Botón", "fr": "Bouton"}},
            "value": {"int32_value": 0}
        },

the validator fails:
applying: device schema to input file /Users/jnaylor/Projects/Catena/sdks/cpp/connections/gRPC/examples/status_update/device.status_update.json
must NOT have additional properties at /params/button/name/display_strings on lines 68-72
must have required property '$key' at /params/button/name/display_strings on lines 68-72
must match a schema in anyOf at /params/button/name/display_strings on lines 68-72
must NOT have additional properties at /params/button/name/display_strings on lines 68-72
must have required property '$key' at /params/button/name/display_strings on lines 68-72
must match a schema in anyOf at /params/button/name/display_strings on lines 68-72
must match exactly one schema in oneOf at /params/button on lines 65-77
I have to make add a $key like this:
"button": {
            "type":"INT32",
            "name": {"display_strings": {"en": "Button", "es": "Botón", "fr": "Bouton", "$key": "button"}},
            "value": {"int32_value": 0}
        },

weirdly, this validates ok:
        "button": {
            "type":"INT32",
            "name": {"display_strings": {"en": "Button"}},
            "value": {"int32_value": 0}
        },

The issue here is that "fr" hasn't been added to the regex of the language metadata table, so the schema instead interprets it as a language pack reference which requires a "$key"
Assuming this is the expected behavior for language pack references I will leave the schema as is. I will try make the error message more descriptive to avoid confusion in the future.

Good catch! Add fr
Get Outlook for iOShttps://aka.ms/o0ukef

From: johndanenRV @.>
Sent: Thursday, July 25, 2024 3:07:30 PM
To: rossvideo/Catena @.>
Cc: John Naylor @.>; Author @.>
Subject: [EXTERNAL] Re: [rossvideo/Catena] polyglot text schema looks wrong (Issue #216)
The issue here is that "fr" hasn't been added to the regex of the language metadata table, so the schema instead interprets it as a language pack reference which requires a "$key"
Assuming this is the expected behavior for language pack references I will leave the schema as is. I will try make the error message more descriptive to avoid confusion in the future.
—
Reply to this email directly, view it on GitHubhttps://github.com/rossvideo/Catena/issues/216#issuecomment-2251308063, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6R5EENFAHBOJ4UBGROZFWDZOFLIFAVCNFSM6AAAAABLPBHUDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGMYDQMBWGM.
You are receiving this because you authored the thread.Message ID: @.***>

This e-mail and any attachments may contain information that is confidential to Ross Video.
If you are not the intended recipient, please notify me immediately by replying to this message. Please also delete all copies. Thank you.

and language_pack_reference needs an "additional_properties": false in the schema.

authors: johndanenRV mejohnnaylor

repo: rossvideo/Catena


text:
NeoForge Request

Hey, its me from the YouTube comments lol :). I was hoping that you could make this mod NeoForge compatible as I run a small MC server and I cant find anything like this for 1.21 NeoForge. Tysm <3

While I normally never port to other mod loaders, I do consider it for this project in particular as it is so small, and I think I would be a good first NeoForge mod.

Yay! Tysm, I feel as though mods are usually one side or another. For example I was using regular forge for my server, however, I could not find any automatic world backup mods so I had to switch to neoforge to use simple backups, now that I'm on neoforge i cant find any pvp toggle mods. Its SO annoying.

Yea, I will see what I can do.

@Napll3 Hi, sorry for not working on this. I'm a bit stressed bc of school and work, so I have to prioritize/deprioritize some stuff. If I have time, ill work on it this weekend.

repo: rotgruengelb/pvpgamerule


text:
[Feature] :: Add flat option to recurse getFormErrors method.

@dgbeck this PR adds the flat option for getFormErrors.

@dgbeck updated. Please check. Thanks!

published in version 1.1.0. thx!

authors: dgbeck gonzae

repo: rotundasoftware/modui-field


text:
how to unselect tab programmatically

BottomBar has a method unselectTab method which is private. In my project i have a navigation drawer which has 15 sets of items, and bottom bar which has 5 among them. On selecting the item from navigation drawer , which are not in the bottom bar i would like to unselect the tabs from bottom bar. Currently there is no method to do so. I have tried selecting an out of range tab position , but it doesnt help. Please suggest

Even I'm facing the same issue.Not able to unselect the tabs from bottom bar. I tried selecting out of range value, but it didn't help.
Please suggest

Can anyone suggest . Is it possible to unselect all or specific tab ?

There's no "unselected all" functionality planned for now.

I think this is needed too 👍

authors: SanPinto deepti1408 jcrooke roughike

repo: roughike/BottomBar


text:
🛑 Fossil based IRC Log is down

In 1c5b742, Fossil based IRC Log (https://rouilj.dynamic-dns.net/fossil/roundup_irc_logs/doc/trunk/log/roundup/) was down:

HTTP code: 503
Response time: 390 ms

Resolved: Fossil based IRC Log is back up in e88c9d7 after 21 minutes.

repo: rouilj/RoundupAssets


text:
🛑 NGX Slice Kit is down

In 5052afb, NGX Slice Kit (https://slice.rovergulf.net) was down:

HTTP code: 403
Response time: 73 ms

Resolved: NGX Slice Kit is back up in 7106c73.

repo: rovergulf-ops/health


text:
website

Would you be open to the idea of offering this list in the form of a GitHub Pages hosted website? From my perspective, it could be as simple as the README being rendered to HTML format. But this would allow us to make a fancier website/app in the future (e.g. a searchable index) and perhaps even assign a friendlier URL, such as libs.purescri.pt via PureScript Domains.

Yes, it is a good idea. I'll do that when I have time.

Would you be open to the idea of offering this list in the form of a GitHub Pages hosted website? From my perspective, it could be as simple as the README being rendered to HTML format. But this would allow us to make a fancier website/app in the future (e.g. a searchable index) and perhaps even assign a friendlier URL, such as libs.purescri.pt via PureScript Domains.

that's a cool idea!

authors: gbagan nsaunders sigma-andex

repo: rowtype-yoga/awesome-purescript